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

Invoice No : {{ $poSupplierInvoice->no }}

Date : {{ $poSupplierInvoice->formatted_date }}

@switch($poSupplierInvoice->gr_status) @case(false) Not complete @break @case(true) Complete @break @default @endswitch
{{-- --}}
BC No : {{ $poSupplierInvoice->bc_data['no'] }}
BC Type : {{ $poSupplierInvoice->bc_data['type'] }}
BC Date : {{ $poSupplierInvoice->bc_data['date'] }}
Supplier Code : {{ $poSupplierInvoice->supplier_code }}
ETA Date : {{ $poSupplierInvoice->formatted_eta_date }}
Invoice PIC : {{ $poSupplierInvoice->createdBy->full_contact }}
Nomor Polisi : {{ $poSupplierInvoice->bc_data['nopol'] }}
Pengangkut : {{ $poSupplierInvoice->bc_data['pengangkut'] }}
Forwarder : {{ $poSupplierInvoice->bc_data['forwarder'] }}
Nama Kapal : {{ $poSupplierInvoice->bc_data['nama_kapal'] }}
AWB : {{ $poSupplierInvoice->bc_data['awb'] }}
ETA Invoice : {{ $poSupplierInvoice->bc_data['eta'] }}
ETD : {{ $poSupplierInvoice->bc_data['etd'] }}
No Karantina : {{ $poSupplierInvoice->bc_data['no_karantina'] }}
Tanggal Karantina : {{ $poSupplierInvoice->bc_data['tanggal_karantina'] }}
No Kontainer : {{ $poSupplierInvoice->bc_data['no_kontainer'] }}
Jumlah Kontainer : {{ $poSupplierInvoice->bc_data['jumlah_kontainer'] }}
@foreach ($poSupplierInvoice->details as $detail) @endforeach
Material Fullname Material Code Material Name Material UoM Qty Order
{{ $detail->material->formatted_material }} {{ $detail->material_code }} {{ $detail->material->name }} {{ $detail->material->uom_code }} {{ $detail->qty }}

List Good Receive

Below is the list of Good Receives that you have created on this page.

@foreach ($poSupplierInvoice->grs as $gr) @php $details = $gr->details; @endphp @endforeach
No Date Actual Date Material Fullname Material Code Material UoM Qty Receive PIC Approved by Approved at
{{ $gr->no }} {{ $gr->date }} {{ $gr->actual_date }} @foreach ($details as $fullname) @endforeach
{{ $fullname->material->formatted_material }}
@foreach ($details as $material) @endforeach
{{ $material->material_code }}
@foreach ($details as $uom) @endforeach
{{ $uom->material->uom_code }}
@foreach ($details as $qty) @endforeach
{{ $qty->qty }}
{{ $gr->createdBy->full_contact }} {{ $gr->approvedBy->full_contact }} {{ $gr->formatted_approved_at }}
@endsection @section('js') @endsection