Project

General

Profile

Actions

Feature #661

open
NP NP

POS: search an employee by name, not just their card number

Feature #661: POS: search an employee by name, not just their card number

Added by Navya P. 15 days ago. Updated 15 days ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
Start date:
10/29/2026
Due date:
% Done:

0%

Estimated time:
Resolved By:

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.

NP Updated by Navya P. 15 days ago Actions #1

  • Status changed from New to Resolved

NP Updated by Navya P. 15 days ago Actions #2

Follow-up: merged the separate "Or search by employee name" box back into the card-number box itself -- one field now does both, filtering the accounts list as the cashier types and resolving a card number on Enter. Enter also auto-picks a single unambiguous name match instead of trying to resolve the typed name as a card number.

Commit: 5a69b4e.

Actions

Also available in: PDF Atom