{% extends 'admin_base.html.twig' %} {% block body %}

Liste des prix de Client : {{ client.getTradingCode() }}

{% for c in prices %} {% endfor %}
Code Variante Designation Prix Unitaire Prix Remise Prix Client Marge Action
{{ " this this1 this2"|replace({'this': c.getVariant().getSKU()|slice(0, 2), 'this1': c.getVariant().getSKU()|slice(2, 3),'this2' : c.getVariant().getSKU()|slice(5, 3)}) }} {{ c.getVariant().getProduct().name }} {% for o in c.getVariant().getOptions() %} {{ o.getValue() }}, {% endfor %} {{ c.getVariant().getUnitPrice}}€ {{ c.getVariant().getVirtualFinalPrice }}€ {{ c.getPrice() }} {{ c.getPrice()-c.getVariant().getBuyPrice()}}€
{% set np = total/limit %} {% for i in range(1,np|number_format ) %} {{ i }} {% endfor %} {% set foo = start + limit %} {% set s = limit*np|number_format %}
Affichage de {{ start == 0 ? limit : start+prices|length }} sur {{ total }}
{% endblock %} {% block javascripts %} {% endblock %}