don't reset new order state if bill number should set
this prevents required save in some cases
Dieser Commit ist enthalten in:
Ursprung
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…
In neuem Issue referenzieren
Einen Benutzer sperren