reconstruction of the project

This commit is contained in:
root
2026-03-08 16:33:24 -04:00
parent 23b7db1107
commit c8de5f7edc
9157 changed files with 77877 additions and 1073823 deletions
@@ -0,0 +1,22 @@
<?php
namespace App\Http\Resources;
use Illuminate\Http\Request;
use Illuminate\Http\Resources\Json\JsonResource;
class AssignmentOverviewResource extends JsonResource
{
public function toArray(Request $request): array
{
return [
'classSections' => AssignmentSectionResource::collection(collect($this->classSections ?? [])),
'schoolYears' => $this->schoolYears ?? [],
'schoolYear' => $this->schoolYear ?? null,
'selectedYear' => $this->selectedYear ?? null,
'selectedSemester' => $this->selectedSemester ?? null,
'semester' => $this->semester ?? null,
'current_school_year' => $this->current_school_year ?? null,
];
}
}