Booking Details
{{ Session::get('success') ?? Session::get('danger') }}
| Sno. | User Name | Service Name | Subservice Name | Time Period | Subservice Variant Name | Booking Date | Start Date | End Date | No of Days | Price | Total Amount | Order Address | Status | Action |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ ($bookings->currentPage() - 1) * $bookings->perPage() + $loop->iteration }} | {{ $booking->user->name ?? 'N/A' }} | {{ $booking->service->service_name ?? 'N/A' }} | {{ $booking->subservice->subservice_name ?? 'N/A' }} | {{ $booking->timepackage->time_period ?? 'N/A' }}h | {{ $booking->subservicevariant->designation ?? 'N/A' }} | {{ $booking->date }} | {{ $booking->start_date }} | {{ $booking->end_date }} | {{ $booking->total_days }} | {{ $booking->service_price }} | {{ $booking->total_amount }} | {{ $booking->patientaddressdetails->full_name }}, {{ $booking->patientaddressdetails->mobile }}, {{ $booking->patientaddressdetails->address }}, {{ $booking->patientaddressdetails->locality }}, {{ $booking->patientaddressdetails->pincode }}, {{ $booking->patientaddressdetails->city->city_name }}, {{ $booking->patientaddressdetails->dist->dist_name }}, {{ $booking->patientaddressdetails->state->state_name }} | @if (trim($booking->status) == '0') @elseif (trim($booking->status) === '2') @if($booking->is_admin == 1) Approved @else Approved By {{ $booking->vendor->company_name ?? 'Vendor' }} @endif @elseif (trim($booking->status) === '3') @if($booking->is_admin == 1) In progress @else In progress By {{ $booking->vendor->company_name ?? 'Vendor' }} @endif @elseif (trim($booking->status) === '4') @if($booking->is_admin == 1) Completed @else Completed By {{ $booking->vendor->company_name ?? 'Vendor' }} @endif @elseif (trim($booking->status) === '5') @if($booking->is_admin == 1) Rejected @else Rejected By {{ $booking->vendor->company_name ?? 'Vendor' }} @endif @endif | @if($booking->is_admin == 1) Update Status @endif |
{{ $bookings->links('pagination::bootstrap-4') }}