Skip to content
Extraits de code Groupes Projets
Valider 69efe2b8 rédigé par tcharlss's avatar tcharlss
Parcourir les fichiers

feat: meilleure prévisu des prix par poids et par volumes

On fait des tableaux.
parent e4e4ddf1
Aucune branche associée trouvée
Aucune étiquette associée trouvée
1 requête de fusion!22feat: Amélioration UX édition et prévisu d'un mode de livraison
......@@ -40,14 +40,40 @@
<span dir='#LANG_DIR' class='#EDIT{prix_unit_ht} prix_unit_ht'>(#PRIX_UNIT_HT)</span>
</div>]
[<div class="champ contenu_prix_poids_ht[ (#PRIX_POIDS_HT*|strlen|?{'',vide})]">
<B_lignes_poids>
<div class="champ contenu_prix_poids_ht[ (#PRIX_POIDS_HT*|strlen|?{'',vide})]">
<label><:livraisonmode:champ_prix_poids_ht_label:> : </label>
<span dir='#LANG_DIR' class='#EDIT{prix_poids_ht} prix_poids_ht'>(#PRIX_POIDS_HT)</span>
</div>]
<div dir='#LANG_DIR' class='#EDIT{prix_poids_ht} prix_poids_ht'>
<table class="spip">
<thead>
<tr><th><:livraisonmode:champ_poids_label:></th><th><:livraisonmode:champ_prix_ht_label:></th></tr>
</thead>
<tbody>
<BOUCLE_lignes_poids(DATA) {source table, #VAL{"/\R/"}|preg_split{#PRIX_POIDS_HT*}}>
<tr><td>[(#VALEUR|strstr{'|',#EVAL{true}})]</td><td>[(#VALEUR|strstr{'|'}|substr{1})]</td></tr>
</BOUCLE_lignes_poids>
</tbody>
</table>
</div>
</div>
</B_lignes_poids>
[<div class="champ contenu_prix_volume_ht[ (#PRIX_VOLUME_HT*|strlen|?{'',vide})]">
<B_lignes_volume>
<div class="champ contenu_prix_volume_ht[ (#PRIX_VOLUME_HT*|strlen|?{'',vide})]">
<label><:livraisonmode:champ_prix_volume_ht_label:> : </label>
<span dir='#LANG_DIR' class='#EDIT{prix_volume_ht} prix_volume_ht'>(#PRIX_VOLUME_HT)</span>
</div>]
<div dir='#LANG_DIR' class='#EDIT{prix_volume_ht} prix_volume_ht'>
<table class="spip">
<thead>
<tr><th><:livraisonmode:champ_volume_label:></th><th><:livraisonmode:champ_prix_ht_label:></th></tr>
</thead>
<tbody>
<BOUCLE_lignes_volume(DATA) {source table, #VAL{"/\R/"}|preg_split{#PRIX_VOLUME_HT*}}>
<tr><td>[(#VALEUR|strstr{'|',#EVAL{true}})]</td><td>[(#VALEUR|strstr{'|'}|substr{1})]</td></tr>
</BOUCLE_lignes_volume>
</tbody>
</table>
</div>
</div>
</B_lignes_volume>
</BOUCLE_livraisonmode>
\ No newline at end of file
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter