@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 PO Supplier : {{ $poSupplierInvoice->formatted_eta_date }}
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'] }}

Invoice Material Details
@csrf
@foreach ($poSupplierInvoice->details as $detail) @endforeach
Material Fullname Material Code Material Name Material UoM Qty Order 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('faktur')
{{ $message }}
@enderror
@error('actual_date')
{{ $message }}
@enderror
@error('divisi_code')
{{ $message }}
@enderror

Are you sure want to create this ? .

After you click Yes, you will receive Good Receive with material with all your inputed data

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 Faktur Pajak Material Fullname Material Code Material UoM Qty Receive Action
{{ $gr->no }} {{ $gr->date }} {{ $gr->actual_date }} {{ $gr->faktur }} @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 }}
  • Are you sure want to delete this ?

    @csrf @method('DELETE')

Are you sure want to complete this ? .

Once you complete, all material will fill the Stock Database

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