Merge pull request 'Added searchable for receipient employee' (#666) from ranjith-dev into master
Some checks are pending
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Waiting to run

Reviewed-on: #666
This commit was merged in pull request #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