@if(Auth::user()->userTypeId==1)
@include('user-web.layouts.sidebar')
@else
@include('business.layouts.sidebar')
@endif
-
@foreach($locations as $location)
@php
$profile_image_url = $location->getUserDetail->profileImageUrl??"";
@endphp
- @endforeach
-
@foreach($requests as $request)
@php
$profileImageUrl = "";
$requestDetails = MstUser::where("userId",$request->requesterId)->get();
foreach($requestDetails as $requestDetail){
$requestName = $requestDetail->userName;
$profileImageUrl = $requestDetail->profileImageUrl??"";
}
@endphp
- @endforeach