@extends('layouts.app') @section('title',($bill->exists?'Edit':'New').' Vendor Bill') @section('page_title',($bill->exists?'Edit':'New').' Vendor Bill') @section('content') @php $__billItems = old('items', $bill->items->map(fn($i) => [ 'description' => $i->description, 'quantity' => $i->quantity, 'unit' => $i->unit, 'unit_rate' => $i->unit_rate, 'discount_amount' => $i->discount_amount, 'expense_account_id' => $i->expense_account_id, 'tax_code_id' => $i->tax_code_id, ])->values()->all()); @endphp

{{ $bill->exists?'Edit':'New' }} Vendor Bill

Duplicate vendor invoice numbers are blocked for each vendor.

Back
@csrf @if($bill->exists)@method('put')@endif
Bill Header
Bill Lines
DescriptionQtyUnitRateDiscountExpense / Cost AccountVAT CodeTaxableRecoverable VATNon-RecoverableTotal
Taxable0.00
Recoverable VAT0.00
Non-Recoverable VAT0.00
Total0.00
Cancel
@endsection @push('scripts') @endpush