🐛 fix(template/order): Corrige calcul des prix des options annuelles et mensuelles.
This commit is contained in:
@@ -336,7 +336,7 @@
|
||||
currentInitialTotal += parseFloat(optionPriceTotal); // AJOUT : L'option annuelle est facturée immédiatement
|
||||
displayPeriod = '/ an';
|
||||
priceText = formatPrice(optionPriceTotal) + displayPeriod;
|
||||
%} else {
|
||||
} else {
|
||||
currentMonthlyTotal += optionPriceTotal;
|
||||
displayPeriod = '/ mois';
|
||||
|
||||
@@ -353,7 +353,7 @@
|
||||
<span class="font-medium text-right text-gray-800 whitespace-nowrap">+${priceText}</span>
|
||||
</li>
|
||||
`;
|
||||
%}
|
||||
}
|
||||
});
|
||||
|
||||
// Mise à jour de l'affichage
|
||||
|
||||
Reference in New Issue
Block a user