feat: Face ID (scan, register, liveness) + role baru KS/Waka/Ketua Tim + notifikasi WA ortu + scoping wali kelas + error pages premium

This commit is contained in:
Novy San87
2026-08-02 20:57:11 +07:00
parent 0a5f471854
commit 6e256661dd
76 changed files with 5335 additions and 888 deletions
+6 -1
View File
@@ -11,7 +11,7 @@ class Classes extends Model
protected $fillable = [
'source_id', 'name', 'level', 'department_code',
'department_name', 'academic_year_name', 'is_active',
'metadata',
'metadata', 'homeroom_teacher_id',
];
protected function casts(): array
@@ -26,4 +26,9 @@ class Classes extends Model
{
return $this->hasMany(Student::class, 'class_id');
}
public function homeroomTeacher()
{
return $this->belongsTo(User::class, 'homeroom_teacher_id');
}
}