Feature #661
openPOS: search an employee by name, not just their card number
0%
Description
A cashier -- or the employee tapping -- doesn't always have the card number handy. Added a "Or search by employee name" box on the POS Employee tab, filtering the existing employee-meals accounts list (already fetched for the Employee meals settings page, same canteen.employee_meals.read permission the card-resolve endpoint already requires) by name or code. Picking a result feeds that employee's active card number through the exact same resolve-card call a physical tap makes -- same refusal checks, same subsidy lookup, same everything downstream. An employee with no active card shows that directly.
No backend changes -- the accounts endpoint already returned everything needed.
Commit (pushed under the wrong Redmine number, #398; corrected here): 8bf97e9.