@extends('layouts.master') @section('page_title', 'Billing Periods') @section('content')

Billing Periods

New Billing Period
@if(session('success')) @endif @if($errors->any()) @endif
Billing Periods Management
Manage termly billing periods for fee collection and tracking
@if($billingPeriods->count() > 0)
@foreach($billingPeriods as $period) @endforeach
Period Name Term/Session Duration Due Date Status Bills Amount Actions
{{ $period->name }} @if($period->is_current) Current @endif
{{ $period->code }}
Term {{ $period->term_id }}
{{ $period->sch_session }}
Start: {{ $period->start_date->format('M j, Y') }}
End: {{ $period->end_date->format('M j, Y') }}
{{ $period->billing_due_date->format('M j, Y') }} @if($period->isOverdue())
Overdue @endif
{{ ucfirst($period->status) }} @if(!$period->is_active)
Inactive @endif
{{ $period->bills()->count() }} bills
{{ $period->bills()->distinct('session_student_id')->count() }} students
GHS {{ number_format($period->total_billed, 2) }}
Paid: GHS {{ number_format($period->total_paid, 2) }}
Outstanding: GHS {{ number_format($period->total_outstanding, 2) }}
View Edit @if(!$period->is_current)
@csrf
@endif
@csrf
@if($period->bills()->count() == 0)
@csrf @method('DELETE')
@endif
{{ $billingPeriods->links() }}
@else
No Billing Periods Found

Create your first billing period to start tracking fee payments by term.

Create Billing Period
@endif
About Billing Periods
Term-Based

Billing periods are organized by academic terms to match your school's fee collection schedule.

Due Dates

Set billing due dates with optional late fees and grace periods for better fee management.

Tracking

Track payment progress, outstanding amounts, and generate reports by billing period.

Current Period

Mark one period as current for default bill generation and active fee collection.

@endsection