[(#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, prix, #PRIX*, prix_ht, #PRIX_HT*}}} #SET{commande, #ARRAY{details, #GET{details}}} #SET{commande_ref,#REFERENCE} #SET{commande,#ENV{commande}} [(#REM) Affichage du detail dans une table si format html demande] [(#REM) Version texte ] #SET{total,0} [ - (#VALEUR{descriptif}|trim|supprimer_tags)] : [(#VALEUR{prix}|prix_formater)][ (#SET{total,[(#GET{total}|plus{[(#VALEUR{prix})]})]}) ] <:prix:label_total_ttc:> : [(#GET{total}|prix_formater)] [] #SET{total,0} #SET{total_ht,0} [(#SET{total,[(#GET{total}|plus{[(#VALEUR{prix})]})]})] [(#VALEUR{prix_ht}|commande_totalise_taxes{#VALEUR{prix}})]
<:commandes:commande_numero:> (#GET{commande_ref})
<:commandes:designation:> <:commandes:montant:>
[(#ENV{qui}|=={client}|non) ] [(#VALEUR{descriptif})] [(#ENV{qui}|=={client}|non) ] [(#VALEUR{prix}|prix_formater)]
<:prix:label_total_ttc:> [(#GET{total}|prix_formater)]
<:commandes:label_dont_taxe:> [(#CLE)%] [(#VALEUR|prix_formater)]