add notifications logic and add support of both JWT and Sanctum

This commit is contained in:
root
2026-03-11 01:20:31 -04:00
parent f6be51576c
commit 182036cc41
141 changed files with 8685 additions and 648 deletions
+18
View File
@@ -0,0 +1,18 @@
<?php
use App\Models\ConfigurationModel;
// app/Helpers/GlobalConfigHelper.php
if (!function_exists('getSemester')) {
function getSemester() {
$configModel = new \App\Models\ConfigurationModel();
return $configModel->getConfig('semester');
}
}
if (!function_exists('getSchoolYear')) {
function getSchoolYear() {
$configModel = new \App\Models\ConfigurationModel();
return $configModel->getConfig('school_year');
}
}