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
@@ -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 = () => {
+1 -1
View File
@@ -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]: 'در انتظار',
+1 -1
View File
@@ -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',
+2 -2
View File
@@ -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 ?? ''}