phpcompta-dev
[Top][All Lists]
Advanced

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

[Phpcompta-dev] r5646 - phpcompta/tags/rel671/include


From: phpcompta-dev
Subject: [Phpcompta-dev] r5646 - phpcompta/tags/rel671/include
Date: Tue, 7 Jan 2014 18:01:31 +0100 (CET)

Author: danydb
Date: 2014-01-07 18:01:31 +0100 (Tue, 07 Jan 2014)
New Revision: 5646

Modified:
   phpcompta/tags/rel671/include/class_acc_ledger_purchase.php
Log:
Rewrite and have one row by ND : add documentation 2 new private function : 
compute_no_deductible & insert_no_deductible
Task #960 - TVA ND & comptabilit?\195?\169 analytique

Modified: phpcompta/tags/rel671/include/class_acc_ledger_purchase.php
===================================================================
--- phpcompta/tags/rel671/include/class_acc_ledger_purchase.php 2014-01-07 
16:54:56 UTC (rev 5645)
+++ phpcompta/tags/rel671/include/class_acc_ledger_purchase.php 2014-01-07 
17:01:31 UTC (rev 5646)
@@ -260,10 +260,12 @@
 
     }
     /**
+     * Compute the ND amount thanks the attribute of the concerned card. The 
object 
+     * $p_nd_amount will changed
      * 
-     * @param Acc_Compute $p_nd_amount
-     * @param Fiche $p_fiche
-     * @param type $p_tva_both
+     * @param Acc_Compute $p_nd_amount object with ND amount
+     * @param Fiche $p_fiche Concerned Card (purchase items)
+     * @param type $p_tva_bot 0 TVA on one side, 1 TVA on both side
      */
     private function compute_no_deductible(Acc_Compute $p_nd_amount, Fiche 
$p_fiche, $p_tva_both)
     {
@@ -292,11 +294,11 @@
         }
     }
     /**
-     * 
-     * @param Acc_Compute $p_nd_amount
-     * @param Fiche $p_fiche
-     * @param type $p_tva_both
-     * @param type $p_tot_debit
+     * Insert into JRNX the No Deductible amount
+     * @param Acc_Compute $p_nd_amount content ND amount
+     * @param Fiche $p_fiche Card of the Service
+     * @param type $p_tva_both  0 if TVA is normal or 1 if on both side
+     * @param type $p_tot_debit total debit
      */
     private function insert_no_deductible(Acc_Compute $p_nd_amount, Fiche 
$p_fiche, $p_tva_both,&$p_tot_debit,$p_acc_operation)
     {



---
PhpCompta est un logiciel de comptabilité libre en ligne (full web)
Projet opensource http://www.phpcompta.eu



reply via email to

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