/home/techb158/ileadtechnology.com/SSM/app/Policies/reception
NameSizeModeActions
CallLogPolicy.php20060644editdlrm
ComplaintPolicy.php20300644editdlrm
EnquiryPolicy.php19890644editdlrm
GatePassPolicy.php20300644editdlrm
PostalRecord.php21260644editdlrm
VisitorLogPolicy.php20790644editdlrm
VisitorMessagePolicy.php12480644editdlrm
Edit: /home/techb158/ileadtechnology.com/SSM/app/Policies/reception/CallLogPolicy.php (2006B)
can('create-call-log') || $user->can('edit-call-log'); } /** * Determine whether the user can list all the call log. * * @param \App\User $user * @param \App\Models\Reception\CallLog $call_log * @return mixed */ public function list(User $user) { return $user->can('list-call-log'); } /** * Determine whether the user can create call log. * * @param \App\User $user * @return mixed */ public function create(User $user) { return $user->can('create-call-log'); } /** * Determine whether the user can view the call log. * * @param \App\User $user * @param \App\Models\Reception\CallLog $call_log * @return mixed */ public function show(User $user) { return $user->can('list-call-log'); } /** * Determine whether the user can update the call log. * * @param \App\User $user * @param \App\Models\Reception\CallLog $call_log * @return mixed */ public function update(User $user) { return $user->can('edit-call-log'); } /** * Determine whether the user can delete the call log. * * @param \App\User $user * @param \App\Models\Reception\CallLog $call_log * @return mixed */ public function delete(User $user) { return $user->can('delete-call-log'); } }