Qiiub POS · Task 11 · C — Per-line Seller Picker LIGHT. El cajero (dueño de la transacción, RMS) asigna "quién asistió" por línea para comisión. Capturado JSON-light en completedSales.lineSummaries[].sellerEmployeeId (GlobalId), ADR-0111. Invariante crítico (Amendment 2): línea SIN vendedor = sin comisión, NO se atribuye al cajero por defecto — el "—" es explícito, nunca auto-rellenado. El cajero PUEDE auto-asignarse (uno puede ser cajero y vendedor de una línea). Captura ahora, cálculo de comisión diferido a #488. Validación al capturar: el empleado debe existir y estar activo en el roster local. Revisión = CLARIDAD.   Created: 2026-06-25 | Last Updated: 2026-06-25
Current sale Cashier Dev Cashier · owns this sale
Paracetamol 500mg · 24ct
$8.99
7501234567890
Vitamina C 1000mg · 60ct
$14.50
7501234511223
No seller → no commission (not the cashier)
Alcohol isopropílico 70% · 473ml
$3.25
7501234599887
Total$26.74

Clarity map — Per-line Seller Picker

Clarity review. The one thing that must never blur: an unassigned line is not the cashier's commission.
aUnassigned ≠ cashier (Amendment 2 invariant, the load-bearing one). A line with no seller shows an explicit dashed "Add seller" + "No seller → no commission (not the cashier)". It is never auto-filled to the owning cashier — ringing ≠ selling. The picker's "No seller" row restates "earns no commission."
bCashier may self-assign. The owning cashier appears in the list tagged "You" — one human can be both the transaction's cashier and a line's seller. Self-assigning is an explicit tap, not a default.
cCapture now, compute later. The pick persists sellerEmployeeId (employee GlobalId) into the line's JSON (lineSummaries) — same footing as cashierEmployeeId. No commission math is shown or computed (deferred to #488); this UI only captures attribution.
dRoster validity at capture. The list is the local active roster; an assigned seller must reference a real, active employee. (This list is operational, not a login surface — it is not the identify/enumeration concern of B1.)