@extends('layouts.app') @section('title','Financial periods') @section('content')

Financial year and period control

Closing a period posts the net result to accumulated fund and blocks later ledger postings dated inside that period. Review reconciliations and obtain finance approval before closing.
@csrf
Open financial period
@if($facilities->isNotEmpty())
@endif
Financial periods
@forelse($periods as $p)@empty@endforelse
FacilityPeriodDatesStatusActions
{{ $p->facility_id }}{{ $p->period_name }}{{ $p->period_start }} – {{ $p->period_end }}{{ $p->status }}@if($p->status==='open')
Enter opening balances
@csrf @foreach(['1000'=>'Cash and bank','1100'=>'Accounts receivable','1300'=>'Inventory control','2000'=>'Accounts payable','2100'=>'Goods received not invoiced','3000'=>'Accumulated fund'] as $code=>$label)
{{ $code }} — {{ $label }}
@endforeach
@csrf
@elseClosed {{ $p->closed_at }}@endif
No financial periods.
@endsection