@extends('layouts.app') @section('content')

Finish Good : show

Page for show Finish Good

PO Buyer No : @foreach ($poBuyerInvoice->purchaseOrders as $po) {{ $po->no }} @endforeach
Invoice No : {{ $poBuyerInvoice->no }}
Invoice Date : {{ $poBuyerInvoice->date }}
Buyer Code : {{ $poBuyerInvoice->buyer_code }}
Invoice PIC : {{ $poBuyerInvoice->createdBy->full_contact }}
BC Type : {{ $poBuyerInvoice->bc_data['type'] }}
BC No : {{ $poBuyerInvoice->bc_data['no'] }}
BC Date : {{ $poBuyerInvoice->bc_data['date'] }}
Nomor Polisi : {{ $poBuyerInvoice->bc_data['nopol'] }}
Pengangkut : {{ $poBuyerInvoice->bc_data['pengangkut'] }}
Forwarder : {{ $poBuyerInvoice->bc_data['forwarder'] }}
Nama Kapal : {{ $poBuyerInvoice->bc_data['nama_kapal'] }}
AWB : {{ $poBuyerInvoice->bc_data['awb'] }}
ETA : {{ $poBuyerInvoice->bc_data['eta'] }}
ETD : {{ $poBuyerInvoice->bc_data['etd'] }}
No Karantina : {{ $poBuyerInvoice->bc_data['no_karantina'] }}
Tanggal Karantina : {{ $poBuyerInvoice->bc_data['tanggal_karantina'] }}
No Kontainer : {{ $poBuyerInvoice->bc_data['no_kontainer'] }}
Jumlah Kontainer : {{ $poBuyerInvoice->bc_data['jumlah_kontainer'] }}

List Material to Send

Below is the list of materials need to send.

@foreach ($poBuyerInvoice->details as $detail) @endforeach
Material Fullname Material Code Material Name Material Type Material UoM Qty Qty Sent
{{ $detail->material->formatted_material }} {{ $detail->material_code }} {{ $detail->material->name }} {{ $detail->material->material_type_code }} {{ $detail->material->uom_code }} {{ $detail->qty }} {{ $detail->qty_send }}

List Delivery Order

Below is the list of Delivery Order that you have created on this page.

@foreach ($poBuyerInvoice->finishGoods as $finishGood) @php $details = $finishGood->details; @endphp @endforeach
No Date Material Fullname Material Code Material Name Material UoM Qty Send Take From PIC Completed by Completed at Action
{{ $finishGood->no }} {{ $finishGood->formatted_date }} @foreach ($details as $fullname) @endforeach
{{ $fullname->material->formatted_material }}
@foreach ($details as $material) @endforeach
{{ $material->material_code }}
@foreach ($details as $material) @endforeach
{{ $material->material->name }}
@foreach ($details as $uom) @endforeach
{{ $uom->material->uom_code }}
@foreach ($details as $qty) @endforeach
{{ $qty->qty }}
{{ $finishGood->take_from_divisi }} {{ $finishGood->createdBy->full_contact }} {{ $finishGood->approvedBy->full_contact }} {{ $finishGood->formatted_approved_at }} Print
@endsection @section('js') @endsection