Message when no financial ledger are found
This commit is contained in:
parent
214fe90b26
commit
4dd5c82ae0
1 changed files with 1 additions and 1 deletions
|
|
@ -312,7 +312,7 @@ class Acc_Ledger_Fin extends Acc_Ledger
|
|||
$add_js = 'onchange="'.$onchange.'"';
|
||||
$wLedger = $this->select_ledger('FIN', 2);
|
||||
if ($wLedger == null)
|
||||
throw Exception(_('Pas de journal disponible'));
|
||||
throw new Exception(_('Pas de journal disponible'));
|
||||
|
||||
$wLedger->javascript = $add_js;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue