{% extends 'base.html.twig' %} {% block title%} WONDER-T-Nal Vehículos {% endblock %} {% block titulo %} GESTIÓN DE REGISTRO DE VEHÍCULOS ASIGNADOS {% endblock %} {% block bread %} T-Nal Reg.Vehículos {% endblock %} {% block body %}
{#{% if is_granted('ROLE_SUPER')%}#}
{% include 'messages/success.html.twig' %} {% include 'messages/danger.html.twig' %}

LISTADO DE VEHÍCULOS ASIGNADOS

Proceso del {{ tNacional.fechainicio|date('d-m-Y') }} Empresa: {{ tNacional.idempresa }} Origen: {{ tNacional.idorigen }} Destino: {{ tNacional.iddestino }}
{% if is_granted('ROLE_ADMINISTRADOR') or is_granted('ROLE_TECNICO') or is_granted('ROLE_RECEPCION')%} Agregar Registro {% endif %} Volver

{# #} {# #} {% set indice = 0 %} {% for entity in tregnals %} {# #} {# #} {# {% set submit_url = path('new_despacho', { 'idregnal': entity.idregnal, 'idnacional': idnacional }) %}#} {# {% include 'tregnal/salida_modal.html.twig' with {url: submit_url} %}#} {{ render(controller('App\\Controller\\TregnalController:new_adjuntar', {'idregnal': entity.idregnal, 'idnacional': idnacional})) }} {{ render(controller('App\\Controller\\TregnalController:new_despacho', {'idregnal': entity.idregnal, 'idnacional': idnacional})) }} {{ render(controller('App\\Controller\\TregnalController:new_entrega', {'idregnal': entity.idregnal, 'idnacional': idnacional})) }} {# {{ render(controller('App\\Controller\\TregnalController:new_pago', {'idregnal': entity.idregnal, 'idnacional': idnacional})) }}#} {% set indice = indice + 1 %} {% endfor %}
ChasisMarcaModeloTransportista Observaciones Estado Fecha de Salida Fecha de Entrega Fecha de Pago Dcto. Bs. Pagado Bs. Factura Acciones
{{ entity.chasis }}{{ entity.marca }}{{ entity.modelo }}{{ entity.nombres }} {{ entity.observaciones }} {{ entity.descripcion }} {% if entity.fechasalida|date('d-m-Y') != '01-01-1980' %} {{ entity.fechasalida|date('d-m-Y') }} {% endif %} {% if entity.fechaentrega|date('d-m-Y') != '01-01-1980' %} {{ entity.fechaentrega|date('d-m-Y') }} {% endif %} {% if entity.fechapago|date('d-m-Y') != '01-01-1980' %} {{ entity.fechapago|date('d-m-Y') }} {% endif %} {{ entity.descuento|number_format(2, '.', ',') }} {{ entity.montopagado|number_format(2, '.', ',') }} {% if entity.factura != 0 %} F-{{ entity.factura }} {% else %}

_ _ _

{% endif %}
{# #} {% if is_granted('ROLE_ADMINISTRADOR')%} {% endif %} {% if is_granted('ROLE_TECNICO') and habilitaEdicion[indice] %} {% endif %} {% if is_granted('ROLE_ADMINISTRADOR')%} {% endif %} {% if (is_granted('ROLE_TECNICO') or is_granted('ROLE_RECEPCION')) and entity.descripcion == 'Recepcionado' %} {% elseif (is_granted('ROLE_TECNICO') or is_granted('ROLE_RECEPCION')) and entity.descripcion == 'Despachado' %} {% elseif (is_granted('ROLE_TECNICO')) and entity.descripcion == 'Entregado' %} {# #} Pagar {% endif %} {# SOLO PARA ADMINISTRADORES#} {% if (is_granted('ROLE_ADMINISTRADOR')) %} {# #} Pagar {% endif %} {% if (is_granted('ROLE_ADMINISTRADOR') or is_granted('ROLE_TECNICO')) and entity.fechasalida|date('d-m-Y') != '01-01-1980' %} {% endif %}
{#{% endif %}#}
{{ include ('forms/delete.html.twig', { form: delete_form_ajax, message: 'Estás seguro de borrar el registro?', id:'form-delete', with_submit:false }) }} {% endblock %} {% block javascripts %} {# #} {% endblock %}