@extends('backend.admin-master') @section('style') @include('backend.partials.datatable.style-enqueue') @endsection @section('site-title') {{__('All Appointments Booking')}} @endsection @section('content')

{{__('All Appointments Booking')}}

@foreach($all_booking as $data) @endforeach
{{__('ID')}} {{__('Appointment Title')}} {{__('Price')}} {{__('Booking Times')}} {{__('Date')}} {{__('Payment Gateway')}} {{__('Payment Status')}} {{__('Status')}} {{__('Action')}}
{{$data->id}} {{optional(optional($data->appointment)->lang)->title ?? __("Untitled")}} {{amount_with_currency_symbol($data->total)}} {{optional($data->booking_time)->time ?? __('Not Set')}} {{date('D,d F Y',strtotime($data->booking_date))}} {!! render_image_markup_by_attachment_id(get_static_option($data->payment_gateway.'_preview_logo'),'max-width-100') !!} @if($data->payment_gateway === 'manual_payment' && $data->payment_status === 'pending') @endif @if( $data->payment_status === 'pending' && !empty($data->user_id)) @endif @if(!empty($data->manual_payment_attachment)) {{__('View Attachment')}} @endif
@endsection @section('script') @include('backend.partials.datatable.script-enqueue') @include('backend.partials.bulk-action',['action' =>route('admin.appointment.booking.bulk.action') ]) @endsection