@extends('provider.layout') @section('title', 'HS Bookings') @section('content')
Manage all your home service appointments and assignments.
| Ref | Customer | Service | Scheduled | Staff | Amount | Payment | Status | Action |
|---|---|---|---|---|---|---|---|---|
| #{{ $booking->booking_ref }} | {{ $booking->user->name ?? $booking->customer_name }} | {{ $booking->service->title ?? '—' }} | {{ $booking->scheduled_date?->format('d M Y') }} {{ $booking->scheduled_time ? date('h:i A', strtotime($booking->scheduled_time)) : '' }} |
@if($booking->assignedToUser)
{{ $booking->assignedToUser->name }}
Assigned
@else
Unassigned
@endif
|
{!! \App\Helpers\CurrencyHelper::formatForProvider($booking->amount, auth()->user()) !!} |
@if($booking->payment)
{{ ucfirst($booking->payment->payment_status) }}
{{ ucfirst($booking->payment->payment_method) }}
@else
Unpaid
@endif
|
{{ ucfirst(str_replace('_',' ',$booking->status)) }} | @if($booking->status === 'pending') @elseif($booking->status === 'confirmed') @elseif($booking->status === 'in_progress') @else — @endif |
Bookings from customers will appear here.