Merge branch 'dev7400-1' into next-release-8
This commit is contained in:
commit
b9c1bdfa3e
47 changed files with 138 additions and 82 deletions
|
|
@ -1041,7 +1041,7 @@ class Acc_Ledger_Purchase extends Acc_Ledger
|
|||
}//end try
|
||||
catch (Exception $e)
|
||||
{
|
||||
record_log($e->getTraceAsString());
|
||||
record_log($e);
|
||||
echo '<span class="error">'.
|
||||
'Erreur dans l\'enregistrement '.
|
||||
__FILE__.':'.__LINE__.' '.
|
||||
|
|
@ -1149,7 +1149,7 @@ class Acc_Ledger_Purchase extends Acc_Ledger
|
|||
}
|
||||
catch (Exception $e)
|
||||
{
|
||||
record_log($e->getTraceAsString());
|
||||
record_log($e);
|
||||
if ($e->getCode() == 1 )
|
||||
{
|
||||
throw new Exception( _("Aucune période ouverte"));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue