diff --git a/src/components/Drawers.tsx b/src/components/Drawers.tsx index 4f7a13d..14b4d4d 100644 --- a/src/components/Drawers.tsx +++ b/src/components/Drawers.tsx @@ -278,6 +278,7 @@ function Drawers() { pt: "38px", }} > + + diff --git a/src/components/TotalPrice.tsx b/src/components/TotalPrice.tsx index a6b35b1..1dad5ea 100644 --- a/src/components/TotalPrice.tsx +++ b/src/components/TotalPrice.tsx @@ -5,6 +5,7 @@ import { Alert, Box, Button, + Badge, Typography, useMediaQuery, useTheme, @@ -97,6 +98,7 @@ export default function TotalPrice({ pl: upMd ? "33px" : undefined, }} > + + {notEnoughMoneyAmount > 0 && ( Нехватает {currencyFormatter.format(notEnoughMoneyAmount / 100)} diff --git a/src/pages/Cart/Cart.tsx b/src/pages/Cart/Cart.tsx index 0a00351..b2cabca 100644 --- a/src/pages/Cart/Cart.tsx +++ b/src/pages/Cart/Cart.tsx @@ -1,4 +1,4 @@ -import { Box, IconButton, Typography, useMediaQuery, useTheme } from "@mui/material" +import { Box, IconButton, Typography, Badge, useMediaQuery, useTheme } from "@mui/material" import SectionWrapper from "@components/SectionWrapper" import ArrowBackIcon from "@mui/icons-material/ArrowBack" import TotalPrice from "@components/TotalPrice" diff --git a/src/pages/TariffConstructor/CustomTariffCard.tsx b/src/pages/TariffConstructor/CustomTariffCard.tsx index 3265a80..2d915cd 100644 --- a/src/pages/TariffConstructor/CustomTariffCard.tsx +++ b/src/pages/TariffConstructor/CustomTariffCard.tsx @@ -2,6 +2,7 @@ import { Box, Button, Divider, + Badge, Typography, useMediaQuery, useTheme, @@ -116,6 +117,7 @@ export default function CustomTariffCard({ serviceKey, privileges }: Props) { Сумма с учетом скидки + +