add refund logic and fix books inventory logic
Deploy to Shared Hosting / Shared hosting deploy (push) Failing after 47s
Tests / PHPUnit (push) Failing after 1m20s

This commit is contained in:
root
2026-08-22 13:44:25 -04:00
parent 23d1cbb64c
commit d906a915d6
45 changed files with 4711 additions and 442 deletions
@@ -3,6 +3,7 @@
namespace App\Controllers\Administrator;
use App\Controllers\BaseController;
use App\Models\ConfigurationModel;
use App\Models\SchoolYearModel;
use App\Support\SchoolYear\SchoolYearStatus;
use Throwable;
@@ -43,6 +44,8 @@ class SchoolYearController extends BaseController
}
}
$configurationModel = new ConfigurationModel();
return view('school_years/index', [
'schoolYears' => $schoolYears,
'statuses' => SchoolYearStatus::ALL,
@@ -54,6 +57,7 @@ class SchoolYearController extends BaseController
'latestTransitions' => service('schoolYearManagement')->latestTransitionByYear(),
'yearVerification' => $this->verificationByYear($schoolYears),
'schoolYearNamesById' => array_column($schoolYears, 'name', 'id'),
'totalInstructionalWeeks' => $configurationModel->getConfigValueByKey('total_instructional_weeks'),
]);
}