Sổ Bán Lẻ rejects customer creation with a 422 ("Vui lòng nhập số
CMND/CCCD") when id_card_number is null - discovered via manual E2E
testing against the real service. Add a required customerIdCard field to
the admin form and controller, persisted on AdminTransaction, and pass
through as customer_data.id_card_number instead of null.
Also add the requested amount validation: payment amount must be
strictly greater than 1,000,000 and less than 20,000,000, enforced both
client-side (form) and server-side (createTransaction).
Co-Authored-By:
Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017KPzWwuTEeX2vXGXvyGn4q
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| accounts-list.server.view.html | Loading commit data... | |
| change-password.server.view.html | Loading commit data... | |
| login.server.view.html | Loading commit data... | |
| pay-result.server.view.html | Loading commit data... | |
| pay.server.view.html | Loading commit data... | |
| transactions-list.server.view.html | Loading commit data... | |
| transactions-new.server.view.html | Loading commit data... |