payfrit-api/receipt
Mike b25198b3f5 fix: receipt total now uses actual payment amount from DB
Instead of recalculating the grand total from line items + rates (which
can drift by a penny due to floating point), use the actual PaymentFromCreditCard
or PaymentPaidInCash values from the Payments table. This ensures the receipt
always matches what the customer was actually charged.
2026-03-22 21:38:17 +00:00
..
index.php fix: receipt total now uses actual payment amount from DB 2026-03-22 21:38:17 +00:00