@if(!isset($data->bookingPackage)) booking @else booking @endif
@if(!isset($data->bookingPackage)) #{{$data->id}} {{($data->service)->name}} @else #{{$data->id}} {{($data->bookingPackage)->name}} @endif
@php $rating = round($total_rating, 1); @endphp @foreach(range(1,5) as $i) @if($rating >0) @if($rating >0.5) @else @endif @endif @php $rating--; @endphp @endforeach
({{ round($total_rating,1) }})
@php $sitesetup = App\Models\Setting::where('type','site-setup')->where('key', 'site-setup')->first(); $datetime = $sitesetup ? json_decode($sitesetup->value) : null; @endphp {{date("$datetime->date_format / $datetime->time_format", strtotime($data->date))}}
{{__('landingpage.booking_detail')}}
  • {{__('landingpage.location')}}: {{$data->address}}
  • {{__('landingpage.provider')}}: {{($data->provider)->display_name}}
  • {{__('messages.status')}}: {{str_replace("_"," ",$data->status) ?? '-'}}
@if($data->total_amount > 0)
{{__('landingpage.payment_detail')}}
  • {{__('landingpage.total')}}: {{getPriceFormat($data->total_amount)}}
  • {{__('messages.method')}}: {{ optional($data->payment)->payment_type ?? '-' }}
  • {{__('messages.status')}}: @if(!empty($data->payment)) {{ str_replace("_"," ",optional($data->payment)->payment_status) ?? '-' }} @else Pending @endif
@endif