add test batches

This commit is contained in:
root
2026-06-08 23:45:55 -04:00
parent c792b8be05
commit 8d4d610b82
1480 changed files with 22587 additions and 10762 deletions
@@ -9,7 +9,7 @@ class TeacherAttendanceFormResource extends JsonResource
{
public function toArray(Request $request): array
{
$enable = (int) ($this['enable_attendance'] ?? 0);
$enable = (int)($this['enable_attendance'] ?? 0);
$res = $this->resource;
$hasCanEditKey = is_array($res) && array_key_exists('can_edit', $res);
@@ -29,4 +29,4 @@ class TeacherAttendanceFormResource extends JsonResource
'locked_by_student' => $this['locked_by_student'] ?? [],
];
}
}
}