Bug : MY_REPORT was not respected

This commit is contained in:
sparkyx 2024-01-27 15:47:34 +01:00
parent 0b88b9eb94
commit d9912ff7e3

View file

@ -1366,9 +1366,9 @@ class Fiche
/* Filter on the default year */
if ( $g_parameter->MY_REPORT == 'N') {
$amount=$tiers->get_solde_detail($filter_year);
} else {
$amount = $tiers->get_solde_detail();
} else {
$amount=$tiers->get_solde_detail($filter_year);
}
/* skip the tiers without operation */