1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 13:12:50 +01:00

Block viewing deleted credit in the client portal

This commit is contained in:
Benjamin Beganović 2021-05-10 14:46:22 +02:00
parent 0b48630cd7
commit d28bc96b99

View File

@ -13,7 +13,7 @@ class ShowCreditRequest extends FormRequest
*/
public function authorize()
{
return true;
return !$this->credit->is_deleted;
}
/**