{% extends 'base.html.twig' %} {% block breadcrumb %} {% endblock %} {% block titulo_body %}
history_edu
{{tomaExamenFecha.tomaExamen.convocatoriaExamen1.cargo|capitalize ~ (tomaExamenFecha.tomaExamen.convocatoriaExamen2 ? " - " ~ tomaExamenFecha.tomaExamen.convocatoriaExamen2.cargo|capitalize : "") }}

Seleccione Examinando del Examen del {{tomaExamenFecha.fecha|format_datetime(pattern="eeee dd 'de' LLLL 'de' Y ", locale='es_AR') |capitalize}} {{tomaExamenFecha.fecha|format_datetime(pattern="HH:mm", locale='es_AR')}} hs


{% endblock %} {% block javascripts %} {{ parent() }} {# #} {% endblock %} {% block js_document_ready %} $('#datatable').dataTable({ filter : false, language: { "url": "//cdn.datatables.net/plug-ins/1.10.16/i18n/Spanish.json" }, aLengthMenu: "", pageLength: 50, bAutoWidth: false, "columns": [ { "data": "foto", render: function(data, type, row, meta) { if (type === 'display') { foto = [ '', ].join(''); return foto; } return data; }, }, { "data": "apellidos" }, { "data": "nombres" }, { "data": "dni" }, { "data": "presentismo" }, { "data": "resultado" }, { "data": "nota" }, { "data": "acciones" , render: function(data, type, row, meta) { if (type === 'display') { if(data['resultado'] == 'Desaprobado' || data['resultado'] == '--'){ $botones = [ ' ', 'person_add', ' ', ].join(''); } else { if (data['urlEdit']) { $botones = [ ' ', 'edit', ' ', ].join(''); } else { $botones = [ ' ', 'person_add', ' ', ].join(''); } } return $botones; } return data; }, }, ], order: [[5, 'asc'],[ 1, 'asc' ]], columnDefs: [ // These are the column name variables that will be sent to the server { "name": "foto", "searchable": false, "orderable": false, "targets": 0 }, { "name": "dp.apellidos", "targets": 1 }, { "name": "dp.nombres", "targets": 2 }, { "name": "dp.dni", "targets": 3 }, { "name": "e.presente", "targets": 4 }, { "name": "resultado", "targets": 5 }, { "name": "e.nota", "targets": 6 }, { "searchable": false, "orderable": false, "targets": 7 }, ], "displayStart": 0, serverSide: true, processing: true, ajax: { url: '{{ path('examenes_examinandos_datos', {'tomaExamenFecha': tomaExamenFecha.id, 'idView_orden': orden.idView}) }}', type: 'POST' } {% if tomaExamenFecha.numeroActa is null %} , fnDrawCallback: function( oSettings ) { // Ocultar columnas si no esta seteada el numero de acta $('#datatable tbody tr').each(function() { var fechaCell1 = $(this).find('td:eq(3)'); // Columna del presentismo en la tabla var fechaCell2 = $(this).find('td:eq(4)'); // Columna de aprobacion en la tabla var fechaCell3 = $(this).find('td:eq(5)'); // Columna de la nota en la tabla fechaCell1.hide(); fechaCell2.hide(); fechaCell3.hide(); }); } {% endif %} }); // the "href" attribute of the modal trigger must specify the modal ID that wants to be triggered $('select').formSelect(); var select = $('select'); $('.limpiar').click(function(){ $("input[type=text]").val(""); select.prop('selectedIndex', 0); //Sets the first option as selected select.material_select(); //Update material select form.submit(); }); {# $('.modal').modal({ dismissible: false, }); #} {% endblock %} {% block dialogos_modales %} {% endblock %} {% block body %}
{% if tomaExamenFecha.territorialidad is not empty %}

Territorio: {{tomaExamenFecha.territorialidad|join(", ") }}

{% endif %}

place {{tomaExamenFecha.lugar|capitalize}}

 
 
{{ form_start(form) }}
{{ form_label(form.textoBusqueda) }} {{ form_widget(form.textoBusqueda) }}
{{ form_label(form.dni) }} {{ form_widget(form.dni) }}
{% if form.children | filter(v => (v.vars.name != "_token" and v.vars.value != "")) | length > 0 %}
{% endif %} {{ form_end(form) }}
{% if tomaExamenFecha.examinandos is not empty %} {% if tomaExamenFecha.numeroActa is not null %} {% endif %} {% if tomaExamenFecha.numeroActa is not null %} {% endif %}
Apellidos Nombres DNIAsistencia Resultado NotaAcciones
{% endif %}
{% endblock %}