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

Account Payable : create

Page for create Account Payable

Invoice No : {{ $poSupplierInvoice->no }}
Invoice Date : {{ $poSupplierInvoice->date }}
Supplier Code : {{ $poSupplierInvoice->supplier_code }}
Delivery Date : {{ $poSupplierInvoice->delivery_date }}
PO Buyer Invoice Details
@foreach ($poSupplierInvoice->details as $detail) @endforeach
Material Code Material Name Material Type Material UoM Qty
{{ $detail->material_code }} {{ $detail->material->name }} {{ $detail->material->material_type_code }} {{ $detail->material->uom_code }} {{ $detail->qty }}
Create Account Payable
@csrf
@error('amount')
{{ $message }}
@enderror
@error('is_lunas')
{{ $message }}
@enderror
@error('currency_code')
{{ $message }}
@enderror
@error('bank')
{{ $message }}
@enderror
@error('date')
{{ $message }}
@enderror
@error('reff')
{{ $message }}
@enderror

Are you sure want to create this ?

List Account Payable

Below is the list of Account Payable that you have created on this page.

@foreach ($poSupplierInvoice->accountPayables as $accountPayable) @endforeach
Amount Lunas / Belum Lunas Currency Code Bank Date Reff Action
{{ $accountPayable->amount }} @switch($accountPayable->is_lunas) @case(false) Belum lunas @break @case(true) Lunas @break @default @endswitch
@csrf @method('PUT')
@error('edit_lunas.' . $accountPayable->id)
{{ $message }}
@enderror
{{ $accountPayable->currency_code }} {{ $accountPayable->bank }} {{ $accountPayable->date }} {{ $accountPayable->reff }}
  • Are you sure want to delete this ?

    @csrf @method('DELETE')

Are you sure want to finish this ?

Once you finished, you cannot add more Account Payable and status will change to complete

And you cannot delete or edit again!

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