@extends('layouts.app') @section('title',$bill->bill_number) @section('page_title','Vendor Bill') @section('content') @php($status=$bill->status instanceof \App\Enums\DocumentStatus?$bill->status->value:$bill->status)
{{ $bill->party->legal_name }} · Vendor invoice {{ $bill->vendor_invoice_number }} · {{ ucwords(str_replace('_',' ',$status)) }}
| # | Description | Qty | Rate | Taxable | Recoverable VAT | Non-Recoverable | Total |
|---|---|---|---|---|---|---|---|
| {{ $item->line_number }} | {{ $item->description }} | {{ number_format((float)$item->quantity,2) }} {{ $item->unit }} | {{ number_format((float)$item->unit_rate,2) }} | {{ number_format((float)$item->taxable_amount,2) }} | {{ number_format((float)$item->recoverable_vat_amount,2) }} | {{ number_format((float)$item->nonrecoverable_vat_amount,2) }} | {{ number_format((float)$item->line_total,2) }} |
| Account | Description | Debit | Credit |
|---|---|---|---|
| {{ $line->account->code }} - {{ $line->account->name }} | {{ $line->description }} | {{ number_format((float)$line->debit,2) }} | {{ number_format((float)$line->credit,2) }} |