1
0
forked from poc/pds

Added order by for department for visitor page

This commit is contained in:
dhanabalan
2026-06-06 19:34:30 +05:30
parent 4fe5793c1b
commit aafdfe3148

View File

@@ -118,6 +118,7 @@ class VisitorEntryResource extends Resource
->label('Employee Department') ->label('Employee Department')
->options( ->options(
EmployeeMaster::distinct() EmployeeMaster::distinct()
->orderBy('department')
->pluck('department', 'department') ->pluck('department', 'department')
) )
->searchable() ->searchable()