• Request Number {{ $po->request_number }}
  • Request Type {{ ucfirst($po->request_type) }}
  • Quotation @if(isset($po->quotation_id) && $po->quotation_id) @php $quotation = \App\Models\Quotation::find($po->quotation_id); @endphp {{ $quotation ? $quotation->name : '-' }} @else - @endif
  • Date {{ $po->date->format('Y-m-d') ?? '-' }}
  • Other Information {{ $po->other_info ?? '-' }}
  • Status {{ $po->status }}
  • Items
    @if($po->items) @php $items = is_string($po->items) ? json_decode($po->items, true) : $po->items; @endphp @if(is_array($items) && count($items) > 0) @foreach($items as $item) @if(is_array($item) && (!empty($item['material_name']) || !empty($item['quantity']))) @endif @endforeach @else @endif @else @endif
    Material Qty
    {{ $item['material_name'] ?? '-' }} {{ $item['quantity'] ?? '-' }}
    No items
    No items
  • Attached Files
    @php $files = $po->getMedia(); @endphp @if($files->count() > 0) @else

    No files attached.

    @endif