noalyss-commit
[Top][All Lists]
Advanced

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

[Noalyss-commit] [noalyss] 113/173: gitlab #5 Achat propose l'anc pour t


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 113/173: gitlab #5 Achat propose l'anc pour toutes les lignes
Date: Mon, 22 Mar 2021 12:59:03 -0400 (EDT)

sparkyx pushed a commit to branch master
in repository noalyss.

commit 680950c135a9f9f84bf79fab47bd3a7cf2a4e270
Author: Dany De Bontridder <danydb@noalyss.eu>
AuthorDate: Fri Oct 25 11:42:10 2019 +0200

    gitlab #5 Achat propose l'anc pour toutes les lignes
---
 include/class/acc_ledger_purchase.class.php | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/include/class/acc_ledger_purchase.class.php 
b/include/class/acc_ledger_purchase.class.php
index 1c514cf..8b26268 100644
--- a/include/class/acc_ledger_purchase.class.php
+++ b/include/class/acc_ledger_purchase.class.php
@@ -1671,7 +1671,9 @@ class  Acc_Ledger_Purchase extends Acc_Ledger
             $r.=nbm(round($tot_row,2));
             $r.='</td>';
             // encode the pa
-            if ( $g_parameter->MY_ANALYTIC!='nu') // use of AA
+            if ( $g_parameter->MY_ANALYTIC!='nu' 
+                     && 
$g_parameter->match_analytic($fiche->strAttribut(ATTR_DEF_ACCOUNT))==TRUE
+                    ) // use of AA
             {
                 // show form
                 $anc_op=new Anc_Operation($this->db);



reply via email to

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