@extends('layouts.app') @section('content')
| PO Buyer No | No | Date | Buyer Code | PIC | Status | Action |
|---|---|---|---|---|---|---|
| @foreach ($invoice->purchaseOrders as $poBuyer) @if (!$loop->last) {{ $poBuyer->no }}, @else {{ $poBuyer->no }} @endif @endforeach | {{ $invoice->no }} | {{ $invoice->formatted_date }} | {{ $invoice->createdBy->full_contact }} | @switch($invoice->status) @case(false) Not complete @break @case(true) Complete @break @default @endswitch | @switch($invoice->status) @case(false) @break @case(true) @break @default @endswitch |