@extends('layouts.master') @section('title', 'Souvenir Request Summary Form') @section('script') @endsection @section('content') @include('layouts.sidebar') @include('layouts.header-sub')
@yield('title')
@csrf {{-- Order Code --}}
เลขที่คำขอเบิก
{{ $order->order_code }}
{{-- Error --}} @if ($errors->any())
@foreach ($errors->all() as $error)
{{ $error }}
@endforeach
@endif {{-- 🔥 แจ้ง Premium --}} @if ($hasPremium)
กรุณาระบุวัตถุประสงค์สำหรับรายการ Premium เท่านั้น
@endif {{-- TABLE --}}
@foreach ($products as $i => $item) {{-- 🔥 PURPOSE เฉพาะ Premium --}} @if ($item->product_type == '7') @endif @endforeach
No. Image Name Qty Unit Price Total
{{ $i + 1 }} @if ($item->product_type == '7')
Premium
@endif
{{ $item->product_name }} {{ $item->quantity }} {{ number_format($item->product_current_unit_price, 2) }} {{ number_format($item->quantity * $item->product_current_unit_price, 2) }}
Total Qty {{ $totalQty }} Total {{ number_format($total, 2) }}

{{-- FORM --}}
{{-- DELIVERY --}}
{{-- SUBMIT --}}
Cancel
@include('layouts.footer') @endsection