[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 02/03: gitlab #5 Achat propose l'anc pour tou
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 02/03: gitlab #5 Achat propose l'anc pour toutes les lignes |
Date: |
Fri, 25 Oct 2019 10:08:20 -0400 (EDT) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit 741b71f622dbddf9c3cc6a5fa378759b10e7420e
Author: Dany De Bontridder <address@hidden>
Date: 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 e1dcb51..1aada13 100644
--- a/include/class/acc_ledger_purchase.class.php
+++ b/include/class/acc_ledger_purchase.class.php
@@ -1562,7 +1562,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);