@extends('layouts.app') @section('title','Vendor Bills') @section('page_title','Vendor Bills') @section('content')

Vendor Bills

Record subcontractor, fuel, maintenance and operating supplier invoices.

@if(auth()->user()->hasPermission('vendor_bills.create'))+ New Vendor Bill@endif
{{ $bills->total() }} bills
@forelse($bills as $bill)@php($status=$bill->status instanceof \App\Enums\DocumentStatus?$bill->status->value:$bill->status)@empty@endforelse
Internal BillVendor InvoiceDateVendorTotalPaid / AllocatedBalanceStatusActions
{{ $bill->bill_number }}{{ $bill->vendor_invoice_number }}{{ $bill->invoice_date->format('d M Y') }}{{ $bill->party?->legal_name }}{{ $bill->currency_code }} {{ number_format((float)$bill->grand_total,2) }}{{ number_format((float)$bill->allocated_total,2) }}{{ number_format((float)$bill->grand_total-(float)$bill->allocated_total,2) }}{{ ucwords(str_replace('_',' ',$status)) }}
No vendor bills found.
{{ $bills->links() }}
@endsection