@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
@csrf
@foreach ($poSubconInvoice->po->details->where('is_additional', false) as $detail) @endforeach
Material Fullname Material Code Material Name Material UoM Qty Qty Received Qty Receive
{{ $detail->material->formatted_material }} {{ $detail->material_code }} {{ $detail->material->name }} {{ $detail->material->uom_code }} {{ $detail->qty }} {{ $detail->qty_received }} @error('qty.' . $detail->id)
{{ $message }}
@enderror
@error('qty')
{{ $message }}
@enderror
@error('send_to_divisi')
{{ $message }}
@enderror

Are you sure want to create this ? .

After you click Yes, you will receive Surat Jalan with material with all your inputed data

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 Action
{{ $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 }}
  • Are you sure want to delete this ?

    @csrf @method('DELETE')

Are you sure want to complete this ? .

Once you complete, all material will increase the Stock Database

@csrf @method('PUT')
@endsection @section('js') @endsection