@extends('layouts.main') @section('title', 'My Profile') @section('content')
@if(auth()->user()->role!='guest')

What you need to create

@csrf
Where
Start
 
End
 
@if($pending_booking!="") @endif
@endif
user()->role=='guest') class="mt-9" @endif>
Upcoming reservations
@if($bookings->count() > 0)
@foreach($bookings as $book)
{{date('d M, Y', strtotime($book->start_date))}} {{date('g:i A',strtotime($book->start_time))}} - {{date('d M, Y', strtotime($book->end_date))}} {{date('g:i A',strtotime($book->end_time))}}
Location Studio Equipment Resource
{{$book->loc->location}} @if($book->studioNum) Y @endif @if($book->equipNum) Y @endif @if($book->resourceNum) Y @endif
See Detail
@endforeach
@else
What you need to create
@endif
Guest invitations
@if($invitations->count() > 0)
@foreach($invitations as $inv)
@if($inv->profile_pic) @else @endif
{{date('g:i A',strtotime($inv->invitation_time))}}, {{date('d M Y', strtotime($inv->invitation_date))}}
Location My @if($inv->host_uuid==auth()->user()->uuid)Guest @else By @endif
{{ucfirst($inv->location->location)}} {{ucfirst($inv->guest->fname)}} {{ucfirst($inv->guest->lname)}}
@endforeach
@if($invcount > 3) See All @endif @else @if(in_array(auth()->user()->role,['member','admin','super-admin']))
Do you want to bring guest?

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent tristique leo vitae purus lacinia, ut euismod nulla viverra. Duis rutrum fringilla vestibulum. Quisque gravida, tortor eget accumsan aliquet.

Invite Guest Guest List
@else

No pending invitation.

@endif @endif
Related news
@if($related_news) @foreach($related_news as $rnews)
{{Str::limit($rnews->tags,20)}}
{{Str::limit($rnews->name,20)}}

{{Str::limit($rnews->heading_intro,30)}}

@if($rnews->createdBy->profile_pic) Profile @else Profile @endif
{{ucfirst($rnews->createdBy->fname)}} {{ucfirst($rnews->createdBy->lname)}}
{{date('d l Y',strtotime($rnews->created_at))}}
@endforeach @endif
Social feed
Profile
Nolan Stanton @Nolan Stanton25s
13 Places Where You Can See the Bluest Water in the World
61 12
Show this thread
Profile
Nolan Stanton @Nolan Stanton25s
13 Places Where You Can See the Bluest Water in the World
61 12
Show this thread
@include('frontend.event.upcoming-events')
@endsection