@extends('staffs.layout') @section('content')
@includeIf('staffs.partials.languages')
@if (count($booking_item) == 0)

{{ __('NO APPOINTMENT FOUND') . '!' }}

@else
@foreach ($booking_item as $item) @endforeach
{{ __('Booking ID.') }} {{ __('Service Title') }} {{ __('Appointment Date') }} {{ __('Appointment Time') }} {{ __('Meeting') }} {{ __('Order Status') }} {{ __('Customer') }} {{ __('Refund Status') }} {{ __('Action') }}
{{ '#' . $item->order_number }} @if ($item->serviceContent->isNotEmpty()) @foreach ($item->serviceContent as $content) {{ truncateString($content->name, 30) }} @endforeach @else {{ '-' }} @endif {{ \Carbon\Carbon::parse($item->booking_date)->format('M d, Y') }} {{ $item->start_date }} - {{ $item->end_date }} @if ($item->order_status != 'rejected') @if ($item->zoom_info) @php $zoom_link = json_decode($item->zoom_info, true); @endphp Join @else {{ '-' }} @endif @else {{ '-' }} @endif @if ($item->order_status == 'accepted')

{{ __('Accepted') }}

@else @if ($item->order_status == 'pending')

{{ __('Pending') }}

@else

{{ __('Rejected') }}

@endif @endif
{{ $item->customer_name }}

{{ ucfirst($item->refund) }}

@endif
@endsection