@extends('layouts.app', ['pageTitle' => 'Bills / Payables', 'pageSubtitle' => 'Record supplier bills and outgoing payments']) @section('content')

Create Bill

@csrf

Bills

@foreach($bills as $b)@endforeach
NoSupplierDateTotalPaidStatusPay
{{ $b->bill_number }}{{ $b->contact_name ?? 'N/A' }}{{ $b->bill_date }}₦{{ number_format($b->total_amount,2) }}₦{{ number_format($b->amount_paid,2) }}{{ $b->status }}@if($b->status !== 'paid')
@csrf
@endif
@endsection