FIX : Tax_Summary->check fails when there is no data, check was not correct

This commit is contained in:
sparkyx 2024-12-07 10:02:01 +01:00
parent 86321e5666
commit b1a3c77a8f

View file

@ -145,7 +145,9 @@ class Tax_Summary
", [$this->date_start, $this->date_end]);
if ($cnt==0 && $cnt_ledger !=0)
{
throw new Exception('TX148:'_("Données manquantes"),100);
throw new Exception('TX148:'._("Données manquantes"),100);
}
/* -------------Purchase --------------------------------- */