Repository navigation
fix(pos): respect Auto-print Bill in prepaid checkout - #1635
Conversation
Prepaid checkout forced the receipt print, so the system print dialog opened even with Auto-print Bill off. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the
|
PR Summary by QodoRespect Auto-print Bill during prepaid checkout
AI Description
Merge Risk
|
Code Review by Qodo🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)
Great, no issues found!Qodo reviewed your code and found no material issues that require reviewTip of the day💡 Did you know, you can tweak Display settings with a live preview to see your comment before it ships |
…rted Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Related work
Issue / Discussion: Fixes #1615
Summary
Prepaid checkout passed
force = trueto the receipt print step, which skipped the Auto-print Bill setting. With no thermal printer connected, printing falls back to the system print dialog, so the dialog opened after payment even with Auto-print Bill off. Prepaid checkout now respects the setting.Scope
The Print button in the checkout modals still prints on demand. The "Enable Printer" toggle is not changed: it defaults to off and no print path appears to read it, so gating printing on it (as suggested in the issue) could stop printing for stores that print today.
Verification
Commands run:
npm run buildnpm run build:frontendnpm run lintnpx oxfmt --checkon both changed filesgit diff --checkfrontend/, forpos-prepaid-auto-print,diagnostics-checkout-recovery,prepaid-payment-reconciliation,order-attempt-storage,checkout-discounts-disabled,checkout-viewport-geometry,pos-keyboard-shortcutsandmulti-counter-orderingResults:
npm run test:e2e:browsersuite,npm test, and a check on physical printer hardware.Compatibility & data safety
Cross-cutting surfaces
Developer documentation
Contributor checklist
🤖 Generated with Claude Code