Description
The invoice detail page shows the total amount but does not clearly summarize each recipient's absolute payment obligation alongside their percentage, forcing users to do mental arithmetic. A summary card with a per-recipient breakdown table of amounts and statuses is needed.
Technical Context
src/components/invoice/SplitSummaryCard.tsx (new) renders a card containing a <table> with columns for Recipient (truncated address), Percentage, Amount (in XLM), and Payment Status. src/hooks/useSplitCalculator.ts derives the per-recipient XLM amounts from percentage and invoice total. The card appears on both src/app/invoice/[id]/page.tsx and the public status page. Amounts are formatted with src/lib/formatters.ts's formatXLM utility.
Acceptance Criteria
Description
The invoice detail page shows the total amount but does not clearly summarize each recipient's absolute payment obligation alongside their percentage, forcing users to do mental arithmetic. A summary card with a per-recipient breakdown table of amounts and statuses is needed.
Technical Context
src/components/invoice/SplitSummaryCard.tsx(new) renders a card containing a<table>with columns for Recipient (truncated address), Percentage, Amount (in XLM), and Payment Status.src/hooks/useSplitCalculator.tsderives the per-recipient XLM amounts from percentage and invoice total. The card appears on bothsrc/app/invoice/[id]/page.tsxand the public status page. Amounts are formatted withsrc/lib/formatters.ts'sformatXLMutility.Acceptance Criteria