@extends('frontend.layouts.master') @section('page-body')
| Quotation ID | {{ $quotation->reference() }} |
|---|---|
| Status | {{ \App\Models\backend\Quotation::$status[$quotation->status] ?? $quotation->status }} |
| Date | {{ $quotation->created_at->format('d-m-Y H:i') }} |
| Prices valid until | {{ $quotation->valid_until?->format('d-m-Y') }} {{ $quotation->isPriceValid() ? '' : '(expired — current prices will apply if sent live)' }} |
| Grand Total | SAR {{ number_format($quotation->quoted_grand_total, 2) }} |
| Live Order | UF-{{ str_pad($quotation->converted_order_id, 4, '0', STR_PAD_LEFT) }} |
| Product | Color | Size | Qty | Unit Price | Embroidery | Total |
|---|---|---|---|---|---|---|
| {{ $item->name }} | {{ $item->color }} | {{ $item->size }} | {{ $item->quantity }} | SAR {{ number_format($item->unit_price, 2) }} | SAR {{ number_format($item->embroidery_price, 2) }} | SAR {{ number_format($item->line_total, 2) }} |