fix price format (default oman price)
This commit is contained in:
@@ -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,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user