noalyss-commit
[Top][All Lists]
Advanced

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

[Noalyss-commit] [noalyss] 11/28: In Acc_Ledger, the type shouldn't be o


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 11/28: In Acc_Ledger, the type shouldn't be overrided , create new attr ledger_type
Date: Sat, 30 Nov 2019 07:51:22 -0500 (EST)

sparkyx pushed a commit to branch master
in repository noalyss.

commit 2819f49db4cba4dfca3f246892d23eed9d7837ad
Author: Dany De Bontridder <address@hidden>
Date:   Sun Nov 17 21:34:59 2019 +0100

    In Acc_Ledger, the type shouldn't be overrided , create new attr ledger_type
---
 include/class/acc_ledger_fin.class.php      | 2 +-
 include/class/acc_ledger_purchase.class.php | 2 +-
 include/class/acc_ledger_sold.class.php     | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/include/class/acc_ledger_fin.class.php 
b/include/class/acc_ledger_fin.class.php
index 887078c..6392d86 100644
--- a/include/class/acc_ledger_fin.class.php
+++ b/include/class/acc_ledger_fin.class.php
@@ -42,7 +42,7 @@ class Acc_Ledger_Fin extends Acc_Ledger
        function __construct($p_cn, $p_init)
        {
                parent::__construct($p_cn, $p_init);
-               $this->type = 'FIN';
+               $this->ledger_type = 'FIN';
        }
 
        /**
diff --git a/include/class/acc_ledger_purchase.class.php 
b/include/class/acc_ledger_purchase.class.php
index 55ad50c..dcbaf3a 100644
--- a/include/class/acc_ledger_purchase.class.php
+++ b/include/class/acc_ledger_purchase.class.php
@@ -50,7 +50,7 @@ class  Acc_Ledger_Purchase extends Acc_Ledger
 {
     function __construct ($p_cn,$p_init)
     {
-        $this->type='ACH';
+        $this->ledger_type='ACH';
         parent::__construct($p_cn,$p_init);
     }
     /*!\brief verify that the data are correct before inserting or confirming
diff --git a/include/class/acc_ledger_sold.class.php 
b/include/class/acc_ledger_sold.class.php
index 2f7ae13..e5b21ea 100644
--- a/include/class/acc_ledger_sold.class.php
+++ b/include/class/acc_ledger_sold.class.php
@@ -53,7 +53,7 @@ class Acc_Ledger_Sold extends Acc_Ledger {
 
     function __construct($p_cn, $p_init) {
         parent::__construct($p_cn, $p_init);
-        $this->type = 'VEN';
+        $this->ledger_type = 'VEN';
     }
 
     /*!\brief verify that the data are correct before inserting or confirming



reply via email to

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