{% extends 'base.html.twig' %} {% block js_document_ready %} $('#datatable').dataTable({ pageLength: 15, dom: 'Bfrtip', buttons: [ { extend: 'excel', title: '{{convocatoriaExamen.convocatoria.titulo ~ ' - ' ~ convocatoriaExamen.cargo ~ ' - Prov. de Buenos Aires' }}', text: 'Excel description', titleAttr: 'Descargar Excel', exportOptions: { columns: ':visible' } }, { extend: 'pdf', title: '{{convocatoriaExamen.convocatoria.titulo}}', messageTop: ' Cargo : {{convocatoriaExamen.cargo}}' + '\n' + 'Territorio : Prov. de Buenos Aires', text: 'PDF picture_as_pdf', titleAttr: 'Descargar PDF', exportOptions: { columns: ':visible' } }, 'colvis' ], filter : false, language: { "url": "//cdn.datatables.net/plug-ins/1.12.1/i18n/es-ES.json" }, aLengthMenu: "", bAutoWidth: false, "columns": [ { "data": "apellidos" }, { "data": "nombres" }, { "data": "dni" }, { "data": "telefono" }, { "data": "email" }, { "data": "estado" }, {# { "data": "notificado" }, { "data": "confirmado" }, { "data": "fechaRespuesta" }, #} ], order: [[ 0, 'asc' ]], columnDefs: [ // These are the column name variables that will be sent to the server { "name": "dp.apellidos", "targets": 0 }, { "name": "dp.nombres", "targets": 1 }, { "name": "dp.dni", "targets": 2 }, { "name": "dp.telefono", "targets": 3 }, { "name": "dp.email", "targets": 4 }, { "name": "i.estado", "targets": 5 }, {# { "name": "notificado", "targets": 6 }, { "name": "confirmado", "targets": 7 }, { "name": "nae.fechaHoraRespuesta", "targets": 8 }, #} ], {# "displayStart": {{ app.session.get(constant('App\\Controller\\Notificacion\\NotificacionUsuarioController::FORM_CONSULTA_NOTIFICACION_USUARIO_STAR')) ?? 0 }}, #} serverSide: false, processing: true, ajax: { url: '{{ path('detalle_inscriptos_provincia_datos', {'convocatoriaExamen': convocatoriaExamen.id}) }}', type: 'POST' } }); // 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(); }); {% endblock %} {% block breadcrumb %}
{% endblock %} {% block titulo_body %}Apellido/s | Nombre/s | DNI | Estado Inscripción | {# #}
---|