don't reset new order state if bill number should set
this prevents required save in some cases
This commit is contained in:
bovenliggende
b506d4e7c7
commit
a8ef16a4b2
@ -54,8 +54,6 @@ class invoicePdf extends pdfdocumentsOrder implements pdfdocumentsOrderinvoiceIn
|
||||
|
||||
public function setInvoiceNumber()
|
||||
{
|
||||
$this->blIsNewOrder = false;
|
||||
|
||||
if (!$this->getOrder()->getFieldData('oxbillnr')) {
|
||||
$this->getOrder()->assign(['oxbillnr' => $this->getOrder()->getNextBillNum()]);
|
||||
|
||||
|
Laden…
Verwijs in nieuw issue
Block a user