@php $order = $getRecord(); $order->load(['user', 'branch', 'car', 'address', 'washService', 'coupon', 'orderAddons.addon', 'subscription.package', 'rating.branch', 'rating.washService', 'rating.washer']); @endphp
Order #{{ $order->order_number }}
Status
{{ $order->status->label() }}
Scheduled At
{{ $order->scheduled_at->format('d/m/Y H:i') }}
Duration
{{ $order->duration_minutes }} minutes
Payment Method
{{ ucfirst(str_replace('_', ' ', $order->payment_method)) }}
Customer Name
{{ $order->user->name }}
Phone Number
{{ $order->user->phone_number }}
Vehicle
{{ $order->car->full_name }}
License Plate
{{ $order->car->license_plate }}
Address Name
{{ $order->address->name }}
Address Details
{{ $order->address->address_details }}
Wash Service
{{ $order->washService->name }}
Description
{!! nl2br(e($order->washService->description)) !!}
Addons
| Wash Service Price: | {{ number_format($order->wash_service_price, 2) }} EGP @if($order->original_wash_service_price && $order->original_wash_service_price > 0) (Original: {{ number_format($order->original_wash_service_price, 2) }} EGP) @endif |
| Addons Total: | {{ number_format($order->addons_total_price, 2) }} EGP |
| Discount: | - {{ number_format($order->discount_amount, 2) }} EGP |
| Coupon: {{ $order->coupon->code }} | |
| Subscription: {{ $order->subscription->package->title ?? 'N/A' }} (Remaining: {{ $order->subscription->remaining_washes }} washes) | |
| Final Total: | {{ number_format($order->final_total_price, 2) }} EGP |
Package
{{ $order->subscription->package->title ?? 'N/A' }}
Total Washes
{{ $order->subscription->total_washes }}
Used Washes
{{ $order->subscription->total_washes - $order->subscription->remaining_washes }}
Remaining Washes
{{ $order->subscription->remaining_washes }}
Expiry Date
{{ $order->subscription->expiry_date->format('d/m/Y') }}
Worker Rating
{{ $order->rating->worker_rate }}/5 ⭐
Quality Rating
{{ $order->rating->quality_rate }}/5 ⭐
Time Rating
{{ $order->rating->time_rate }}/5 ⭐
Average Rating
{{ number_format($order->rating->average_rating, 1) }}/5 ⭐
Notes
{!! nl2br(e($order->rating->notes)) !!}
Branch: {{ $order->rating->branch->name ?? 'N/A' }}
Wash Service: {{ $order->rating->washService->name ?? 'N/A' }}
@if($order->rating->washer)Washer: {{ $order->rating->washer->name }}
@endif{!! nl2br(e($order->notes)) !!}
Order created on {{ $order->created_at->format('d/m/Y H:i') }}
@if($order->completed_at)Completed on {{ $order->completed_at->format('d/m/Y H:i') }}
@endif