noalyss-commit
[Top][All Lists]
Advanced

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

[Noalyss-commit] [noalyss] 119/238: currency : adapt middle of payment


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 119/238: currency : adapt middle of payment
Date: Sat, 26 Oct 2019 04:40:49 -0400 (EDT)

sparkyx pushed a commit to annotated tag rel7110
in repository noalyss.

commit 076eadeec5853ed17e398467e5428cc37efb5499
Author: Dany De Bontridder <address@hidden>
Date:   Sun Dec 9 12:12:50 2018 +0100

    currency : adapt middle of payment
---
 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 2d19e04..76e0c03 100644
--- a/include/class/acc_ledger_purchase.class.php
+++ b/include/class/acc_ledger_purchase.class.php
@@ -992,7 +992,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 28b3d35..ebf58c9 100644
--- a/include/class/acc_ledger_sold.class.php
+++ b/include/class/acc_ledger_sold.class.php
@@ -675,7 +675,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]