@if(Auth::user()->userTypeId==1) @include('user-web.layouts.sidebar') @else @include('business.layouts.sidebar') @endif
@include('user-web.layouts.story')
@if(Auth::User()->userTypeId==2) @foreach($results as $data => $feeds) @php $user=MstUser::where('userId',$feeds->userId)->first(); $business = Business::where('businessId',$feeds->userId)->first(); $url_image = $user->profileImageUrl??$business->logoImageUrl??""; $userName=$user->userName??$business->businessName??""; $userPic='https://hapiverse.com/'.$url_image ; @endphp

{{$userName}}

{{date('d-M-Y h:i A',strtotime($feeds->posted_date))}}

{{$feeds->caption}}

@if(!empty($feeds-> text_back_ground))
{{ $feeds-> caption}}
@endif @foreach ($feeds->postImage as $image) @php $fileName = $image->postFileUrl; $fileNameParts = explode('.', $fileName); $ext = end($fileNameParts); @endphp @if ($ext == "jpg" || $ext == "png" || $ext == "webp" || $ext == "jpeg") @else
@endif @endforeach
@endforeach
We have not any more data yet
@endif
@if(Auth::User()->userTypeId==1)

Match Alert

  • {{$covid->covidStatus ?? ""}}

  • {{$covid->date ?? ""}}

@else

About

  • {{$businessDetail->city}}, {{$businessDetail->country}}

  • @foreach($workingHours as $hour)

    {{$hour->day}}

    Open: {{$hour->openTime}}

    Close :{{$hour->closeTime}}

    @endforeach
  • {{$businessDetail->businessContact}}

  • {{$businessDetail->businessType}}

@endif