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

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

Date : {{ $invoicePoGeneral->formatted_date }}

@switch($invoicePoGeneral->status) @case(false) Not complete @break @case(true) Complete @break @default @endswitch
Discount : {{ $invoicePoGeneral->discount }}
DP : {{ $invoicePoGeneral->dp }}
Tax : {{ $invoicePoGeneral->tax }}
BC No : {{ $invoicePoGeneral->bc_data['no'] ?? null }}
BC Date : {{ $invoicePoGeneral->bc_data['date'] ?? null }}
BC Type : {{ $invoicePoGeneral->bc_data['type'] ?? null }}
PIC : {{ $invoicePoGeneral->createdBy->full_contact }}

PO General No : {{ $invoicePoGeneral->po->no }}

Date : {{ $invoicePoGeneral->po->formatted_date }}

Supplier Code : {{ $invoicePoGeneral->po->supplier_code }}
Delivery Date : {{ $invoicePoGeneral->po->formatted_delivery_date }}
ETA Date : {{ $invoicePoGeneral->po->formatted_eta_date }}
Notes : {{ $invoicePoGeneral->po->notes }}
PO PIC : {{ $invoicePoGeneral->po->createdBy->full_contact }}
PO Approved by : {{ $invoicePoGeneral->po->approvedBy->full_contact }}
PO Approved at : {{ $invoicePoGeneral->po->formatted_approved_at }}
@foreach ($invoicePoGeneral->po->details as $detail) @endforeach
Material Fullname Material Code Material Code Alias Material Type Material UoM Material UoM Alias Qty Order
{{ $detail->material->formatted_material }} {{ $detail->material_code }} {{ $detail->material_code_alias }} {{ $detail->material->material_type_code }} {{ $detail->material->uom_code }} {{ $detail->material_uom_alias }} {{ $detail->qty }}
@endsection @section('js') @endsection