Debe abrir una caja o seleccionar una caja abierta
{% endif %}
{% for flash_message in app.session.flashBag.get('success') %}
{{ flash_message }}
{% endfor %}
{% if sale is defined and sale.notes %}
{{ sale.notes | raw }}
{% endif %}
{% if sale is defined %}
{% if sale.isSaleBroken %}
Venta corrupta por mal uso del punto de venta. Consulte la bitácora de la venta para más información.
{% endif %}
{% endif %}
{% if sale.typestatussale.id != constant('CoreBundle\\Entity\\TypeStatusSale::ID_STATUS_TO_COMPLETED') and sale.typestatussale.id != constant('CoreBundle\\Entity\\TypeStatusSale::ID_STATUS_TO_IN_RESERVED_CANCELED') and sale.typestatussale.id != constant('CoreBundle\\Entity\\TypeStatusSale::ID_STATUS_TO_BE_CANCELED')%}
{% if showScanBarIntoSale %}
{% endif %}
{% endif %}
{% if sale.isInvoiced == false %}
{% if sale.typestatussale.id != constant('CoreBundle\\Entity\\TypeStatusSale::ID_STATUS_TO_IN_RESERVED')
and sale.typestatussale.id != constant('CoreBundle\\Entity\\TypeStatusSale::ID_STATUS_TO_IN_RESERVED_CANCELED')
and sale.typestatussale.id != constant('CoreBundle\\Entity\\TypeStatusSale::ID_STATUS_TO_BE_CANCELED')%}
{% endif %}
{% endif %}
{{ render(controller('CoreBundle:Article:_scan')) }}
{% set elementsOnSale = sale.saleElement | length %}
ARTICULO{% if elementsOnSale == 0 or elementsOnSale > 1 %}S{% endif %} EN LA VENTA
{% if sale.getid() is not null %}
{{ render (controller('CoreBundle:SalesPoint:_salesArticles',{'saleId':sale.getId()})) }}
{% endif %}
{% set trasnferOnSale = sale.transfer | length %} ARTICULO{% if elementsOnSale == 0 or elementsOnSale > 1 %}S{% endif %} SOLICITADOS
{% if sale.getid() is not null %}
{{ render (controller('CoreBundle:SalesPoint:_salesTransfers',{'saleId':sale.getId()})) }}
{% endif %}
PENDIENTE DE RECEPCIÓN
-
{% for stockOpti in stockOptimizationsPending %}
{% for obj in stockOpti.stockOptimizationElement %}
-
{{ obj.article.articleModel }} · {{ obj.article.articleColor }}
- {{ obj.article.dealer }}
- {{ obj.article.brand }}
{% endfor %}
{% endfor %}
FORMA DE PAGO
{% if sale.getid() is not null %}
{{ render (controller('CoreBundle:SalesPoint:_salesPaymentList',{'saleId':sale.getId()})) }}
{% endif %}
IMPORTE DE LA VENTA
{% if sale.getid() is not null %}
{{ render (controller('CoreBundle:SalesPoint:_salesTotal',{'saleId':sale.getId()})) }}
{% endif %}
{% if sale.coupon %}
{% endif %}
{% if sale.fidelityCard %}
{% endif %}
{% if sale.amountPiggyBank %}
{% endif %}