@extends('layouts.app') @push('styles') @endpush @section('content')

Bill Management

Search for customer bills and select a record to print

@if(request()->has('search_submit'))
@if(!request()->has('search_submit') || $bills->isEmpty())

Find customer bills

Use the search form above to find customer bills by account number or name.

@elseif($bills->isEmpty())

No bills found

We couldn't find any bills matching your search. Try adjusting your criteria.

@endif
@forelse($bills as $bill) @empty @endforelse
Account
Customer Details
Status
Customer ID
{{ $bill->AccountNo ?? 'N/A' }}
{{ $bill->CustomerName }}
@if($bill->PhoneNo)
{{ $bill->PhoneNo }}
@endif
{{ $bill->AccountStatus }} {{ $bill->CustomerID }}

No bills found

Try adjusting your search or filter criteria

@endif
@endsection @push('scripts') @endpush @push('scripts') @endpush