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

Account Receivable : create

Page for create Account Receivable

Invoice No : {{ $poBuyerInvoice->no }}
Invoice Date : {{ $poBuyerInvoice->date }}
Buyer Code : {{ $poBuyerInvoice->po->buyer_code }}
Delivery Date : {{ $poBuyerInvoice->po->delivery_date }}
PO Buyer Invoice Details
@foreach ($poBuyerInvoice->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 ($poBuyerInvoice->accountReceivables as $accountReceivable) @endforeach
Amount Lunas / Belum Lunas Currency Code Bank Date Reff Action
{{ $accountReceivable->amount }} @switch($accountReceivable->is_lunas) @case(false) Belum lunas @break @case(true) Lunas @break @default @endswitch
@csrf @method('PUT')
@error('edit_lunas.' . $accountReceivable->id)
{{ $message }}
@enderror
{{ $accountReceivable->currency_code }} {{ $accountReceivable->bank }} {{ $accountReceivable->date }} {{ $accountReceivable->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