gitlab #5 Achat propose l'anc pour toutes les lignes

This commit is contained in:
Dany De Bontridder 2019-10-25 11:42:10 +02:00
parent bfabc6e528
commit 680950c135

View file

@ -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);