fix price format (default oman price)

This commit is contained in:
2026-01-14 22:33:07 +03:00
parent aaef1bc11b
commit 44e2730428
4 changed files with 146 additions and 22 deletions

View File

@@ -15,6 +15,7 @@ import ProInputCard from "../ProInputCard/ProInputCard";
import styles from "./PaymentMethods.module.css";
import { OrderType } from "pages/checkout/hooks/types.ts";
import RCardIcon from "components/Icons/RCardIcon";
import { formatPriceUi } from "utils/helpers";
const PaymentMethods = () => {
const { t } = useTranslation();
@@ -48,7 +49,7 @@ const PaymentMethods = () => {
</>
),
value: "cash",
price: grandTotal.toFixed(2),
price: formatPriceUi(grandTotal, 3),
style: {
color: colors.primary,
},