@extends('layouts.master') @section('page_title', 'Accounting Configurations') @section('content')

Accounting Configurations

New Configuration
@if(session('success')) @endif @if($errors->any()) @endif
Configuration Settings
Configure how different types of income are recorded in your accounting system
@if($configs->count() > 0)
@foreach($configs as $config) @endforeach
Configuration Type Revenue Account Receivable Account Cash Account Status Actions
{{ $config->getConfigDescription() }}
{{ $config->config_type }}
{{ $config->revenueAccount->code ?? $config->revenueAccount->account_code }}
{{ $config->revenueAccount->name }}
{{ $config->receivableAccount->code ?? $config->receivableAccount->account_code }}
{{ $config->receivableAccount->name }}
{{ $config->cashAccount->code ?? $config->cashAccount->account_code }}
{{ $config->cashAccount->name }}
@if($config->is_active) Active @else Inactive @endif
View Edit
@csrf @method('PATCH')
@csrf @method('DELETE')
@else
No Configurations Found

Create your first accounting configuration to get started.

Create Configuration
@endif
How Accounting Configurations Work
Revenue Account

Account where income is recognized when bills are generated or payments are received for cash-based accounting.

Receivable Account

Account that tracks outstanding amounts owed by students. Debited when bills are created, credited when payments are received.

Cash Account

Bank or cash account where actual payments are deposited. Debited when payments are received.


Double-Entry Example (Student Fee Payment):

Debit: Cash Account (Asset increases)
Credit: Receivable Account (Asset decreases) or Revenue Account (Income increases)

This ensures proper double-entry bookkeeping without hardcoding account numbers in your application code.

@endsection