{% if manageCashpoint is not null %} {% if manageCashpoint.typeStatusManageCashpoint.id == constant('CoreBundle\\Entity\\TypeStatusManageCashpoint::ID_STATUS_TO_OPENEND') %}
TOTAL INGRESOS

{{ (total - manageCashpoint.getAmountOpen) | number_format(2, '.', '') }}€

{{ manageCashpoint.cashpoint.name }}

Fecha apertura: {{ manageCashpoint.dateOpen | date('d/m/Y G:i') }}
Nº Operaciones:
{{ manageCashpoint.sales | length }}
Ingresos en Metálico:
{{ cash | number_format(2, '.', '') }}€
Ingresos en Tarjeta:
{{ card | number_format(2, '.', '') }}€
Importe apertura:
{{ manageCashpoint.getAmountOpen | number_format(2, '.', '') }}€
Total en metálico en caja:
{{ totalCashInManageCashpoint | number_format(2, '.', '') }}€
{% if roleRight == true %} {% endif %}
{% endif %} {% if manageCashpoint.typeStatusManageCashpoint.id == constant('CoreBundle\\Entity\\TypeStatusManageCashpoint::ID_STATUS_TO_CLOSED') %} {% if roleRight == true %}
CERRADA

{{ total | number_format(2, '.', '') }}€

{{ cashpoint.name }}

Fecha de cierre: {{ manageCashpoint.dateClose | date('d/m/Y G:i') }}
Nº Operaciones:
{{ manageCashpoint.sales | length }}
Ingresos en Metálico:
{{ cash | number_format(2, '.', '') }}€
Ingresos en Tarjeta:
{{ card | number_format(2, '.', '') }}€
{% else %}
No tiene permiso para ver la caja: {{ manageCashpoint.cashpoint.name }}
{% endif %} {% endif %} {% endif %}