[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 16/23: Bug : date for payment incorrect
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 16/23: Bug : date for payment incorrect |
Date: |
Sun, 26 Feb 2023 14:47:30 -0500 (EST) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit 034b93b6f4515969b21eb1faf81abbe1bf70cac7
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Wed Feb 15 19:40:38 2023 +0100
Bug : date for payment incorrect
---
include/class/acc_ledger_purchase.class.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/class/acc_ledger_purchase.class.php
b/include/class/acc_ledger_purchase.class.php
index d94beb516..1ffaf5cbd 100644
--- a/include/class/acc_ledger_purchase.class.php
+++ b/include/class/acc_ledger_purchase.class.php
@@ -1000,7 +1000,7 @@ class Acc_Ledger_Purchase extends Acc_Ledger
/* Insert supplier */
$acc_pay=new Acc_Operation($this->db);
- $acc_pay->date=$mp_date;
+ $acc_pay->date=empty($mp_date)?$e_date:$mp_date;
$acc_pay->poste=$poste;
$acc_pay->qcode=$e_client;
$acc_pay->amount=abs(round($famount,2));
- [Noalyss-commit] [noalyss] 05/23: missing semi-colon, (continued)
- [Noalyss-commit] [noalyss] 05/23: missing semi-colon, Dany De Bontridder, 2023/02/26
- [Noalyss-commit] [noalyss] 14/23: Waiting box, Dany De Bontridder, 2023/02/26
- [Noalyss-commit] [noalyss] 17/23: Bug #0002219: Compatibilité PHP 8.2 , 8.1 , 8.0, Dany De Bontridder, 2023/02/26
- [Noalyss-commit] [noalyss] 19/23: Improve DEBUG, Dany De Bontridder, 2023/02/26
- [Noalyss-commit] [noalyss] 03/23: Fix CFGTVA : id cannot be a float, Dany De Bontridder, 2023/02/26
- [Noalyss-commit] [noalyss] 01/23: Last detail : logo , fix unit test file, Dany De Bontridder, 2023/02/26
- [Noalyss-commit] [noalyss] 11/23: missing semi-colon, Dany De Bontridder, 2023/02/26
- [Noalyss-commit] [noalyss] 18/23: Improve DEBUG, Dany De Bontridder, 2023/02/26
- [Noalyss-commit] [noalyss] 22/23: Merge branch 'devel', Dany De Bontridder, 2023/02/26
- [Noalyss-commit] [noalyss] 23/23: Documentation and CSS, Dany De Bontridder, 2023/02/26
- [Noalyss-commit] [noalyss] 16/23: Bug : date for payment incorrect,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 21/23: DOCUMENT : generate : new tag = NOTE, Dany De Bontridder, 2023/02/26