@extends('admin.admin_dashboard') @section('customcss') @endsection @section('admin') @php $schoolLogo = !empty($schoolInfo?->school_logo) ? (file_exists(public_path('storage/' . ltrim($schoolInfo->school_logo, '/'))) ? asset('storage/' . ltrim($schoolInfo->school_logo, '/')) : asset('core/storage/app/public/' . ltrim($schoolInfo->school_logo, '/'))) : (file_exists(public_path('storage/school_logo.png')) ? asset('storage/school_logo.png') : asset('core/storage/app/public/school_logo.png')); $schoolName = $schoolInfo?->school_name ?: config('app.name'); $schoolAddress = $schoolInfo?->address ?: 'N/A'; @endphp

Accounting Closing Report

Income, expense and asset-wise closing summary for selected date range.

Filter Section
Closing Summary
Income: {{ number_format((float) $totalIncome) }} | Expense: {{ number_format((float) $totalExpense) }} | Net Profit: {{ number_format((float) $netProfit) }}
@include('admin.reports.accounting.closing_report.partials.table', [ 'incomeRows' => $incomeRows, 'expenseRows' => $expenseRows, 'assetRows' => $assetRows, 'totalIncome' => $totalIncome, 'totalExpense' => $totalExpense, 'netProfit' => $netProfit, 'totalAssets' => $totalAssets, 'rangeEndDate' => $rangeEndDate ])
@endsection @section('customjs') @endsection