{% if article.isLite == false %}

VENTAS

{% endif %}
Margen de rentabilidad
Porcentaje
3 meses
Rentabilidad Ventas/Compras
Porcentaje
Total
Total

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

Beneficio
Total

{{ compradasUnidades | number_format(0, '.', ',') }}

Und.Recibidas
{% if purchasesTable['reception'] is defined %}

COMPRAS

{% for keyRow, row in purchasesTable['reception'] %} {% endfor %}
Recepción/fecha Recepcionado en Pedido/facturación Costo Unidad Entradas/valor Stock actual/Valor
{{ row['alias'] }} - {{ row['date'] | date('d/m/Y') }} {{ row['reception_in'] | upper }} {% set ordersLength = (row['orders'] | length) %} {% for orderKey, orderValue in row['orders']%} {{ orderValue['alias'] }} {{ orderValue['companies'] }} {% if loop.index < ordersLength %}
{% endif %} {% endfor %}
{{ row['unit_cost'] | number_format(2, ',', '.') }}€ {{ row['stock_entry'] }}u./{{ row['stock_value'] | number_format(2, ',', '.') }}€ {{ row['actual_stock'] }}u./{{ row['actual_stock_value'] | number_format(2, ',', '.') }}€
TOTAL {{ purchasesTable['cost_unit_average'] | number_format(2, ',', '.') }}€ {{ purchasesTable['sum_stock_entry'] }}u./{{ purchasesTable['sum_stock_value'] | number_format(2, ',', '.') }}€ {{ purchasesTable['sum_actual_stock'] }}u./{{ purchasesTable['sum_actual_stock_value'] | number_format(2, ',', '.')}}€
{% endif %}