{% extends 'base.html.twig' %} {% block js_document_ready %} $('#datatable').dataTable({ createdRow: function(row, data, dataIndex) { $(row).css({"background-color":"transparent"}); }, filter : false, language: { "url": "//cdn.datatables.net/plug-ins/1.10.16/i18n/Spanish.json" }, aLengthMenu: "", bAutoWidth: false, "columns": [ { "data": "imagen", render: function(data, type, row, meta) { {# console.debug(data); #} if (type === 'display') { imagen = [ '', ].join(''); return imagen; } return data; }, }, { "data": "nombre_apellido" }, { "data": "dni" }, { "data": "fecha_entrevista" }, { "data": "cargo" }, { "data": "psicologico"} ], order: [[ 1, 'asc' ]], columnDefs: [ // These are the column name variables that will be sent to the server { "name": "imagen", "searchable": false, "orderable": false, "targets": 0 }, { "name": "dp.apellidos", "targets": 1 }, { "name": "dp.dni", "targets": 2 }, { "name": "i.fechaEntrevista", "targets": 3 }, { "name": "carg.nombre", "orderable": false, "targets": 4 }, { "name": "i.psicologico", "orderable": false, "targets": 5 }, ], "displayStart": {{ app.session.get(constant('App\\Controller\\Personal\\PsicologoController::FORM_PSICOLOGO_CONSULTA_INFORME_PSICOLOGICO_START')) ?? 0 }}, serverSide: true, processing: true, ajax: { url: '{{ path('psicologos_informes_psicologicos_datos', {idView:psicologo.idVIew}) }}', type: 'POST' } }); // the "href" attribute of the modal trigger must specify the modal ID that wants to be triggered {# $('.modal1').modal(); #} $('select').formSelect(); {% endblock %} {% block breadcrumb %} {% endblock %} {% block titulo_body %}
subject

{{ psicologo.persona.nombres }} {{psicologo.persona.apellidos}}

{% endblock %} {% block body %} {{ include('bd_personas/datos_personales.html.twig', {'persona' : psicologo.persona}) }}
{{ form_start(form) }}
{{ form_label(form.textoBusqueda) }} {{ form_widget(form.textoBusqueda) }}
{{ form_label(form.dni) }} {{ form_widget(form.dni) }}
{{ form_label(form.fechaEntrevista) }} {{ form_widget(form.fechaEntrevista) }}
{# {{ form_label(form.cargos) }} #} {{ form_widget(form.cargos) }}
{% if form.children | filter(v => (v.vars.name != "_token" and not (v.vars.value == "" or v.vars.value == []))) | length > 0 %} {% endif %} {{ form_end(form) }}

Apellido y Nombre DNI Fecha de la Entrevista Cargo Psicológico

Volver al listado undo {% endblock %}