This commit is contained in:
2026-05-24 16:08:29 +03:30
parent 71633c0b45
commit d10034cc21
6 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ export const fa = {
contactUs: "با ما تماس بگیرید", contactUs: "با ما تماس بگیرید",
phoneNumber: "۰۸۶۹۱۰۰۹۰۰۱", phoneNumber: "۰۸۶۹۱۰۰۹۰۰۱",
}, },
toman: "تومان", rial: "ریال",
uploadBox: { uploadBox: {
selectFile: "انتخاب فایل", selectFile: "انتخاب فایل",
}, },
+1 -1
View File
@@ -26,7 +26,7 @@ interface TableInvoiceItem extends RowDataType {
confirmedAt: string | null confirmedAt: string | null
} }
const formatPrice = (num: number) => `${NumberFormat(num)} تومان` const formatPrice = (num: number) => `${NumberFormat(num)} ریال`
const InvoiceDetail: FC = () => { const InvoiceDetail: FC = () => {
+1 -1
View File
@@ -22,7 +22,7 @@ interface PaymentRowType extends RowDataType {
description: string description: string
} }
const formatPrice = (num: number) => `${NumberFormat(num)} تومان` const formatPrice = (num: number) => `${NumberFormat(num)} ریال`
const statusLabels: Record<string, string> = { const statusLabels: Record<string, string> = {
[PaymentStatusEnum.Pending]: 'در انتظار', [PaymentStatusEnum.Pending]: 'در انتظار',
+1 -1
View File
@@ -91,7 +91,7 @@ const ProformaInvoice: FC = () => {
{ {
key: 'total', key: 'total',
title: 'مجموع', title: 'مجموع',
render: (item) => <span>{NumberFormat(item.total)} تومان</span>, render: (item) => <span>{NumberFormat(item.total)} ریال</span>,
}, },
{ {
key: 'confirmStatus', key: 'confirmStatus',
+2 -2
View File
@@ -35,7 +35,7 @@ const gatewayItems: ItemsSelectType[] = [
{ value: PaymentGatewayEnum.ZarinPal, label: 'زرین‌پال' }, { value: PaymentGatewayEnum.ZarinPal, label: 'زرین‌پال' },
] ]
const formatPrice = (num: number) => `${NumberFormat(num)} تومان` const formatPrice = (num: number) => `${NumberFormat(num)} ریال`
const PayInvoice: FC = () => { const PayInvoice: FC = () => {
@@ -213,7 +213,7 @@ const PayInvoice: FC = () => {
<form onSubmit={formik.handleSubmit} className="flex flex-col gap-6"> <form onSubmit={formik.handleSubmit} className="flex flex-col gap-6">
<Input <Input
label="مبلغ (تومان)" label="مبلغ (ریال)"
placeholder="مبلغ را وارد کنید" placeholder="مبلغ را وارد کنید"
name="amount" name="amount"
value={formik.values.amount ?? ''} value={formik.values.amount ?? ''}
+2 -2
View File
@@ -51,7 +51,7 @@ const Header: FC = () => {
<Link className='hidden xl:block' to={Pages.wallet}> */} <Link className='hidden xl:block' to={Pages.wallet}> */}
<div className='flex items-center h-8 pl-2 rounded-full bg-[#EEF0F7]'> <div className='flex items-center h-8 pl-2 rounded-full bg-[#EEF0F7]'>
<div className='px-3 text-xs'> <div className='px-3 text-xs'>
{NumberFormat(data?.maxCredit) + ' ' + t('toman')} {NumberFormat(data?.maxCredit) + ' ' + t('rial')}
</div> </div>
<div className='size-[26px] flex justify-center items-center bg-white rounded-xl'> <div className='size-[26px] flex justify-center items-center bg-white rounded-xl'>
<Wallet className='xl:size-[18px] size-[17px]' color='black' /> <Wallet className='xl:size-[18px] size-[17px]' color='black' />
@@ -106,7 +106,7 @@ const Header: FC = () => {
<div className='flex xl:hidden items-center mt-4 h-8 pl-2 rounded-full bg-[#EEF0F7]'> <div className='flex xl:hidden items-center mt-4 h-8 pl-2 rounded-full bg-[#EEF0F7]'>
<div className='ps-3'>{t('home.balance')}</div> <div className='ps-3'>{t('home.balance')}</div>
<div className='px-3 text-xs'> <div className='px-3 text-xs'>
{NumberFormat(getWalletBalance.data?.data?.balance) + ' ' + t('toman')} {NumberFormat(getWalletBalance.data?.data?.balance) + ' ' + t('rial')}
</div> </div>
</div> </div>
</div> </div>