pelagia-portal/App/tests
Claude (auto-fix) 3335977773
All checks were successful
PR checks / checks (pull_request) Successful in 53s
PR checks / integration (pull_request) Successful in 31s
feat(activity): show partial payment amount in PO timeline
The PO Activity timeline rendered every partial payment as the generic
"Partial payment confirmed". markPaid() already persists the instalment
amount on the PARTIAL_PAYMENT_CONFIRMED action's metadata
(metadata.paymentAmount), so surface it: the row now reads
"Partial payment of <amount> confirmed" using the PO's own currency.

Falls back to the plain label when paymentAmount is missing or
non-numeric (older audit rows) so historical POs never render NaN.

Extracted ACTION_LABELS + the new actionLabel() helper into
lib/po-activity.ts so the label logic is unit-testable without pulling
the server-only PoDetail component (and its storage/auth imports) into
jsdom.

Fixes #140
2026-06-28 00:24:28 +05:30
..
e2e chore: rename e2e folder to catalogue + drop /inventory redirects 2026-06-24 05:06:44 +05:30
fixtures test(integration): repair stale integration suite (wip: 97/108) 2026-06-21 02:34:07 +05:30
integration Merge branch 'master' into claude/issue-124 2026-06-25 21:23:01 +00:00
staging feat(history): add Accounting Code search filter to PO History 2026-06-24 13:18:00 +05:30
unit feat(activity): show partial payment amount in PO timeline 2026-06-28 00:24:28 +05:30
setup.ts chore: restructure repo — flatten App/pelagia-portal to App, rename Prototype→Wireframe and Spec→Design 2026-05-18 23:18:58 +05:30