Skip to content

Money in integer cents (#140) - #158

Merged
MatheusCastro99 merged 5 commits into
masterfrom
feat/140-money-in-cents
Nov 4, 2026
Merged

MatheusCastro99 merged 5 commits into
masterfrom
feat/140-money-in-cents

Conversation

@MatheusCastro99

@MatheusCastro99 MatheusCastro99 commented Nov 4, 2026 •

Copy link
Copy Markdown
Owner

Closes #140. Closes #145. Plan: #140 (comment)

Backlog #153 items this change affects

To update on #153 when #140 closes:

  • Fixed: "A subtotal with no company sends a tax request with no rate." The total request now waits for a rate (InvoicePage.jsx, the total effect), and a refused or failed request shows its message.
  • Half fixed: "A late tax or total reply can overwrite a newer choice." The total reply is now dropped when it's stale. selectCustomer / handleTax still have no guard.
  • Half fixed: "Leftover debug logs." console.log(tableData) is gone from PdfPage.jsx. console.log(customerInfo, info) is still in PdfDocument.jsx.

🤖 Generated with Claude Code

MatheusCastro99 and others added 3 commits November 4, 2026 13:55
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…140)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
MatheusCastro99 and others added 2 commits November 4, 2026 14:28
The toast named date, invoice number and subtotal even when those were
fine and only the server's tax and total were missing (no company picked,
or the total request failed).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@MatheusCastro99
MatheusCastro99 marked this pull request as ready for review November 4, 2026 19:30
@MatheusCastro99

Copy link
Copy Markdown
Owner Author

Ready to merge at 752df34ef552590f48fb22c07892aaba4840c214. Reviewed SHA = PR head = the SHA CI passed on.

G2: no blocking findings. Fixed after G2: the Generate PDF toast now says when the tax and total are what's missing (a4bce16), and ADR-012's status text is updated (752df34). One narrow re-review at 752df34: approve, no findings. Declined by the owner: a retry after a failed total request. Three pre-existing bugs went to backlog #153.

Copilot AI balanced review requested due to automatic review settings November 4, 2026 19:31

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

@MatheusCastro99
MatheusCastro99 merged commit 4665624 into master Nov 4, 2026
8 checks passed
@MatheusCastro99
MatheusCastro99 deleted the feat/140-money-in-cents branch November 4, 2026 19:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Tax calculation accepts a partly numeric job price ("12abc" as 12) Money in integer cents (ADR-012)

2 participants