Fixed many feature failures around preferences, route coverage, administrator enrollment, assignment section names, attendance tracking controller access, finance PDF generation, and finance notification logging.
API CI/CD / Validate (composer + pint) (push) Successful in 3m15s
API CI/CD / Test (PHPUnit) (push) Failing after 5m4s
API CI/CD / Build frontend assets (push) Successful in 1m3s
API CI/CD / Security audit (push) Failing after 49s
API CI/CD / Deploy to shared hosting (PHP) (push) Has been skipped
API CI/CD / Validate (composer + pint) (push) Successful in 3m15s
API CI/CD / Test (PHPUnit) (push) Failing after 5m4s
API CI/CD / Build frontend assets (push) Successful in 1m3s
API CI/CD / Security audit (push) Failing after 49s
API CI/CD / Deploy to shared hosting (PHP) (push) Has been skipped
This commit is contained in:
@@ -12,12 +12,25 @@ use Illuminate\Support\Facades\Validator;
|
||||
*/
|
||||
class AttendanceTrackingService
|
||||
{
|
||||
protected AttendancePendingViolationService $pendingViolationService;
|
||||
|
||||
protected AttendanceCaseQueryService $caseQueryService;
|
||||
|
||||
protected AttendanceNotificationWorkflowService $workflowService;
|
||||
|
||||
protected AttendanceCommunicationSupportService $communicationSupportService;
|
||||
|
||||
public function __construct(
|
||||
protected AttendancePendingViolationService $pendingViolationService,
|
||||
protected AttendanceCaseQueryService $caseQueryService,
|
||||
protected AttendanceNotificationWorkflowService $workflowService,
|
||||
protected AttendanceCommunicationSupportService $communicationSupportService,
|
||||
) {}
|
||||
?AttendancePendingViolationService $pendingViolationService = null,
|
||||
?AttendanceCaseQueryService $caseQueryService = null,
|
||||
?AttendanceNotificationWorkflowService $workflowService = null,
|
||||
?AttendanceCommunicationSupportService $communicationSupportService = null,
|
||||
) {
|
||||
$this->pendingViolationService = $pendingViolationService ?? app(AttendancePendingViolationService::class);
|
||||
$this->caseQueryService = $caseQueryService ?? app(AttendanceCaseQueryService::class);
|
||||
$this->workflowService = $workflowService ?? app(AttendanceNotificationWorkflowService::class);
|
||||
$this->communicationSupportService = $communicationSupportService ?? app(AttendanceCommunicationSupportService::class);
|
||||
}
|
||||
|
||||
protected function defaultSchoolYear(): string
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user