gestion complète taux réduction

FossilOrigin-Name: 65f4c90bd70dda1733695d52ff242e58fe10220efee4077c813f49961d2686bc
This commit is contained in:
engel 2022-02-18 11:51:13 +00:00
parent 38a3556dbd
commit 3acbd2038e
10 changed files with 61 additions and 28 deletions

View file

@ -139,6 +139,23 @@ class Utils
return DB::getInstance()->get($sql, $annee);
}
public static function getLignesReduction($lesTaux)
{
foreach ($lesTaux as $elem)
{
$ligne = "taux " . $elem->taux . ", ligne " . $elem->ligne;
if ($elem->remarque != "") {
$ligne .= ", " . $elem->remarque;
}
$lignes[$elem->taux] = $ligne;
}
return $lignes;
}
public static function getLigneReduction($taux)
{
return $_SESSION['ligneReduction'][$taux];
}
// ------------------------------------------------------------
/**
@ -373,7 +390,7 @@ class Utils
* @param tableau des versements par personne
*/
static function genererRecus() {
}
/**