noalyss-commit
[Top][All Lists]
Advanced

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

[Noalyss-commit] [noalyss] 31/219: Task #0001443: opérations rapprochée


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 31/219: Task #0001443: opérations rapprochées : bug quand on utilise des tva avec autoliquidation Documentation
Date: Mon, 18 Dec 2017 13:22:30 -0500 (EST)

sparkyx pushed a commit to branch master
in repository noalyss.

commit d6273f141a67d8e7581164316ce10972062fb472
Author: Dany De Bontridder <address@hidden>
Date:   Thu Aug 31 11:15:41 2017 +0200

    Task #0001443: opérations rapprochées : bug quand on utilise des tva avec 
autoliquidation
    Documentation
---
 include/class/acc_reconciliation.class.php | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/include/class/acc_reconciliation.class.php 
b/include/class/acc_reconciliation.class.php
index ed5427c..0bed22e 100644
--- a/include/class/acc_reconciliation.class.php
+++ b/include/class/acc_reconciliation.class.php
@@ -611,6 +611,16 @@ j1.j_poste as poste
         }
         return $array;
     }
+    /**
+     * Retrieve the amount VAT included and autoreversed VAT excluded thanks
+     * the view v_quant_detail and return it.
+     * If the operation is not a sale or a purchase , it doesn't exist in the
+     * view then the function just returns the default amount
+     * @param type $p_jrn_id  jrn.jr_id
+     * @param type $p_default_amount amount to return if not found in the view
+     * v_quant_detail
+     * @return type
+     */
     function get_amount_noautovat($p_jrn_id,$p_default_amount) {
         $retdb=$this->db->execute("detail_quant",array($p_jrn_id));
         if ( Database::num_row($retdb) != 0)



reply via email to

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