@foreach($data as $item) @endforeach
Kode Tgl Pelanggan Total Discount PPN Grand Total
{{$item->code ?? '-'}} {{$item->date}} Code Po Pelanggan : {{$item->po_customer ? $item->po_customer->code : '-' }}
Pelanggan : {{$item->customer ? $item->customer->name : '-'}}
Gudang : {{$item->warehouse ? $item->warehouse->name : '-'}}
Pengguna : {{$item->user ? $item->user->username : '-'}}
{{number_format($item->total ?? 0,2,',','.')}} {{number_format($item->discount ?? 0,2,',','.')}} {{number_format($item->tax ?? 0,2,',','.')}} {{number_format($item->grand_total ?? 0,2,',','.')}}