{% block stylesheets %} {% endblock %}
ARTICULO | TALLA | UDS. | IMPORTE | {% for article in elementsIntoSale%}|
---|---|---|---|---|
{% if sale.shop.ticketItem == "model" or sale.shop.ticketItem == "" %} {{ article.stock.article.articleModel | upper | truncate(10, false, '...') }} {% endif %} {% if sale.shop.ticketItem == "reference" %} {{ article.stock.article.ref }} {% endif %} {% if sale.shop.ticketItem == "label" %} {{ article.stock.article.descriptionLabel }} {% endif %} | {{ article.stock.typeSize.description }} | 1 | {% if article.typeSaleElementStatus.id == constant('CoreBundle\\Entity\\TypeSaleElementStatus::ID_STATUS_RETURNED') %} - {{ article.stock.pvpFinalForSale | number_format(2, ',', '.') }} € {% else %} {{ article.stock.pvpFinalForSale | number_format(2, ',', '.') }}€ {% endif %} | |
Dto: {{ render(controller('CoreBundle:SalesPoint:getPercentage', {'stockId' : article.stock.id })) | number_format(2, ',', '.') }}% | {% if article.typeSaleElementStatus.id == constant('CoreBundle\\Entity\\TypeSaleElementStatus::ID_STATUS_RETURNED') %}{{ (article.stock.pvpFinalForSale -article.stock.pvpFinal) | number_format(2, ',', '.') }}€ | {% elseif article.typeSaleElementStatus.id == constant('CoreBundle\\Entity\\TypeSaleElementStatus::ID_STATUS_SELL') %}{{ (article.stock.pvpFinal - article.stock.pvpFinalForSale) | number_format(2, ',', '.') }}€ | {% endif %}||
TOTAL | {{ render(controller('CoreBundle:SalesPoint:getTotalBase', { 'saleId' : sale.id })) | number_format(2, ',', '.') }}€ | |||
Bolsa | {{ bag.amount | number_format(2, ',', '.') }}€ | |||
DTO TOTAL | - {{ render(controller('CoreBundle:SalesPoint:getDiscountBase', { 'saleId' : sale.id })) | number_format(2, ',', '.') }}€ |