[(#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_PUSH{details, [(#ARRAY{ descriptif, [[(#QUANTITE|>{1}|oui)#QUANTITE × ](#DESCRIPTIF*|supprimer_numero)], quantite, #QUANTITE, prix, #PRIX*, })]})] #SET{commande, #ARRAY{details, #GET{details}}} #SET{commande,#ENV{commande}} #SET{total,0} [(#SET{total,[(#GET{total}|plus{[(#VALEUR|table_valeur{prix})]})]})]
<:commandes:designation:> <:commandes:montant:>
[(#VALEUR|table_valeur{descriptif})] [(#VALEUR|table_valeur{prix}|prix_formater)]
<:prix:label_total_ttc:> [(#GET{total}|prix_formater)]