[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 305/323: Task #0001563: check date paiement A
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 305/323: Task #0001563: check date paiement ACH |
Date: |
Wed, 14 Mar 2018 17:39:08 -0400 (EDT) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit bb2421f2679247b08e7e47d3e1d5a376817b3e5c
Author: Dany De Bontridder <address@hidden>
Date: Tue Mar 6 08:38:01 2018 +0100
Task #0001563: check date paiement ACH
---
include/class/acc_ledger_purchase.class.php | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/include/class/acc_ledger_purchase.class.php
b/include/class/acc_ledger_purchase.class.php
index d00e888..7241c31 100644
--- a/include/class/acc_ledger_purchase.class.php
+++ b/include/class/acc_ledger_purchase.class.php
@@ -264,6 +264,10 @@ class Acc_Ledger_Purchase extends Acc_Ledger
if ( $nb == 0 )
throw new Exception(_('Il n\'y a aucune marchandise'),12);
+ if ( isset ($mp_date) && trim ($mp_date) != "" && isDate($mp_date) ==
null) {
+ throw new Exception(_('Date de paiement invalide'),13);
+
+ }
}
/**
- [Noalyss-commit] [noalyss] 256/323: Tag : select list fixed, (continued)
- [Noalyss-commit] [noalyss] 256/323: Tag : select list fixed, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 302/323: Bug #0001562: Achat mémoriser également 3 champs, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 273/323: CSS : table sortable no margin, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 313/323: CSS cosmetic : highlight, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 189/323: Hight password and default user, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 290/323: Bug #1549 : VERIFBIL empty card, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 292/323: Merge branch 'master' of ns3:/srv/git/noalyss, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 255/323: Tag : select list add a close button, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 286/323: CSS : selected menu, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 312/323: Task #0001526: Problème navigation - retour en haut de la fenêtre si flèches de navigation, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 305/323: Task #0001563: check date paiement ACH,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 309/323: Limit to event with a reminder, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 280/323: Task : esthetic Follow up , tags, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 221/323: Calc : hightlight result, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 238/323: Icon_Action::trash remove unwanted char, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 304/323: Task #0001563: Achat mémoriser également 3 champs (suite), Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 321/323: Improve upgradeCore, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 320/323: Bug : Cannot upgrade core, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 241/323: HttpInput::extract fix bug, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 297/323: plugin : add explanation, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 284/323: CSS : box_search_card , hidden if width < 804px, Dany De Bontridder, 2018/03/14