440 B
440 B
Implementer — POS-PAYMENT-OVERPAY-FIX
Changes
- Frontend (terminal page): clamp
amountCentstoMath.min(remainingCents, totals.total)to avoid 1-cent overpayment - Backend (create-pos-sale): allow 1-cent tolerance in payment overpayment validation to absorb rounding diffs between frontend cached prices and backend canonical total
Validation
cd project && npm run build✅cd project/apps/pos && npm run build✅