noalyss-commit
[Top][All Lists]
Advanced

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

[Noalyss-commit] [noalyss] 304/323: Task #0001563: Achat mémoriser égal


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 304/323: Task #0001563: Achat mémoriser également 3 champs (suite)
Date: Wed, 14 Mar 2018 17:39:08 -0400 (EDT)

sparkyx pushed a commit to branch master
in repository noalyss.

commit 55830a140fe987beaa62f2e934ba193643082ced
Author: Dany De Bontridder <address@hidden>
Date:   Tue Mar 6 08:32:34 2018 +0100

    Task #0001563: Achat mémoriser également 3 champs (suite)
---
 include/class/acc_ledger_purchase.class.php | 3 ++-
 include/compta_ach.inc.php                  | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/include/class/acc_ledger_purchase.class.php 
b/include/class/acc_ledger_purchase.class.php
index 5990d1d..d00e888 100644
--- a/include/class/acc_ledger_purchase.class.php
+++ b/include/class/acc_ledger_purchase.class.php
@@ -1678,7 +1678,8 @@ EOF;
         {
             $r.=HtmlInput::hidden('e_mp_qcode_'.$e_mp,${'e_mp_qcode_'.$e_mp});
             $r.=HtmlInput::hidden('acompte',$acompte);
-                       
$r.=HtmlInput::hidden('e_comm_paiement',$e_comm_paiement);
+           $r.=HtmlInput::hidden('e_comm_paiement',$e_comm_paiement);
+           $r.=HtmlInput::hidden('mp_date',$mp_date);
             /* needed for generating a invoice */
            $r.=HtmlInput::hidden('qcode_benef', ${'e_mp_qcode_' . $e_mp});
                        $fname = new Fiche($this->db);
diff --git a/include/compta_ach.inc.php b/include/compta_ach.inc.php
index 825d8b3..8891378 100644
--- a/include/compta_ach.inc.php
+++ b/include/compta_ach.inc.php
@@ -274,7 +274,7 @@ try
         $p_post['p_jrn']=$Ledger->id;
         echo $Ledger->input($p_post);
         echo '<div class="content">';
-        echo $Ledger->input_paid($payment);
+        echo 
$Ledger->input_paid($payment,$acompte,$date_payment,$comm_payment);
         echo '</div>';
         echo '<script>';
         echo 'compute_all_ledger();';



reply via email to

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