@foreach($data as $item) @endforeach
Kode Tgl Po Pelanggan Nominal Keterangan
{{$item->code ?? '-'}} {{$item->date}} Code Po Pelanggan : {{$item->po_customer ? $item->po_customer->code : '-' }}
@if($item->po_customer) Pelanggan : {{$item->po_customer->customer ? $item->po_customer->customer->name : '-'}}
@else - @endif
{{number_format($item->amount ?? 0,2,',','.')}} {{$item->description}}