mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-11 13:42:49 +01:00
Prevent updating archived invoice
This commit is contained in:
parent
43eca6eee0
commit
2baf342c85
@ -1316,6 +1316,10 @@
|
||||
return false;
|
||||
}
|
||||
|
||||
@if ($invoice->trashed())
|
||||
return false;
|
||||
@endif
|
||||
|
||||
// check invoice number is unique
|
||||
if ($('.invoice-number').hasClass('has-error')) {
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user