mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 13:12:50 +01:00
Fixes for purchase orders
This commit is contained in:
parent
9e7375a127
commit
e04deab52d
@ -46,7 +46,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…
Reference in New Issue
Block a user