noalyss-commit
[Top][All Lists]
Advanced

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

[Noalyss-commit] [noalyss] 02/107: Fix bug with payment method


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 02/107: Fix bug with payment method
Date: Mon, 26 Aug 2019 10:31:45 -0400 (EDT)

sparkyx pushed a commit to branch master
in repository noalyss.

commit 507ed38680c096aba21f72029e8d0e4793da8268
Author: Dany De Bontridder <address@hidden>
Date:   Fri Feb 8 14:42:40 2019 +0100

    Fix bug with payment method
---
 include/class/acc_ledger_purchase.class.php | 2 +-
 include/class/acc_ledger_sold.class.php     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/class/acc_ledger_purchase.class.php 
b/include/class/acc_ledger_purchase.class.php
index b401222..56cb294 100644
--- a/include/class/acc_ledger_purchase.class.php
+++ b/include/class/acc_ledger_purchase.class.php
@@ -925,7 +925,7 @@ class  Acc_Ledger_Purchase extends Acc_Ledger
                /* if ledger is FIN then insert into quant_fin */
                if ( $prop['jrn_def_type'] == 'FIN' )
                  {
-                   
$ledger->insert_quant_fin($acfiche->id,$mp_jr_id,$cust->id,bcmul($famount,-1));
+                   
$ledger->insert_quant_fin($acfiche->id,$mp_jr_id,$cust->id,bcmul($famount,-1),$let_other);
                  }
 
 
diff --git a/include/class/acc_ledger_sold.class.php 
b/include/class/acc_ledger_sold.class.php
index 437cc97..0536383 100644
--- a/include/class/acc_ledger_sold.class.php
+++ b/include/class/acc_ledger_sold.class.php
@@ -600,7 +600,7 @@ class Acc_Ledger_Sold extends Acc_Ledger {
 
                 /* if ledger is FIN then insert into quant_fin */
                 if ($prop['jrn_def_type'] == 'FIN') {
-                    $ledger->insert_quant_fin($acfiche->id, $mp_jr_id, 
$cust->id, bcmul($famount, 1));
+                 $ledger->insert_quant_fin($acfiche->id, $mp_jr_id, $cust->id, 
bcmul($famount, 1),$let_other);
                 }
             }
         } catch (Exception $e) {



reply via email to

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