mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-12 22:22:32 +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();
|
$this->trySaving();
|
||||||
break;
|
break;
|
||||||
case 'when_sent':
|
case 'when_sent':
|
||||||
if ($this->invoice->status_id == PurchaseOrder::STATUS_SENT) {
|
if ($this->purchase_order->status_id == PurchaseOrder::STATUS_SENT) {
|
||||||
$this->trySaving();
|
$this->trySaving();
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user