@section('title', (isset($page_title) ? $page_title . ' | ' : '') . config('app.name')) @section('breadcrumb', isset($page_title) ? $page_title : '')
{{ $page_title }}
{{-- View Invoice --}}
Booking Information
Booking ID {{ $data->booking_id }}
Status {{ ucfirst($data->status) }}
Booking Date {{ \Carbon\Carbon::parse($data->created_at)->format('d M Y, h:i A') }}
Pickup Date {{ \Carbon\Carbon::parse($data->pickup_date)->format('d M Y') }}
Pickup Time {{ \Carbon\Carbon::parse($data->pickup_time)->format('h:i A') }}
@if($data->description)
Description {{ $data->description }}
@endif @if($data->cancellation_reason)
Cancellation Reason {{ $data->cancellation_reason }}
@endif
Customer Information
Name {{ $data->getUser->name }}
Phone {{ $data->getUser->phone }}
@if($data->getUser->email)
Email {{ $data->getUser->email }}
@endif
Account Type {{ ucfirst($data->getUser->type) }}
@if($data->getUser->phone_verified_at)
Phone Verified
@endif
Courier Service
Service {{ $data->getCourier->name }}
Type {{ $data->courier_type }}
Weight Range {{ $data->getCourier->weight_range }}
Service Price ₹{{ number_format($data->getCourier->price, 2) }}
@if($data->getCourier->description)
Service Description {{ $data->getCourier->description }}
@endif
Location Details
Pickup Location

{{ $data->getDestinationFrom->name }}, {{ $data->getDestinationFrom->state }}

{{ $data->pickup_from_address }}

Drop Location

{{ $data->getDestinationTo->name }}, {{ $data->getDestinationTo->state }}

{{ $data->drop_to_address }}

Package Details
Dimensions {{ $data->length }} × {{ $data->width }} × {{ $data->height }}
Weight {{ $data->weight }}
Payment Details
Payment Method {{ ucfirst($data->payment_method) }}
Total Amount ₹{{ number_format($data->total_amount, 2) }}
Booking Amount ₹{{ number_format($data->booking_amount, 2) }}
Paid Amount ₹{{ number_format($data->paid_amount, 2) }}

Remaining Amount ₹{{ number_format($data->remaining_amount, 2) }} @if($data->remaining_amount > 0) @else @endif
{{-- --}}