@extends('layouts.app') @section('title', 'Create Bill - ISP ERP System') @section('page-title', 'Create Bill') @section('content')

Create New Bill

Generate a new bill for a client

Bill Information
@csrf
@error('client_info_id')
{{ $message }}
@enderror
@error('month_year')
{{ $message }}
@enderror
$ @error('amount')
{{ $message }}
@enderror
@error('due_date')
{{ $message }}
@enderror
@error('description')
{{ $message }}
@enderror
@error('service_type')
{{ $message }}
@enderror
@error('billing_cycle')
{{ $message }}
@enderror
Cancel
@if($activeClients->count() > 0)
Available Clients ({{ $activeClients->count() }})
@foreach($activeClients->take(6) as $clientInfo)
{{ $clientInfo->client->name ?? 'N/A' }}
@if($clientInfo->client->username) Username: {{ $clientInfo->client->username }} @endif
@if($clientInfo->client->package_name) Package: {{ $clientInfo->client->package_name }} @endif
@endforeach
@if($activeClients->count() > 6)
And {{ $activeClients->count() - 6 }} more clients...
@endif
@else
No Active Clients Available

There are no active clients to generate bills for.

Add New Client
@endif
@endsection @section('scripts') @endsection