don't reset new order state if bill number should set

this prevents required save in some cases
Cette révision appartient à :
Daniel Seifert 2020-11-20 11:52:59 +01:00
Parent b506d4e7c7
révision a8ef16a4b2

Voir le fichier

@ -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()]);