Repository navigation
M22.1: itemized invoices - #195
Merged
Merged
Conversation
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L5W7g1rrgyVqEwZSgLg2QM
… carry a line Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L5W7g1rrgyVqEwZSgLg2QM
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L5W7g1rrgyVqEwZSgLg2QM
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L5W7g1rrgyVqEwZSgLg2QM
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L5W7g1rrgyVqEwZSgLg2QM
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L5W7g1rrgyVqEwZSgLg2QM
Line validation errors name the field instead of its key. The BTC amount refreshes once the page's recalc is wired, so a server-error return no longer shows a stale figure. Focus stays on a moved line when its arrow is disabled at the edge. Line buttons are 40px tall for touch; the edit page's Refresh rate button matches the create page. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L5W7g1rrgyVqEwZSgLg2QM
A line is an item, a percentage, or a subtotal. A subtotal sums the lines since the previous subtotal and stays out of the total. A percentage line picks from the lines above it; new ones default to the subtotals above, else every line above. Each card shows its number top left and carries a green + that adds a line after it; Remove is a red ×. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L5W7g1rrgyVqEwZSgLg2QM
…l row Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L5W7g1rrgyVqEwZSgLg2QM
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L5W7g1rrgyVqEwZSgLg2QM
Spec §5 no longer lists mail among the itemized surfaces. The three invoice emails drop the lines table; the public link carries the detail. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L5W7g1rrgyVqEwZSgLg2QM
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L5W7g1rrgyVqEwZSgLg2QM
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements M22.1 — Itemized Invoices per LINE_ITEMS.md.
invoice_linestable and model; the invoice total is the sum of its lines, rounded to cents. A percentage line applies to the lines it picks; negative lines reduce the total.InvoiceLineItemsTest,InvoiceLineEditorTest; ten existing store/update payloads now post lines. Full suite: 650 pass.🤖 Generated with Claude Code
https://claude.ai/code/session_01L5W7g1rrgyVqEwZSgLg2QM