feat(go): M6.4 — Go-native /payments page (grouped-by-person ledger) #30
Reference in New Issue
Block a user
Delete Branch "feat/go-m6-4-payments-page"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
AssemblePayments(ctx)fromServePaymentsinapi/handler.go, following the M6.2/M6.3AssembleAdults/AssembleJuniorspattern (shared between JSON API and HTML handler)PaymentsPageDatawrapper inrender.gopayments.tmplplaceholder with a real grouped-by-person ledger: alphabetical member<h2>blocks, each with atxn-tableshowing Date / Amount / Purpose / Bank Message, newest-first;"Unmatched / Unknown"bucket includedapp.css(.ledger-container,.member-block,.txn-table,.txn-{date,amount,purpose,message},tr:hover) lifted from the Pythontemplates/payments.htmlinline stylesTestPaymentsPagemarkup testNo JS, no filters, no credits/debts — matches the Python page which is also a plain ledger.
Test plan
make go-buildgreenmake go-testgreen (including newTestPaymentsPage)make go-lintcleancurl -si localhost:8080/payments→ HTTP 200,text/html, member blocks + active nav link rendered🤖 Generated with Claude Code