{% extends 'base.html.twig' %} {% block title %}Caja{% endblock %} {% block body %}
| Id | {{ caja.id }} | Fecha Apertura | {{ caja.fecha ? caja.fecha|date('d/m/Y H:i') : '' }} | {% if is_granted('ROLE_GERENCIA') %}Monto Inicial | {{ caja.efectivoInicio }} | {% endif %}
|---|---|---|---|---|---|
| Abrió Usuario | {{ caja.usuarioabre }} | Fecha Cierre | {{ caja.fechacierre ? caja.fechacierre|date('d/m/Y H:i') : '' }} | {% if is_granted('ROLE_GERENCIA') %}Monto Cierrre | {{ caja.efectivoCierre }} | {% endif %}
| Usuario Cierra | {{ caja.usuariocierra }} |
| Medio Pago | Monto | |
|---|---|---|
| {{ mediopagonombre }} | {% if mediopagomonto < 0 %}{% else %} | {% endif %} {{ mediopagomonto }} |
| {{ mediopagonombre }} | {% if mediopagomonto < 0 %}{% else %} | {% endif %} {{ mediopagomonto }} |
| Acciones | Id | Fecha | Monto | Rubro | Tipo Movimiento | Medio de Pago | {#Comprobante | #}Un. Negocio | Usuario |
|---|---|---|---|---|---|---|---|---|---|
| {# aca pregunto si el medio de pago es CHEQUE y no esta cargado el cheque y el movimiento no es de corrección de caja, entonces muestro el boton para cargar los datos del cheque#} {% if ((movimiento.cheque is null) and (movimiento.MedioPago == "CHEQUE")) %} {% if (movimiento.tipoMovimiento.id != constant('App\\Entity\\TipoMovimiento::COBRO_CHEQUE')) %} {% if movimiento.tipoMovimiento.rubroMovimiento.tipoOperacion == 1 %}  Cheque {% else %}  Cheque {% endif %} {% endif %} {% elseif (movimiento.cheque is not null) and (movimiento.MedioPago == "CHEQUE")%}  Cheque {% endif %} | {{ movimiento.id }} | {{ movimiento.fecha | date('d/m/Y H:i') }} | {% if movimiento.tipoMovimiento.rubroMovimiento.tipoOperacion == -1 %}{% else %} | {% endif %} {{ movimiento.monto }} | {{ movimiento.tipoMovimiento }} - {{ movimiento.descripcion }} {% if movimiento.caso is not null %}  Caso {{ movimiento.caso.id }} {% endif %} | {{ movimiento.medioPago }} {{ movimiento.tipoComprobante }} - {{ movimiento.nroComprobante }} |
{{ movimiento.unidadNegocio }} | {{ movimiento.createdBy }} | |
| {# aca pregunto si el medio de pago es CHEQUE y no esta cargado el cheque y el movimiento no es de corrección de caja, entonces muestro el boton para cargar los datos del cheque#} {% if ((movimiento.cheque is null) and (movimiento.MedioPago == "CHEQUE")) %} {% if (movimiento.tipoMovimiento.id != constant('App\\Entity\\TipoMovimiento::COBRO_CHEQUE')) %} {% if movimiento.tipoMovimiento.rubroMovimiento.tipoOperacion == 1 %}  Cheque {% else %}  Cheque {% endif %} {% endif %} {% elseif (movimiento.cheque is not null) and (movimiento.MedioPago == "CHEQUE")%}  Cheque {% endif %} | {{ movimiento.id }} | {{ movimiento.fecha | date('d/m/Y H:i') }} | {% if movimiento.tipoMovimiento.rubroMovimiento.tipoOperacion == -1 %}{% else %} | {% endif %} {{ movimiento.monto }} | {{ movimiento.tipoMovimiento }} - {{ movimiento.descripcion }} {% if movimiento.caso is not null %}  Caso {{ movimiento.caso.id }} {% endif %} | {{ movimiento.medioPago }} {{ movimiento.tipoComprobante }} - {{ movimiento.nroComprobante }} |
{{ movimiento.unidadNegocio }} | {{ movimiento.createdBy }} |