Historique client: {{ nameclient|title }}
{% if totalcommande|trim >0 %}
le taux de commande reussi est {{ ((totalcommandeeffecture|trim /totalcommande|trim )*100 )|round(2, 'floor') }} %
{% if ((totalcommandeeffecture|trim /totalcommande|trim )*100 )|round(2, 'floor') < 25 |round(2, 'floor')%}
{% endif %}
{% if ( ((totalcommandeeffecture|trim /totalcommande|trim )*100 )|round(2, 'floor') > 25 |round(2, 'floor') ) and ( ((totalcommandeeffecture|trim /totalcommande|trim )*100 )|round(2, 'floor') <75 |round(2, 'floor') ) %}
{% endif %}
{% if ((totalcommandeeffecture|trim /totalcommande|trim )*100 )|round(2, 'floor') > 75 |round(2, 'floor')%}
{% endif %}
{% endif %}
Info |
Article(s) |
{% for commande in commandes %}
{% set refTva = 0 %}
{% for produit in commande.produit %}
{% set refTva = refTva+ produit.lproduit.prixunitaire %}
{% endfor %}
{{ commande.numerocommande }} prix cmd : {% for produit in commande.produit %} {{ ((produit.lproduit.prixunitaire * produit.quantite) - commande.montantreduction - commande.montantpaiementavance)|number_format(0, ',', ' ') }} {% endfor %}
FCFA
Statut: {{ commande.typestatut.designation }}
Date de commande : {{ commande.datecommande|date('d-m-Y H:i') }}
|
{#
{{ commande.adresseclientlivraison }} |
#}
Designation |
Quantité. |
Sous Total. |
{% if commande.reducbool.designation =="OUI" %}
Reduction montant. |
{% endif %}
{% if commande.paiementbool.designation =="OUI" %}
Paiement par avance. |
{% endif %}
{% for produit in commande.produit %}
{{produit.lproduit.designation}}
/ {% endfor %}
|
{% for produit in commande.produit %}{{ produit.quantite }}
{% endfor %}
|
{% for produit in commande.produit %}{{ produit.lproduit.prixunitaire }}{% endfor %}
|
{% if commande.reducbool.designation =="OUI" %}
{{ commande.montantreduction|number_format(0, ',', ' ') }}
|
{% endif %}
{% if commande.paiementbool.designation =="OUI" %}
{{ commande.montantpaiementavance|number_format(0, ',', ' ') }}
|
{% endif %}
|
{% endfor %}