[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
- [Noalyss-commit] [noalyss] branch master updated (b23f4d4 -> a720b86), Dany De Bontridder, 2019/11/30
- [Noalyss-commit] [noalyss] 01/28: TEST : bug double usage of use, Dany De Bontridder, 2019/11/30
- [Noalyss-commit] [noalyss] 04/28: Task #0001762: TVA France Erreur dans script SQL, Dany De Bontridder, 2019/11/30
- [Noalyss-commit] [noalyss] 07/28: Acc_Ledger::id == 0 for Main Ledger, Dany De Bontridder, 2019/11/30
- [Noalyss-commit] [noalyss] 09/28: remove Obsolete, Dany De Bontridder, 2019/11/30
- [Noalyss-commit] [noalyss] 05/28: rename test files:, Dany De Bontridder, 2019/11/30
- [Noalyss-commit] [noalyss] 11/28: In Acc_Ledger, the type shouldn't be overrided , create new attr ledger_type,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 19/28: Data_SQL Function prefix turn an object to an array but key can have a prefix, Dany De Bontridder, 2019/11/30
- [Noalyss-commit] [noalyss] 06/28: PDFTK Convert in PDF if working from home, see http://wiki.noalyss.eu/doku.php?id=menu:ancgl, Dany De Bontridder, 2019/11/30
- [Noalyss-commit] [noalyss] 14/28: Bug PHP : confuse NULL and 0, Dany De Bontridder, 2019/11/30
- [Noalyss-commit] [noalyss] 13/28: cosmetid add a button close for the "forget-email-box", Dany De Bontridder, 2019/11/30
- [Noalyss-commit] [noalyss] 15/28: Bug Array to string conversion error, Dany De Bontridder, 2019/11/30
- [Noalyss-commit] [noalyss] 16/28: Bug : when e_march is null it is considered as an empty string instead of 0, Dany De Bontridder, 2019/11/30
- [Noalyss-commit] [noalyss] 17/28: Cosmetic, Dany De Bontridder, 2019/11/30
- [Noalyss-commit] [noalyss] 12/28: Improve PHPUNIT test, Dany De Bontridder, 2019/11/30
- [Noalyss-commit] [noalyss] 22/28: Search operation : all, paid or unpaid, including the CSV export and the filter, Dany De Bontridder, 2019/11/30
- [Noalyss-commit] [noalyss] 10/28: Correct report amount, Dany De Bontridder, 2019/11/30