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
@@ -16,4 +16,4 @@ class AdminAttendanceResource extends JsonResource
'admins_grid' => $this['admins_grid'] ?? [],
];
}
}
}
@@ -25,4 +25,4 @@ class DailyAttendanceResource extends JsonResource
'current_admin_name' => $this['currentAdminName'] ?? null,
];
}
}
}
@@ -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'] ?? [],
];
}
}
}
@@ -16,7 +16,7 @@ class TeacherGridResource extends JsonResource
'class_section_id' => $this['class_section_id'] ?? null,
'sections' => $this['sections'] ?? [],
'grid' => $this['grid'] ?? [],
'locked' => (bool) ($this['locked'] ?? false),
'locked' => (bool)($this['locked'] ?? false),
];
}
}
}