mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Prevent updating invoice with archived client
This commit is contained in:
parent
a48a493a3b
commit
7a2b167be1
@ -1389,7 +1389,7 @@
|
||||
return false;
|
||||
}
|
||||
|
||||
@if ($invoice->is_deleted)
|
||||
@if ($invoice->is_deleted || $invoice->isClientTrashed())
|
||||
if ($('#bulk_action').val() != 'restore') {
|
||||
return false;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user