Merge branch 'v5-develop' into l9

This commit is contained in:
David Bomba 2022-07-18 07:17:23 +10:00
commit ca95b59b08

View File

@ -45,7 +45,7 @@ class ApplyNumber extends AbstractService
$this->trySaving();
break;
case 'when_sent':
if ($this->invoice->status_id == PurchaseOrder::STATUS_SENT) {
if ($this->purchase_order->status_id == PurchaseOrder::STATUS_SENT) {
$this->trySaving();
}
break;