[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 11/27: layout
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 11/27: layout |
Date: |
Wed, 4 Sep 2019 15:24:53 -0400 (EDT) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit 0c013f33c68aeb4e70470cae344faf68e68e076e
Author: Dany De Bontridder <address@hidden>
Date: Thu Aug 29 09:41:48 2019 +0200
layout
---
include/class/acc_ledger.class.php | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/include/class/acc_ledger.class.php
b/include/class/acc_ledger.class.php
index bf72b57..ad72cfc 100644
--- a/include/class/acc_ledger.class.php
+++ b/include/class/acc_ledger.class.php
@@ -714,7 +714,7 @@ class Acc_Ledger extends jrn_def_sql
// CA
if ($g_parameter->MY_ANALYTIC!='nu') // use of AA
{
- if (preg_match("/^[6,7]+/", $strPoste)==1)
+ if ($g_parameter->match_analytic( $strPoste)==TRUE)
{
// show form
$op=new Anc_Operation($this->db);
@@ -1293,7 +1293,7 @@ class Acc_Ledger extends jrn_def_sql
$tot_cred+=($acc_op->type=='c')?$acc_op->amount:0;
if ($g_parameter->MY_ANALYTIC!="nu")
{
- if (preg_match("/^[6,7]+/", $poste)==1)
+ if ($g_parameter->match_analytic( $poste)==TRUE)
{
// for each item, insert into operation_analytique */
@@ -2357,12 +2357,12 @@ class Acc_Ledger extends jrn_def_sql
{
throw new Exception(_('Choix du type de journal est
obligatoire'));
}
- if (isset( $negative_warning) && $negative_amount == 1 &&
trim($negative_warning)=="") {
+
+ if (isset( $negative_warning) && $negative_amount == 1 &&
trim($negative_warning)=="") {
throw new Exception(_("Avertissement ne peut être vide"));
}
- if ( isset( $negative_amount) && $negative_amount <> 0 &&
$negative_amount <> 1 ){
-
+ if ( isset( $negative_amount) && $negative_amount <> 0 &&
$negative_amount <> 1 ){
throw new Exception(_("Valeur invalide"));
}
}
- [Noalyss-commit] [noalyss] 06/27: Security : avoid direct call to Http Variable, (continued)
- [Noalyss-commit] [noalyss] 06/27: Security : avoid direct call to Http Variable, Dany De Bontridder, 2019/09/04
- [Noalyss-commit] [noalyss] 08/27: New : icon_action:slider icon_action:comment and fix single quote issue in icon_action:tips, Dany De Bontridder, 2019/09/04
- [Noalyss-commit] [noalyss] 09/27: fixup! fixup! New Task 1728: Aide à l'encodage - Journaux négatifs (note de crédit), Dany De Bontridder, 2019/09/04
- [Noalyss-commit] [noalyss] 18/27: #0001735: icone add catégorie de fiche, Dany De Bontridder, 2019/09/04
- [Noalyss-commit] [noalyss] 12/27: #1369: Étendre la comptabilité analytique à tous les postes? #1716: GROS SOUCI CA - ventilation 4 et 5. 5 phantôme! #1479: PROPOSITION CA - paramétrage comptes actifs, Dany De Bontridder, 2019/09/04
- [Noalyss-commit] [noalyss] 20/27: Task #0001731: Moyen de paiement , bug in ajax , if ledger==ODS a category of card is mandatory, Dany De Bontridder, 2019/09/04
- [Noalyss-commit] [noalyss] 21/27: Data_SQL Add database indication, Dany De Bontridder, 2019/09/04
- [Noalyss-commit] [noalyss] 02/27: Task #0001736: PHP7 comptability : count() works only with array, Dany De Bontridder, 2019/09/04
- [Noalyss-commit] [noalyss] 26/27: Database_Core add function with the number of cols, Dany De Bontridder, 2019/09/04
- [Noalyss-commit] [noalyss] 07/27: #0001584: En mode «optionnelle», afficher si CA ventilée ou non. Ajout symbole "contient", Dany De Bontridder, 2019/09/04
- [Noalyss-commit] [noalyss] 11/27: layout,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 27/27: Merge branch 'dev7109', Dany De Bontridder, 2019/09/04
- [Noalyss-commit] [noalyss] 05/27: Security : avoid direct call to Http Variable, Dany De Bontridder, 2019/09/04
- [Noalyss-commit] [noalyss] 19/27: #0001735: icone warning, Dany De Bontridder, 2019/09/04
- [Noalyss-commit] [noalyss] 13/27: Missing files for #1369: Étendre la comptabilité analytique à tous les postes?, Dany De Bontridder, 2019/09/04
- [Noalyss-commit] [noalyss] 10/27: #0001711: Gros souci comptanal Montant compté en absolu, Dany De Bontridder, 2019/09/04
- [Noalyss-commit] [noalyss] 15/27: @0001735: icone poubelle catégorie de fiche, Dany De Bontridder, 2019/09/04
- [Noalyss-commit] [noalyss] 17/27: #0001735: icone poubelle catégorie de fiche, Dany De Bontridder, 2019/09/04
- [Noalyss-commit] [noalyss] 22/27: translate, Dany De Bontridder, 2019/09/04
- [Noalyss-commit] [noalyss] 23/27: Data_SQL add the member, Dany De Bontridder, 2019/09/04
- [Noalyss-commit] [noalyss] 16/27: #0001736: PHP7 comptability + translation, Dany De Bontridder, 2019/09/04