Block viewing deleted credit in the client portal
This commit is contained in:
parent
0b48630cd7
commit
d28bc96b99
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@ class ShowCreditRequest extends FormRequest
|
|||
*/
|
||||
public function authorize()
|
||||
{
|
||||
return true;
|
||||
return !$this->credit->is_deleted;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue