intégration taux réduction dans index.tpl

FossilOrigin-Name: 8c48a54785b11f3109f0ca66e5a8fe5220a632352333399477522fba9ed78662
This commit is contained in:
engel 2022-02-17 14:14:12 +00:00
parent d7faf06f10
commit a3e855870c
2 changed files with 24 additions and 11 deletions

View file

@ -20,7 +20,7 @@ $tauxSelectionnes = array();
foreach ($tarifsSelectionnes as $idTarif) {
$nomRadio = "taux_reduction_" . $idTarif;
$valRadio = f("$nomRadio");
$tauxSelectionnes[] = $valRadio ? $valRadio: $plugin->getConfig()->reduction[0]->taux;
$tauxSelectionnes[] = $valRadio ? $valRadio: $plugin->getConfig('reduction')[0]->taux;
}
// obtenir les instances de tarifs correspondant à la sélection
$lesTarifs = array();