1
0
forked from poc/pds

Merge pull request 'Added searchable for receipient employee' (#666) from ranjith-dev into master

Reviewed-on: poc/pds#666
This commit is contained in:
2026-05-28 06:19:02 +00:00

View File

@@ -139,6 +139,7 @@ class VisitorEntryResource extends Resource
Forms\Components\Select::make('employee_master_id')
->label('Recipient Employee')
->required()
->searchable()
->options(function (callable $get) {
$department = $get('department');
// Always load ALL employees, filter by department if set