Prevent updating invoice with archived client

This commit is contained in:
Hillel Coren 2017-09-06 14:13:21 +03:00
parent a48a493a3b
commit 7a2b167be1

View File

@ -1389,7 +1389,7 @@
return false;
}
@if ($invoice->is_deleted)
@if ($invoice->is_deleted || $invoice->isClientTrashed())
if ($('#bulk_action').val() != 'restore') {
return false;
}