INFORME

Tipo de informe: {{ typeReport }}
Fecha de realización: {{ today | date('d/m/Y') }}
Tipo de agrupación: {% for message in typeReportGrouped %} {% if not groupConfiguration.showAutoincrementNumberForArticle and loop.index == 2 %} {% else %} {{ message }}, {% endif %} {% endfor %}
Segmentación {{ segmentation_txt }}
{% if groupConfiguration.useLocatorAlias %} {% elseif groupConfiguration.useLocator %} {% endif %} {% if groupConfiguration.showAutoincrementNumberForArticle %} {% endif %} {% set totalCostPrice = 0 %} {% set totalPVPSale = 0 %} {% set totalProfit = 0 %} {% set totalPVP = 0 %} {% for key, value in reportResult %} {% if groupConfiguration.useLocatorAlias %} {% elseif groupConfiguration.useLocator %} {% endif %} {% if groupConfiguration.showAutoincrementNumberForArticle %} {% endif %} {% endfor %} {% if groupConfiguration.useLocatorAlias %} {% elseif groupConfiguration.useLocator %} {% endif %} {% if groupConfiguration.showAutoincrementNumberForArticle %} {% endif %}
Fecha Venta COD-StockAliasLocalizadorOrdenModelo Color Talla Sección Marca Tienda Usuario PVP F.Pago P.Costo PVP Venta Ganancia Campaña
{% if value["filename"] %} {% if 'amazonaws' in value["filename"] %} {% else %} {% endif %} {% endif %} {{ value['dateSale'] | date('d/m/Y H:i:s') }} {{ value['aliasStock'] }} {{ value['aliasLocator'] }}{{ value['locator'] }}{{ value['autoIncrement'] }} {{ value['articleModel'] }} {{ value['articleColor'] }} {{ value['typeSize'] }} {{ value['section'] }} {{ value['brand'] }} {{ value['shop'] }} {{ value['user'] }} {{ value['pvpOriginal'] | number_format(2,',','') }} {% set totalPVP = totalPVP + value['pvpOriginal'] %} {{ value['methodPayment'] }} {{ value['costPrice'] | number_format(2,',','') }} {% set totalCostPrice = totalCostPrice + value['costPrice'] %} {{ value['pvp'] | number_format(2,',','') }} {% set totalPVPSale = totalPVPSale + value['pvp'] %} {{ value['profit'] | number_format(2,',','') }} {% set totalProfit = totalProfit + value['profit'] %} {{ value['discount'] }}
TOTAL
{{ totalPVP }}€ {{ totalCostPrice }}€ {{ totalPVPSale }}€ {{ totalProfit }}€
{% include 'CoreBundle:Default:style-pdf.html.twig' %}