{% 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": "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": "nombreCargo" }, { "data": "fechaInscripcion" }, { "data": "estado" }, { "data": "estadoRevision" }, { "data": "acciones" , render: function(data, type, row, meta) { if (type === 'display') { $botones = [ '', 'how_to_reg', '', ].join(''); $botones += [ ' ', 'print', ' ', ].join(''); return $botones; } return data; }, }, ], 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.nombres", "targets": 1 }, { "name": "dp.dni", "targets": 2 }, { "name": "nombreCargo", "targets": 3 }, { "name": "fechaInscripcion", "targets": 4 }, { "name": "i.estado", "targets": 5 }, { "name": "estadoRevision", "searchable": false, "targets": 6 }, { "searchable": false, "orderable": false, "targets": 7 }, ], "displayStart": {{ app.session.get(constant('App\\Controller\\Inscripciones\\InscripcionController::FORM_CONSULTA_INSCRIPCION_STAR')) ?? 0 }}, serverSide: true, processing: true, ajax: { url: '{{ path('inscripciones_datos', {'convocatoria': inscripcions[0].convocatoriaExamen.convocatoria.id}) }}', type: 'POST' } }); // the "href" attribute of the modal trigger must specify the modal ID that wants to be triggered {# $('.modal1').modal(); #} $('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(); }); {% endblock %} {% block breadcrumb %} {% endblock %} {% block titulo_body %}
list

Listado de Inscriptos a {{inscripcions[0].convocatoriaExamen.convocatoria.titulo|upper}}

{% endblock %} {% block body %}
{{ form_start(form) }}
{{ form_label(form.textoBusqueda) }} {{ form_widget(form.textoBusqueda) }}
{{ form_label(form.dni) }} {{ form_widget(form.dni) }}
{{ form_label(form.cargos) }} {{ form_widget(form.cargos) }}
{{ form_label(form.estado) }} {{ form_widget(form.estado) }}
{{ form_end(form) }}

Nombre y Apellido DNI Cargo Fecha Estado Estado RevisiĆ³n Acciones
{% endblock %}