noalyss-commit
[Top][All Lists]
Advanced

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

[Noalyss-commit] [noalyss] 35/86: RECONCILE : VAT ND not in account


From: dwm
Subject: [Noalyss-commit] [noalyss] 35/86: RECONCILE : VAT ND not in account
Date: Thu, 19 Sep 2024 02:41:52 -0400 (EDT)

sparkyx pushed a commit to branch unstable
in repository noalyss.

commit 1949332cc08b39de734bf1e6223774ef87695904
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Wed Sep 4 23:33:50 2024 +0200

    RECONCILE : VAT ND not in account
---
 include/class/acc_reconciliation.class.php | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/include/class/acc_reconciliation.class.php 
b/include/class/acc_reconciliation.class.php
index 2a318efb7..c532212b1 100644
--- a/include/class/acc_reconciliation.class.php
+++ b/include/class/acc_reconciliation.class.php
@@ -407,7 +407,8 @@ j1.j_poste as poste
                         $total_price=bcsub($total_price,$row['vat_sided']);
                         $total_price=bcadd($total_price,$row['nd_amount']);
                         $total_price=bcadd($total_price,$row['nd_tva_recup']);
-                    
+                        $total_price=bcadd($total_price,$row['nd_tva']);
+
                      }
                     $second_amount=bcadd($second_amount,$total_price);
                     
@@ -660,6 +661,8 @@ j1.j_poste as poste
                 $row=Database::fetch_array($retdb, $i);
                 $total_price=bcadd($row['price'],$row['vat_amount']);
                 $total_price=bcsub($total_price,$row['vat_sided']);
+                $total_price=bcadd($total_price,$row['nd_tva']);
+                $total_price=bcadd($total_price,$row['nd_tva_recup']);
                 $first_amount=bcadd($total_price,$first_amount);
             }
 



reply via email to

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