chore(checkpoint): save club core backend and pending pos fixes

This commit is contained in:
Deploy
2026-08-26 17:58:45 +02:00
parent cf3c906ed2
commit 49dfd00406
44 changed files with 2241 additions and 219 deletions

View File

@@ -0,0 +1,33 @@
{
"feature_id": "POS-RECEIPT-QUICK-FIXES",
"agent": "reviewer",
"stage": "review_gate",
"verdict": "APPROVED",
"checks": [
{
"item": "POS sale creation now derives authoritative gross price, gross discounts and VAT from pricing data instead of persisting zero tax",
"ok": true
},
{
"item": "Receipt and return builders render gross unit/subtotal/discount/IVA consistently with stored order totals and refund VAT-inclusive amounts",
"ok": true
},
{
"item": "POS lookup/catalog/order-item APIs now expose gross priceCents so cashier UI and recovered sales stay aligned with printed totals",
"ok": true
},
{
"item": "Frontend checkout cart sync reconciles existing server lines with PATCH/DELETE instead of duplicate POSTs and extracts the human backend error message",
"ok": true
},
{
"item": "Changed files remain type-safe and formatting-safe (`cd project && npm run typecheck`, `git diff --check`)",
"ok": true
}
],
"issues": [],
"notes": [
"Reviewer revalidated the changed-flow diff and confirmed order totals are now treated as gross while tax remains informational instead of additive.",
"Targeted DB integration tests for POS receipts/returns are still blocked by a pre-existing migration 057 issue (`type \"w\" does not exist`); this is tracked as unrelated technical debt rather than a regression introduced here."
]
}