@extends('layouts.front') @push('css') @endpush @section('content') @includeIf('partials.user.header')
@includeIf('partials.user.sidebar')

@lang('My Bookings')

@lang('All Bookings')

@foreach ($bookings as $key=>$listing)
{{ $listing->user->name }}{{ $listing->user->created_at->format('d M Y') }}
  • @if ($listing->status == 0) @lang('Pending') @elseif($listing->status == 1) @lang('Approved') @else @lang('Rejected') @endif
@lang('Listing Item'): {{ $listing->listing->name }}
@lang('Booking Date'): {{ Carbon\Carbon::parse($listing->checkin_date)->format('d M Y')}} {{ $listing->type == 'hotel' ? ' -- '.Carbon\Carbon::parse($listing->checkout_date)->format('d M Y') : ''}}
@if ($listing->type == 'beauty')
@lang('Service Name'): {{ $listing->service->service_name }}
@if ($listing->note)
@lang('Note'): {{ $listing->note }}
@endif @endif @if ($listing->type != 'beauty')
@lang('Member'): {{ $listing->adults }} @lang('Adults'), {{ $listing->kids }} @lang('Child')
@endif
@lang('Mail'): {{ $listing->user->name }}
@lang('Phone'): {{ $listing->user->phone }}
@endforeach
@php echo $gs->copyright; @endphp
@endsection @push('js') @endpush