mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Merge branch 'v5-develop' into l9
This commit is contained in:
commit
ca95b59b08
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user