diff --git a/src/components/CustomWrapperDrawer.tsx b/src/components/CustomWrapperDrawer.tsx index 19847b4..642b204 100644 --- a/src/components/CustomWrapperDrawer.tsx +++ b/src/components/CustomWrapperDrawer.tsx @@ -139,7 +139,7 @@ export default function CustomWrapperDrawer({ serviceData }: Props) { fontWeight: 500, }} > - {currencyFormatter.format(serviceData.price / 100)} + {currencyFormatter.format(Math.trunc(serviceData.price) / 100)} @@ -211,7 +211,7 @@ export default function CustomWrapperDrawer({ serviceData }: Props) { fontWeight: 500, }} > - {currencyFormatter.format((tariff.price || privilege.price) / 100)} + {currencyFormatter.format(Math.trunc(tariff.price || privilege.price) / 100)} - {currencyFormatter.format(cart.priceBeforeDiscounts / 100)} + {currencyFormatter.format(Math.trunc(cart.priceBeforeDiscounts) / 100)} - {currencyFormatter.format(cart.priceAfterDiscounts / 100)} + {currencyFormatter.format(Math.trunc(cart.priceAfterDiscounts) / 100)} @@ -327,7 +327,7 @@ function Drawers() { > {notEnoughMoneyAmount > 0 && ( - Не хватает {currencyFormatter.format(notEnoughMoneyAmount / 100)} + Не хватает {currencyFormatter.format(Math.trunc(notEnoughMoneyAmount) / 100)} )}