Added support for discounts in the POS checkout process, allowing operators to apply either a fixed amount or a percentage off the gross total. Updated the state management to include discount details and modified the receipt and cart rendering to display pre- and post-discount values. Enhanced the checkout API to handle discount inputs and ensure proper calculations. Updated relevant tests to cover new discount logic. |
||
|---|---|---|
| .. | ||
| __pycache__ | ||
| dev | ||
| migrations | ||
| perf | ||
| smoke | ||
| utils | ||
| 2026-08-03-load-husqvarna-cart.ts | ||
| 2026-08-03-load-yg1-quote-soq078608.ts | ||
| 2026-08-03-merge-yg1-drafts.ts | ||
| 2026-08-13-heal-item-intel.ts | ||
| 2026-08-21-backfill-order-duplicates.ts | ||
| _env.ts | ||
| audit-pb-fields.py | ||
| backfill-item-intel.ts | ||
| backfill-po-items.mjs | ||
| build_v5_workflow.py | ||
| deploy_v5_to_n8n.py | ||
| import-data.ts | ||
| mcp-doc-gen.py | ||
| mrbxnim4-telegram-cloud-photo-size-4-6016860144018328845-y.jpg | ||
| n8n-v2-error.ts | ||
| n8n-v2-main.ts | ||
| quotes.pb.js | ||
| regenerate-delivery-note-pdfs.ts | ||
| seed-gielie-quotes.py | ||
| setup-pocketbase.ts | ||
| verify_v5.py | ||