Compare commits

...

1 Commits
20.0 ... 18.0

Author SHA1 Message Date
kkhelifa-opendsi
7b5ddac963 FIX: Backport fix on v20 for result page of compta (/compta/resultat/index.php) (#37127)
* FIX: Backport fix on v20 for result page of compta (/compta/resultat/index.php). The expense report were not included when the module was activated

* Update index.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-02-08 22:25:58 +01:00

View File

@@ -45,7 +45,7 @@ $date_endyear = GETPOST('date_endyear', 'int');
$nbofyear = 4;
// Change this to test different cases of setup
// Change this to test different cases of setup.
//$conf->global->SOCIETE_FISCAL_MONTH_START = 7;
@@ -678,7 +678,7 @@ if (isModEnabled('salaries') && ($modecompta == 'CREANCES-DETTES' || $modecompta
* Expense reports
*/
if (!isModEnabled('expensereport') && ($modecompta == 'CREANCES-DETTES' || $modecompta == "RECETTES-DEPENSES")) {
if (isModEnabled('expensereport') && ($modecompta == 'CREANCES-DETTES' || $modecompta == "RECETTES-DEPENSES")) {
$langs->load('trips');
if ($modecompta == 'CREANCES-DETTES') {