round off the basePrice and strikedPrice
This commit is contained in:
@@ -150,9 +150,9 @@ function CheckoutConfigCard({
|
||||
const cardMode = item?.cardType?.name === "selective_pass" ? "flexi" : "unlimited"
|
||||
const adultPrice = item?.adultPrice * noOfAdults
|
||||
const childPrice = item?.childPrice * noOfChildren
|
||||
const basePrice = adultPrice + childPrice
|
||||
const basePrice = Math.round(adultPrice + childPrice)
|
||||
const taxAmount = Math.round(basePrice * 0.1)
|
||||
const strikedPrice = basePrice + 20
|
||||
const strikedPrice = Math.round(basePrice + 20)
|
||||
|
||||
const [addCardToCart] = useAddCardToCartMutation()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user