{% form_theme formBasic 'bootstrap_3_layout.html.twig' %}
{{ form_start(formBasic, {'attr': {'id': 'manageCashpointFormBasic'}}) }}
{{ form_errors(formBasic) }}
{% endif %}
CONTROL DE CAJA
{% if manageCashpoint.alias is not null %} COD-Control de caja: {{ manageCashpoint.alias }} {% endif %}
Caja: {{ manageCashpoint.cashpoint.name }}
Tienda: {{ manageCashpoint.cashpoint.shop.name }}
Fecha de apertura: {{ manageCashpoint.dateOpen | date ('d/m/Y G:i') }}
Usuario: {{ manageCashpoint.userOpen.name }}
{% if manageCashpoint.id is not null %}{{ render (controller('CoreBundle:ManageCashpoint:_manageCashpointStateIndicator',{ 'manageCashpointId': manageCashpoint.id })) }}
{% endif %} {% if manageCashpoint.typeStatusManageCashpoint.id == constant('CoreBundle\\Entity\\TypeStatusManageCashpoint::ID_STATUS_TO_CLOSED') %}
Descuadre metalico:
{{ manageCashpoint.fixCashAmount | number_format(2, '.', '') }}€
Descuandre Tarjeta:
{{ manageCashpoint.fixCardAmount | number_format(2, '.', '') }}€
Total descuadre al cierre:
{{ (manageCashpoint.fixCardAmount + manageCashpoint.fixCashAmount) | number_format(2, '.', '') }}€
Total descuadre en apertura:
{{ (manageCashpoint.fixAmountOpen) | number_format(2, '.', '') }}€
Dinero en apertura de caja:
{{ manageCashpoint.amountOpen | number_format(2, '.', '') }}€
Total operaciones realizadas:
{{ manageCashpoint.sales | length }}
Total ingresos en metálico:
{% if isInstantiate %}
{{ (cashAmount) | number_format(2, '.', '') }}€
{% else %}
0€
{% endif %}
Total ingresos en tarjeta:
{% if isInstantiate %}
{{ cardAmount | number_format(2, '.', '')
}}€
{% else %}
0€
{% endif %}
Total ingresos transferencias:
{{ manageCashpoint.incomeReceivedByTransfer | number_format(2, '.', '') }}€
{% set totalSaleExpenses = 0 %}
{% for saleExpenses in manageCashpoint.salesExpenses %}
{% set totalSaleExpenses = totalSaleExpenses + saleExpenses.ammount %}
{% endfor %}
{% if totalSaleExpenses > 0 %}
Total gastos de caja:
{{ totalSaleExpenses | number_format(2, '.', '') }}€
{% endif %}
Total sobrante por devolución:
{{ (totalPathSales * -1 ) | number_format(2, '.', '') }}€
{% if salesWithGiftCardRedeemed > 0 %}
Tarjetas de regalo canjeadas:
{{ salesWithGiftCardRedeemed }}
{% endif %}
Total ingresos en caja:
{% if isInstantiate %} {{ (cardAmount + cashAmount) | number_format(2, '.', '') }}€ {% else %} 0€ {% endif %}
Total en caja en metálico:
{% if isInstantiate %}
{{ (manageCashpoint.amountOpen + cashAmount - manageCashpoint.getTotalSaleExpenses()) | number_format(2, '.', '') }}€
{% else %}
0€
{% endif %}
Total ingresos por reservas:
{% if isInstantiate %}
{{ (reserveAmount) | number_format(2, '.', '') }}€
{% else %}
0€
{% endif %}
Importe {% if manageCashpoint.typeStatusManageCashpoint.id == constant('CoreBundle\\Entity\\TypeStatusManageCashpoint::ID_STATUS_TO_OPENEND') %} provisional de cierre: {% elseif manageCashpoint.typeStatusManageCashpoint.id == constant('CoreBundle\\Entity\\TypeStatusManageCashpoint::ID_STATUS_TO_CLOSED') %} cierre de caja: {% endif %}
{% if isInstantiate %} {% if manageCashpoint.typeStatusManageCashpoint.id == constant('CoreBundle\\Entity\\TypeStatusManageCashpoint::ID_STATUS_TO_OPENEND') %} {{ (manageCashpoint.amountOpen + cardAmount + cashAmount - manageCashpoint.totalSaleExpenses) | number_format(2, '.', '') }}€ {% elseif manageCashpoint.typeStatusManageCashpoint.id == constant('CoreBundle\\Entity\\TypeStatusManageCashpoint::ID_STATUS_TO_CLOSED') %} {{ manageCashpoint.amountClose | number_format(2, '.', '') }}€ {% endif %} {% else %} 0€ {% endif %}
Ganancia:
{% if manageCashpoint.gainClosed != 0 %}
{{ (manageCashpoint.gainClosed) | number_format(2, '.', '') }}€
{% else %}
-
{% endif %}
{{ form_row(formBasic.id, { 'attr': {'tabindex': '1'} }) }}
{{ form_row(formBasic.group, { 'attr': {'tabindex': '2'} }) }}
{{ form_end(formBasic) }}
APERTURA DE CAJA
{{ form_row(formBasic.amountOpen, { 'attr': {'tabindex': '6'} }) }}
{{ form_row(formBasic.fixAmountOpen, { 'attr': {'tabindex': '6'} }) }}
CIERRE DE CAJA
{{ form_row(formBasic.cashAmount, { 'attr': {'tabindex': '6'} }) }}
{{ form_row(formBasic.fixCashAmount, { 'attr': {'tabindex': '6'} }) }}
{{ form_row(formBasic.cardAmount, { 'attr': {'tabindex': '6'} }) }}
{{ form_row(formBasic.fixCardAmount, { 'attr': {'tabindex': '6'} }) }}
{{ form_row(formBasic.amountClose, { 'attr': {'tabindex': '6'} }) }}
{{ form_row(formBasic.fixAmountClose, { 'attr': {'tabindex': '6'} }) }}
{{ form_row(formBasic.extractMoneyUser) }}
{{ form_row(formBasic.extractMoneyAmount, { 'attr': {'tabindex': '6'} }) }}
{{ form_row(formBasic.incomeReceivedByTransfer, { 'attr': {'tabindex': '6'} }) }}
{{ form_row(formBasic.observations, { 'attr': { 'tabindex' : '7'} }) }}
{% if manageCashpoint.typeStatusManageCashpoint.id == constant('CoreBundle\\Entity\\TypeStatusManageCashpoint::ID_STATUS_TO_OPENEND') %}
{% endif %}
{% if isInstantiate and manageCashpoint.typeStatusManageCashpoint.id == constant('CoreBundle\\Entity\\TypeStatusManageCashpoint::ID_STATUS_TO_CLOSED') and manageCashpoint.group.groupConfiguration.isEnabledModifyMC == false %}
CIERRE DE CAJA
{% if manageCashpoint.typeStatusManageCashpoint.id == constant('CoreBundle\\Entity\\TypeStatusManageCashpoint::ID_STATUS_TO_CLOSED') %}
Atención !!!
Esta es la información relativa al momento del Cierre de Caja. Si se han hecho cambios a posteriori, como ediciones de pago..etc. éstos no se contemplarán.
{% endif %}
{{ manageCashpoint.textBinnacle | raw }}
Fecha de inicio | Fecha de completado | Cod.Venta | Vendedor | Nº Artículos | Forma de pago | Descuento | Total de venta | Total de Ingreso | Sobrante por devolución | Estado | Acciones | |
---|---|---|---|---|---|---|---|---|---|---|---|---|
{{ obj.createdAt | date('Y-m-d') }}{{ obj.createdAt | date('d-m-Y \\a \\l\\a\\s H:i:s') }} | {% if obj.completionDate is not null %} {{ obj.completionDate | date('d-m-Y \\a \\l\\a\\s H:i:s') }} {% else %} --- {% endif %} | {{ obj.getalias }} | {% if obj.user %} {{ obj.user.getName }} {% else %} --- {% endif %} | {{ obj.saleElement | length }} | {{ render(controller('CoreBundle:SalesPoint:getPaymentMethodsFromSale', { 'sale' : obj.id })) }} | {{ (obj.getTotalFinal - obj.getTotalSale + obj.pathAmount) | number_format(2, '.', ',') }} | {% if obj.typeStatusSale.id == constant('CoreBundle\\Entity\\TypeStatusSale::ID_STATUS_TO_IN_RESERVED') or obj.typeStatusSale.id == constant('CoreBundle\\Entity\\TypeStatusSale::ID_STATUS_TO_IN_RESERVED_CANCELED') %}0.00 | {% else %}{{ obj.getTotalFinal }} | {% endif %}{{ obj.totalIncome }} | {{ ( obj.pathAmount * -1 ) | number_format(2, '.', ',') }} |
{% if obj.notes != "" %}
|
Arreglar error |
TOTALES |