rial
This commit is contained in:
@@ -26,7 +26,7 @@ interface TableInvoiceItem extends RowDataType {
|
||||
confirmedAt: string | null
|
||||
}
|
||||
|
||||
const formatPrice = (num: number) => `${NumberFormat(num)} تومان`
|
||||
const formatPrice = (num: number) => `${NumberFormat(num)} ریال`
|
||||
|
||||
const InvoiceDetail: FC = () => {
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ interface PaymentRowType extends RowDataType {
|
||||
description: string
|
||||
}
|
||||
|
||||
const formatPrice = (num: number) => `${NumberFormat(num)} تومان`
|
||||
const formatPrice = (num: number) => `${NumberFormat(num)} ریال`
|
||||
|
||||
const statusLabels: Record<string, string> = {
|
||||
[PaymentStatusEnum.Pending]: 'در انتظار',
|
||||
|
||||
@@ -91,7 +91,7 @@ const ProformaInvoice: FC = () => {
|
||||
{
|
||||
key: 'total',
|
||||
title: 'مجموع',
|
||||
render: (item) => <span>{NumberFormat(item.total)} تومان</span>,
|
||||
render: (item) => <span>{NumberFormat(item.total)} ریال</span>,
|
||||
},
|
||||
{
|
||||
key: 'confirmStatus',
|
||||
|
||||
@@ -35,7 +35,7 @@ const gatewayItems: ItemsSelectType[] = [
|
||||
{ value: PaymentGatewayEnum.ZarinPal, label: 'زرینپال' },
|
||||
]
|
||||
|
||||
const formatPrice = (num: number) => `${NumberFormat(num)} تومان`
|
||||
const formatPrice = (num: number) => `${NumberFormat(num)} ریال`
|
||||
|
||||
const PayInvoice: FC = () => {
|
||||
|
||||
@@ -213,7 +213,7 @@ const PayInvoice: FC = () => {
|
||||
|
||||
<form onSubmit={formik.handleSubmit} className="flex flex-col gap-6">
|
||||
<Input
|
||||
label="مبلغ (تومان)"
|
||||
label="مبلغ (ریال)"
|
||||
placeholder="مبلغ را وارد کنید"
|
||||
name="amount"
|
||||
value={formik.values.amount ?? ''}
|
||||
|
||||
Reference in New Issue
Block a user