Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
keenthekeen authored Oct 25, 2023
1 parent 30e4f7b commit 4f76ccb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Controllers/PersonnelController.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class PersonnelController extends Controller
{
public function index(Request $request)
{
$year = $request->input('year', self::getYearList()[0]);
$year = $request->input('year', Personnel::getYearList()[0]);

return Inertia::render('PersonnelIndex', [
'list' => Personnel::query()->with('department')->where('year', $year)->orderBy('sequence')->get(),
Expand Down

0 comments on commit 4f76ccb

Please sign in to comment.