fix(hr): use raw SQL arrays instead of Model objects in LeaveType views
Model::find() returns a Model object which cannot be used as array in
views. Switch to selectOne() which returns associative arrays.
Co-Authored-By:
Claude Opus 4.6 <noreply@anthropic.com>
Showing
Please register or sign in to comment