{% extends 'base.html.twig' %} {% block js_document_ready %} $('#datatable').dataTable({ filter : false, language: { "url": "//cdn.datatables.net/plug-ins/1.10.16/i18n/Spanish.json" }, aLengthMenu: "", 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": "acciones", render: function(data, type, row, meta) { if (type === 'display') { if(data['urlSeleccionar'] != null) { $botones = [ ' ', 'note_add', ' ' ].join(''); } else { $botones = [ ' ', 'note_add', ' ' ].join('') } return $botones; } return data; }, }, ], order: [[ 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": "accion", "searchable": false, "orderable": false, "targets": 4 }, ], "displayStart": {{ informe == 'psiquiatrico' ? (app.session.get(constant('App\\Controller\\Examenes\\ExamenController::FORM_CONSULTA_EXAMEN_EXAMINANDOS_PSIQUIATRICO_START')) ?? 0) : (app.session.get(constant('App\\Controller\\Examenes\\ExamenController::FORM_CONSULTA_EXAMEN_EXAMINANDOS_PSICOLOGICO_START')) ?? 0) }}, serverSide: true, processing: true, ajax: { url: '{{ path('examenes_examinandos_datos', {'tomaExamenFecha': tomaExamenFecha.id, informe: informe}) }}', type: 'POST' } {# , 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 resultado en la tabla fechaCell1.hide(); }); } #} }); // 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(""); form.submit(); }); {% endblock %} {% block breadcrumb %} {% endblock %} {% block titulo_body %}
history_edu
{{tomaExamenFecha.tomaExamen.convocatoriaExamen1.cargo|capitalize ~ (tomaExamenFecha.tomaExamen.convocatoriaExamen2 ? " - " ~ tomaExamenFecha.tomaExamen.convocatoriaExamen2.cargo|capitalize : "") }}

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 body %}
{% if tomaExamenFecha.territorialidad is not empty %}

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

{% endif %}

place {{tomaExamenFecha.lugar|capitalize}}

description Acta: {% if tomaExamenFecha.numeroActa is not null %} {{tomaExamenFecha.numeroActa }} {% else %} Sin Definir {% endif %}

 
{{ 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 not (v.vars.value == "" or v.vars.value == []))) | length > 0 %}
{% endif %} {{ form_end(form) }}
Apellidos Nombres DNI
{% endblock %} {% block javascripts %} {{ parent() }} {% endblock %}