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

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

Date : {{ $poSubconInvoice->formatted_date }}

@switch($poSubconInvoice->gr_status) @case(false) Not complete @break @case(true) Complete @break @default @endswitch
{{-- --}}
BC No : {{ $poSubconInvoice->bc['no'] }}
BC Type : {{ $poSubconInvoice->bc['type'] }}
BC Date : {{ $poSubconInvoice->bc['date'] }}
Supplier Code : {{ $poSubconInvoice->po->supplier_code }}
ETA Date : {{ $poSubconInvoice->po->formatted_eta_date }}
Subcon Material Receive
This is list material you need to receive
@foreach ($poSubconInvoice->po->details as $detail) @endforeach
Material Fullname Material Code Material Name Material UoM Qty Qty Received
{{ $detail->material->formatted_material }} {{ $detail->material_code }} {{ $detail->material->name }} {{ $detail->material->uom_code }} {{ $detail->qty }} {{ $detail->qty_received }}

List Surat Jalan In

Below is the list of Surat Jalan In that you have created on this page.

@foreach ($poSubconInvoice->suratJalanIns as $sj) @php $details = $sj->details; @endphp @endforeach
No Date Material Fullname Material Code Material UoM Qty Send Send To
{{ $sj->no }} {{ $sj->formatted_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 }}
{{ $sj->send_to_divisi }}
@endsection @section('js') @endsection