noalyss-commit
[Top][All Lists]
Advanced

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

[Noalyss-commit] [noalyss] 15/31: insert_jrnx : add debug


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 15/31: insert_jrnx : add debug
Date: Sat, 21 Jul 2018 07:47:08 -0400 (EDT)

sparkyx pushed a commit to annotated tag r700-currency-001
in repository noalyss.

commit 1683eff2489f54898fe1fb2ff5ed5ff07b3383c0
Author: Dany De Bontridder <address@hidden>
Date:   Tue May 1 21:56:20 2018 +0200

    insert_jrnx : add debug
---
 include/class/acc_operation.class.php | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/include/class/acc_operation.class.php 
b/include/class/acc_operation.class.php
index 0144049..8c26771 100644
--- a/include/class/acc_operation.class.php
+++ b/include/class/acc_operation.class.php
@@ -180,6 +180,9 @@ class Acc_Operation
         {
             $this->type=($this->type=='d')?'c':'d';
         }
+        if ( DEBUG ) {
+            echo "insert_jrn = {$this->amount} <br>";
+        }
         $this->amount=abs($this->amount);
         $debit=($this->type=='c')?'false':'true';
         $this->desc=(isset($this->desc))?$this->desc:'';



reply via email to

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