{{ $data->hotel->name}}

{{ $data->hotel->email}}
Account Created {{ date('Y-m-d', strtotime($data->hotel->created_at)) }}
Subscription Ends {{ date('Y-m-d', strtotime($data->hotel->validity)) }}
Total Room

{{ $data->hotel->total_rooms}}

Expiration @php // Check if the subscription is still valid $endDate = Carbon\Carbon::parse($data->hotel->validity); $currentDate = Carbon\Carbon::now(); $daysLeft = round($currentDate->diffInDays($endDate, false)); @endphp Expiration: @if($daysLeft < 20) {{ $daysLeft }} days left {{ $daysLeft }} days left @endif

Subscrtiption Amount :
₦{{ number_format($data->hotel->amount)}}
Name :
{{$data->hotel->name}}
Email :
{{$data->hotel->email}}
Validity :
{{ date('Y-m-d', strtotime($data->hotel->validity)) }}
Joined :
{{auth()->user()->created_at->DiffForHumans()}}
Location :
{{$data->hotel->address}}
@if($hotels->count())

Hotel Groups

@foreach($hotels as $key => $hotel) @endforeach
Hotel Name Subscription Phone Validity
@if($hotel->cover !='') @else @endif
#000{{$key + 1}} {{$hotel->name}}
{{$hotel->slug}}
{{number_format($hotel->amount)}} {{$hotel->phone}}
{{$hotel->email}}
@if($hotel->status=='active')
{{$hotel->total_rooms}} Rooms {{ date('Y-m-d', strtotime($hotel->validity)) }}
@endif
@endif