@extends('frontend.layouts.master') @section('page-body')
| Booking ID | {{ 'UF-'. str_pad($customOrder['id'], 4, '0', STR_PAD_LEFT) }} |
| Status | @php $statusColors = [ 0 => 'primary', 1 => 'info', 2 => 'secondary', 3 => 'warning', 4 => 'success', 5 => 'danger', 6 => 'dark', 7 => 'danger', ]; @endphp{{ $status[$customOrder->order_status] ?? 'Unknown' }} |
| Company Name | {{$customOrder->user->company_name??''}} |
| Vat Number | {{$customOrder->vat_number}} |
| Contact Person | {{$customOrder->user->name??''}} |
| {{$customOrder->user->email??''}} | |
| Phone | {{$customOrder->user->phone_number??''}} |
| Country | {{$customOrder->user->country??''}} |
| City | {{$customOrder->user->city}} |
| Complete Address | {{$customOrder->user->complete_address}} |
| Booking Date | {{$customOrder->created_at->format('d-m-Y @ h:i a')}} |
| Instruction | {{$customOrder->order_notes}} |
| Full Return | |
| Return Items | |
| Exchange Size | |
| Order Cancelled | |
| Cancelled By | {{ ucfirst($customOrder->cancelled_by) }} |
| Date | {{ $customOrder->cancelled_at?->format('d M Y @ h:i A') }} |
| Reason | {{ $customOrder->cancel_reason }} |
| Refund Status | @if($customOrder->refund_status === 'pending') Pending @elseif($customOrder->refund_status === 'processed') Refunded @else No Refund Required @endif |
| Order Price | {{ config('constants.currency_symbol') }} {{ number_format($baseTotal, 0) }} |
| Customisation | {{ config('constants.currency_symbol') }} {{ number_format($customisationTotal, 0) }} |
| Fulfillment |
@if(($customOrder->fulfillment_type ?? '') === 'pickup')
Branch Pickup
@if($customOrder->branch)
{{ $customOrder->branch->name }}
@endif
@elseif(($customOrder->fulfillment_type ?? '') === 'delivery')
Home Delivery
@if($customOrder->delivery_city)
{{ $customOrder->delivery_city }}
@endif
@else
—
@endif
|
| Delivery Fee | {{ config('constants.currency_symbol') }} {{ number_format($customOrder->delivery_fee ?? 0, 0) }} |
| Cash Handling Charges | {{ config('constants.currency_symbol') }} {{ number_format((float) $customOrder->payment_fee, 0) }} |
| {{ !empty($customOrder->prices_include_vat) ? 'VAT included (15%)' : 'Vat (15%)' }} | {{ config('constants.currency_symbol') }} {{ number_format($customOrder->vat, 0) }} |
| Order Total Price | {{ config('constants.currency_symbol') }} {{ number_format($customOrder->amount, 0) }} |
| Payment Method | @if($customOrder->payment_method == 'card') Card Payment @elseif($customOrder->payment_method == 'bank') {{ $customOrder->paymentMethodLabel() }} @if((float) ($customOrder->store_credit_used ?? 0) > 0) + Store Credit @endif @elseif($customOrder->payment_method == 'cod') Cash @if((float) ($customOrder->store_credit_used ?? 0) > 0) + Store Credit @endif @elseif($customOrder->payment_method == 'store_credit') Store Credit @else Unknown @endif |
|---|---|
| Store Credit Used | SAR {{ number_format((float) $customOrder->store_credit_used, 2) }} |
| Amount via {{ $customOrder->payment_method === 'store_credit' ? 'Credit' : ($customOrder->payment_method === 'cod' ? 'Cash' : 'Bank') }} | SAR {{ number_format(max(0, (float) $customOrder->amount - (float) $customOrder->store_credit_used), 2) }} |
| Payment Status | @if($customOrder->amount_status == 'succeeded') Paid @elseif($customOrder->amount_status == 'rejected') Rejected @else Pending @endif |
| Payment Receipt | |
| Invoice | Download |
| Size & Color | Quantity | Logo Method | Logo Style | Logo / Text | Logo Placements |
|---|---|---|---|---|---|
| {{ $pdetail['size'] }} ({{ $pdetail['color'] }}) | {{ $pdetail['quantity'] }} | {{ $pdetail['logo_method'] ? Str::ucfirst($pdetail['logo_method']) : 'N/A' }} | {{ $pdetail['logo_style'] ? Str::ucfirst($pdetail['logo_style']) : 'N/A' }} | @if(($pdetail['logo_style'] ?? '') === 'Text' || (!empty($pdetail['logo_text']) && empty($pdetail['logo_file']))) {{ $pdetail['logo_text'] ?: '-' }} @elseif(!empty($pdetail['logo_file'])) View/Download @else - @endif | {{ is_array($pdetail['placements']) ? implode(', ', array_column($pdetail['placements'], 'name')) : $pdetail['placements'] }} |
Thank you for sharing your experience with us.
{{ $feedback->rating }} out of 5
{{ $feedback->comment }}
We value your feedback
You can submit feedback only after your order has been Delivered.
| Type | {{ $returnRequest->typeLabel() }} |
| Request Status | @if($returnRequest->status === 'pending') Pending @elseif($returnRequest->status === 'approved' && $returnRequest->isItemLevel() && !$returnRequest->goods_received_at) Approved — return items @elseif($returnRequest->status === 'approved' && $returnRequest->payment_status === 'pending') Awaiting payment @elseif($returnRequest->status === 'approved') Approved @elseif($returnRequest->status === 'rejected') Rejected @else Processed @endif |
| Method | {{ $returnRequest->methodLabel() }} |
| Amount | SAR {{ number_format((float) $returnRequest->amount, 2) }} |
| Amount Payable | SAR {{ number_format((float) $returnRequest->amount_due, 2) }} |
| Refund Amount | SAR {{ number_format((float) $returnRequest->amount_refund, 2) }} |
| Replacement Delivery | SAR {{ number_format((float) $returnRequest->exchange_delivery_fee, 2) }} |
| Reason | {{ $returnRequest->reason }} |
| Requested At | {{ $returnRequest->created_at?->format('d M Y @ h:i A') }} |
| Items |
@foreach($returnRequest->items as $line)
{{ $line->orderItem->name ?? 'Item' }}
({{ $line->original_size }}{{ $line->new_size ? ' → '.$line->new_size : '' }})
× {{ $line->quantity }}
@if(!$loop->last) @endif @endforeach |
| Account Holder | {{ $returnRequest->account_holder }} |
| Bank Name | {{ $returnRequest->bank_name }} |
| IBAN | {{ $returnRequest->iban }} |
| Account Number | {{ $returnRequest->account_number }} |
| SWIFT | {{ $returnRequest->swift ?: '—' }} |
| Rejection Reason | {{ $returnRequest->rejected_reason }} |
| Admin Notes | {{ $returnRequest->admin_notes }} |
| Refund Receipt | View Receipt |
| Payment Receipt | View Receipt |
| Approved At | {{ $returnRequest->approved_at->format('d M Y @ h:i A') }} |
| Goods Received | {{ $returnRequest->goods_received_at->format('d M Y @ h:i A') }} |
| Processed At | {{ $returnRequest->processed_at->format('d M Y @ h:i A') }} |
| Pay Difference / Delivery |