mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fixes for locked invoices
This commit is contained in:
parent
815c4a9660
commit
7fab6e05a4
@ -452,7 +452,7 @@ class Invoice extends BaseModel
|
|||||||
return false;
|
return false;
|
||||||
break;
|
break;
|
||||||
case 'when_sent':
|
case 'when_sent':
|
||||||
return $this->status_id == self::STATUS_DRAFT;
|
return $this->status_id == self::STATUS_SENT;
|
||||||
break;
|
break;
|
||||||
case 'when_paid':
|
case 'when_paid':
|
||||||
return $this->status_id == self::STATUS_PAID || $this->status_id == self::STATUS_PARTIAL;
|
return $this->status_id == self::STATUS_PAID || $this->status_id == self::STATUS_PARTIAL;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user