The payment-history list (rows with source badges + edit/remove for manual payments) and its 4 display helpers (isTransactionLinkedPayment, isHistoryOnlyPayment, paymentSourceLabel/Tone) move to their own presentational component; the parent keeps payment state + add/edit/delete handlers and passes them as props. Behavior-preserving — BillModal 1603 -> 1502 lines; build + client tests green. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| components | ||
| contexts | ||
| hooks | ||
| lib | ||
| pages | ||
| public/img | ||
| App.jsx | ||
| api.js | ||
| index.css | ||
| main.jsx | ||