[(#REM) On peut donner soit un id_commande, soit un tableau contenant la commande] [(#REM) Si on trouve une commande on prend ça comme base ] #SET{details, #ARRAY} #SET{details, #GET{details}|push{#ARRAY{ objet,#OBJET, id_objet,#ID_OBJET, descriptif,#QUANTITE|commandes_afficher_quantite_descriptif|concat{#DESCRIPTIF|ptobr|supprimer_numero}, quantite, #QUANTITE*, reduction, #REDUCTION*, taxe, #TAXE*, prix, #PRIX*, prix_ht, #PRIX_HT*, prix_ht_unitaire_base, #PRIX_HT*{#ARRAY{quantite,1,reduction,0}}, prix_ht_unitaire, #PRIX_HT*{#ARRAY{quantite,1}}, prix_unitaire_base, #PRIX*{#ARRAY{quantite,1,reduction,0}}, prix_unitaire, #PRIX*{#ARRAY{quantite,1}}, }}} #SET{commande, #ARRAY{details, #GET{details}}} #SET{commande_ref,#REFERENCE} #SET{total_ht,#PRIX_HT*} #SET{total,#PRIX*} #SET{commande,#ENV{commande}} [(#REM) Affichage du detail dans une table si format html demande] [(#REM) Version texte ] [ - (#VALEUR{descriptif}|trim|supprimer_tags)] : [(#VALEUR{prix}|prix_formater)] <:prix:label_total_ttc:> : [(#GET{total}|prix_formater)] []
<:commandes:commande_numero:> (#GET{commande_ref})
<:commandes:designation:> <:commandes:montant:>
[(#ENV{qui}|=={client}|non) ] [(#VALEUR{descriptif})] [(#ENV{qui}|=={client}|non) ] [(#VALEUR{reduction}|=={0}|non) Réduction [(#VALEUR{reduction}|mult{100}|round{2})%] [(#VALEUR{prix_unitaire_base}|prix_formater)] [(#VALEUR{prix_unitaire}|prix_formater)] ] [(#VALEUR{prix}|prix_formater)]
<:prix:label_total_ttc:> [(#GET{total}|prix_formater)]
<:commandes:label_dont_taxe:> [(#VALEUR{label})] [(#VALEUR{montant}|prix_formater)]