Fix bad var
This commit is contained in:
parent
7a6edfd61f
commit
c7f38c4cf0
@ -148,7 +148,7 @@ if ($action == 'confirm_valide' && $confirm == 'yes' && $user->rights->facture->
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($invoice->generateDocument($fac->modelpdf, $outputlangs, $hidedetails, $hidedesc, $hideref) < 0) {
|
if ($invoice->generateDocument($invoice->modelpdf, $outputlangs, $hidedetails, $hidedesc, $hideref) < 0) {
|
||||||
$errors++;
|
$errors++;
|
||||||
setEventMessage($invoice->error, $invoice->errors, 'errors');
|
setEventMessage($invoice->error, $invoice->errors, 'errors');
|
||||||
break;
|
break;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user