@extends('frontend.layouts.master') @section('page-body')
| Request ID | {{ $oosRequest->reference() }} |
|---|---|
| Status | {{ \App\Models\backend\OosRequest::$status[$oosRequest->status] ?? $oosRequest->status }} |
| Date | {{ $oosRequest->created_at->format('d-m-Y H:i') }} |
| Fulfillment | {{ ucfirst($oosRequest->fulfillment_type) }} @if($oosRequest->fulfillment_type === 'pickup' && $oosRequest->branch) — {{ $oosRequest->branch->name }} ({{ $oosRequest->branch->city }}) @elseif($oosRequest->fulfillment_type === 'delivery') — {{ $oosRequest->delivery_city }} @endif |
| Notes | {{ $oosRequest->order_notes ?: '—' }} |
| Live Order | UF-{{ str_pad($oosRequest->converted_order_id, 4, '0', STR_PAD_LEFT) }} |
| Product | Color | Size | Qty | Est. Unit Price | Est. Total Price |
|---|---|---|---|---|---|
| {{ $line['item']->name }} | {{ $line['item']->color }} | {{ $line['item']->size }} | {{ $line['item']->quantity }} | SAR {{ number_format($line['unit_price'], 2) }} | SAR {{ number_format($line['line_total'], 2) }} |
Estimated total (current prices): SAR {{ number_format($totals['grand_total'], 2) }}. Final amount is set when the order is sent live.
@endif