Fix Bug : Prévision , erreur si on soustrait un montant négatif

This commit is contained in:
Dany wm De Bontridder 2021-08-13 19:27:24 +02:00
parent 7e402e6720
commit 6116855cb6
2 changed files with 7 additions and 4 deletions

View file

@ -247,6 +247,7 @@ class ImpressTest extends TestCase
array("sum FOURNI1 Débit", "{FOURNI1-d}",221.43),
array("sum FOURNI1 Débit", "{NOTEXIST-d}",0),
array("sum FOURNI1 Débit", "{{NOTEXIST-d}}",0),
array("Double minus sign throw an error ParseError: syntax error, unexpected '--' (T_DEC) ", "[6%-S]-[6%-S]",0),
);
// ------ Periode ----------
foreach ($a_formula as $formula)