{% 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 %}
| Chasis | {#Marca | #} {#Modelo | #}Transportista | 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 %} |