noalyss-commit
[Top][All Lists]
Advanced

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

[Noalyss-commit] [noalyss] 02/26: Bug The detailled report of sales with


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 02/26: Bug The detailled report of sales without VAT does not give any result
Date: Wed, 11 Aug 2021 11:08:08 -0400 (EDT)

sparkyx pushed a commit to branch master
in repository noalyss.

commit 94acea6557cce7ad1a16d1d24e7a3f0a6a25f875
Author: Dany wm De Bontridder <danydb@noalyss.eu>
AuthorDate: Sat Jul 24 23:38:43 2021 +0200

    Bug The detailled report of sales without VAT does not give any result
---
 include/class/acc_ledger_history_purchase.class.php | 2 +-
 include/class/acc_ledger_history_sale.class.php     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/class/acc_ledger_history_purchase.class.php 
b/include/class/acc_ledger_history_purchase.class.php
index fa439e0..474bfc4 100644
--- a/include/class/acc_ledger_history_purchase.class.php
+++ b/include/class/acc_ledger_history_purchase.class.php
@@ -245,7 +245,7 @@ class Acc_Ledger_History_Purchase extends Acc_Ledger_History
                     join jrnx using (j_id)              
                     join card_name on (card_name.f_id=qp_fiche)
                     join card_qcode on (card_qcode.f_id=qp_fiche)
-                    join tva_rate on ( qp_vat_code=tva_id)
+                    left join tva_rate on ( qp_vat_code=tva_id)
                 where
                     qp_internal=$1
                 
diff --git a/include/class/acc_ledger_history_sale.class.php 
b/include/class/acc_ledger_history_sale.class.php
index 49c00ef..a6e4def 100644
--- a/include/class/acc_ledger_history_sale.class.php
+++ b/include/class/acc_ledger_history_sale.class.php
@@ -97,7 +97,7 @@ class Acc_Ledger_History_Sale extends Acc_Ledger_History
                     join jrnx using (j_id)              
                     join card_name on (card_name.f_id=qs_fiche)
                     join card_qcode on (card_qcode.f_id=qs_fiche)
-                    join tva_rate on ( qs_vat_code=tva_id)
+                    left join tva_rate on ( qs_vat_code=tva_id)
                     left join operation_currency using (j_id)
                 where
                     qs_internal=$1



reply via email to

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