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

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

Date : {{ $poSubconInvoice->formatted_date }}

@switch($poSubconInvoice->sj_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 to Send
This is list material you need to send to subcontractor company
@foreach ($poSubconInvoice->po->details as $detail) @foreach ($detail->materialToSends as $materialSend) @endforeach @endforeach
Material Fullname Material Code Material Name Material UoM Qty Need to Send Qty Sent
{{ $materialSend->material->formatted_material }} {{ $materialSend->material_code }} {{ $materialSend->material->name }} {{ $materialSend->material->uom_code }} {{ $materialSend->total }} {{ $materialSend->qty_send }}

List Surat Jalan Out

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

@foreach ($poSubconInvoice->suratJalans as $sj) @php $details = $sj->details; @endphp @endforeach
No Date Material Fullname Material Code Material UoM Qty Send PIC Approved by Approved at Send From
{{ $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->createdBy->full_contact }} {{ $sj->approvedBy->full_contact }} {{ $sj->formatted_approved_at }} {{ $sj->send_from_divisi }}
@endsection @section('js') @endsection