Label: complexity: high
Points: 200
Description
The payment list shows amounts but not which portion of the invoice each payment covered. This issue adds a visual payment source breakdown on the invoice detail page showing a stacked bar where each payer's contribution is colour-coded and labelled with their truncated address.
Technical Context
Involves invoice/[id]/page.tsx and a new src/components/PaymentSourceBar.tsx. Aggregate invoice.payments by payer address. Render a stacked horizontal bar using Tailwind flex with each segment's width proportional to contribution. Assign colours from a fixed palette.
Acceptance Criteria
Label: complexity: high
Points: 200
Description
The payment list shows amounts but not which portion of the invoice each payment covered. This issue adds a visual payment source breakdown on the invoice detail page showing a stacked bar where each payer's contribution is colour-coded and labelled with their truncated address.
Technical Context
Involves
invoice/[id]/page.tsxand a newsrc/components/PaymentSourceBar.tsx. Aggregateinvoice.paymentsby payer address. Render a stacked horizontal bar using Tailwind flex with each segment's width proportional to contribution. Assign colours from a fixed palette.Acceptance Criteria