{% extends 'base.html.twig' %} {% block js_document_ready %} {{ parent() }} {# Mensajes flash/alerts #} {% for label, messages in app.flashes %} {% for message in messages %} {# M.toast({ html: '{{ message }}', {% if label == 'notice' %} classes: 'card-panel teal lighten-2 {{ label }}', {% elseif label == 'error' %} classes: 'card-panel red lighten-2 {{ label }}', {% endif %} }) #} Swal.fire('{{ message }}'); {% endfor %} {% endfor %} $('.datepicker').datepicker({ autoClose: true, showClearBtn: true, format: 'dd/mm/yyyy', container: 'body', onDraw: function () { // materialize select dropdown not proper working on mobile and tablets so we make it browser default select $('.datepicker-container').find('.datepicker-select').addClass('browser-default'); $(".datepicker-container .select-dropdown.dropdown-trigger").remove() } }); $('#datatable').dataTable({ "language": { "url": "//cdn.datatables.net/plug-ins/1.10.16/i18n/Spanish.json" }, "aLengthMenu": "", bAutoWidth: false }); $('.reabrir_ria').click( function (e) { var v_href = $(this).data('path-reabrir'); $('#btn_reabrir_ria').attr('href', v_href); console.debug($('#btn_reabrir_ria')); $('#modalReabrir').modal({}); $('#modalReabrir').modal('open'); } ); {% endblock %} {% block dialogos_modales %}
# | Fecha de inicio | Estado | Fecha de envío | Acciones |
---|---|---|---|---|
{{ presentacion }} | {{ presentacion.fechaInicio ? presentacion.fechaInicio|date('d/m/Y H:i') : '' }} | {{ presentacion.fechaEnvio ? presentacion.fechaEnvio|date('d/m/Y H:i') : '--' }} | visibility {% if presentacion.estado != constant('App\\Entity\\RIA\\PresentacionAntecedentes::ESTADO_BORRADOR') %} print {% if mostrarReabrir %} {% endif %} {% endif %} | |
No se encontraron registros |