@autobusal/routes-order 1.33.4 → 1.33.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/Checkout/Checkout.tsx +6 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.33.5
|
|
4
|
+
|
|
5
|
+
### Fixed
|
|
6
|
+
|
|
7
|
+
- **The summary's TICKET line shows the gross fare.** With a coupon it used to show the discounted figure AND a discount line - "TICKET 40 / DISCOUNT -5 / TOTAL 40", arithmetic that doesn't add up on screen. (Audit BOOK-09-b.)
|
|
8
|
+
|
|
3
9
|
## 1.33.4
|
|
4
10
|
|
|
5
11
|
### Added
|
package/Checkout/Checkout.tsx
CHANGED
|
@@ -434,7 +434,12 @@ const Checkout = ({ values, step1, step2, step3, isPartner, t, onStore, onBack }
|
|
|
434
434
|
step1={ step1 }
|
|
435
435
|
step2={ step2 }
|
|
436
436
|
step3={ step3 }
|
|
437
|
-
|
|
437
|
+
/* Claude - 2026-08-22 (audit finding BOOK-09-b): the GROSS
|
|
438
|
+
fare, not the coupon-adjusted `total` - with a coupon the
|
|
439
|
+
summary used to read "TICKET 40 / DISCOUNT -5 / TOTAL 40",
|
|
440
|
+
arithmetic that does not add up on screen. Gross minus the
|
|
441
|
+
discount line now equals the total the buyer pays. */
|
|
442
|
+
fare={ getTotal(step2, step3).display }
|
|
438
443
|
addons={ addonItems.map(item => ({ label: item.label, value: `${ item.price } ${ currency }` })) }
|
|
439
444
|
coupon={ coupon }
|
|
440
445
|
total={ grandTotal }
|