noalyss-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Noalyss-commit] [noalyss] 03/13: Bug : MY_REPORT was not respected


From: dwm
Subject: [Noalyss-commit] [noalyss] 03/13: Bug : MY_REPORT was not respected
Date: Sun, 28 Jan 2024 09:05:24 -0500 (EST)

sparkyx pushed a commit to branch devel
in repository noalyss.

commit d9912ff7e39bfce4d19ba12ab43e042e9433bdb4
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Sat Jan 27 15:47:34 2024 +0100

    Bug : MY_REPORT was not respected
---
 include/class/fiche.class.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/class/fiche.class.php b/include/class/fiche.class.php
index 1624c329c..62e124acb 100644
--- a/include/class/fiche.class.php
+++ b/include/class/fiche.class.php
@@ -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 */



reply via email to

[Prev in Thread] Current Thread [Next in Thread]