Getting error when. assign sales owner try to open that particular lead
-
ErrorException
PHP 8.1.29
10.48.20
Undefined variable $userIds -
Same error here.
when the lead it's assigned to user, these user can't open the lead.
{ $lead = $this->leadRepository->findOrFail($id); if ( $userIds = bouncer()->getAuthorizedUserIds() && ! in_array($lead->user_id, $userIds) ) { return redirect()->route('admin.leads.index'); } return view('admin::leads.view', compact('lead'));
-