don't reset new order state if bill number should set
this prevents required save in some cases
Cette révision appartient à :
Parent
b506d4e7c7
révision
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()]);
|
||||
|
||||
|
Chargement…
Référencer dans un nouveau ticket
Block a user