mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Prevent updating archived invoice
This commit is contained in:
parent
32f341f448
commit
ce07764388
@ -1334,6 +1334,10 @@
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@if ($invoice->trashed())
|
||||||
|
return false;
|
||||||
|
@endif
|
||||||
|
|
||||||
// check invoice number is unique
|
// check invoice number is unique
|
||||||
if ($('.invoice-number').hasClass('has-error')) {
|
if ($('.invoice-number').hasClass('has-error')) {
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user