Fix semester context, attendance rosters, and billing workflows
- load global semester helpers consistently and use date-based semester defaults - fix grading and daily attendance duplicate student/section rows - keep attendance violations scoped to the current semester by default - update invoice, refund, discount, payment, and financial aid flows - add configuration cleanup migrations for duplicate calendar/semester keys - refresh parent registration/report-card and print request handling - update related models, services, views, cron notes, and test coverage
This commit is contained in:
@@ -38,7 +38,7 @@ class AuthController extends BaseController
|
||||
$this->loginActivityModel = new LoginActivityModel();
|
||||
$this->preferencesModel = new PreferencesModel();
|
||||
$this->schoolYear = $this->configModel->getConfig('school_year');
|
||||
$this->semester = $this->configModel->getConfig('semester');
|
||||
$this->semester = getSemester();
|
||||
|
||||
}
|
||||
|
||||
@@ -332,7 +332,7 @@ class AuthController extends BaseController
|
||||
'state' => $requestData['state'] ?? null,
|
||||
'zip' => $requestData['zip'] ?? null,
|
||||
'school_year' => $this->configModel->getConfig('school_year'),
|
||||
'semester' => $this->configModel->getConfig('semester'),
|
||||
'semester' => getSemester(),
|
||||
'status' => 'active',
|
||||
'is_verified' => 0, // Require email verification
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user