diff --git a/dev-dist/sw.js b/dev-dist/sw.js index 9128901..37e2ae9 100644 --- a/dev-dist/sw.js +++ b/dev-dist/sw.js @@ -82,7 +82,7 @@ define(['./workbox-e7681877'], (function (workbox) { 'use strict'; "revision": "3ca0b8505b4bec776b69afdba2768812" }, { "url": "index.html", - "revision": "0.tesij0n6d6o" + "revision": "0.p2q1at3f1to" }], {}); workbox.cleanupOutdatedCaches(); workbox.registerRoute(new workbox.NavigationRoute(workbox.createHandlerBoundToURL("index.html"), { diff --git a/src/langs/fa.json b/src/langs/fa.json index 8f2b8fe..8e38849 100644 --- a/src/langs/fa.json +++ b/src/langs/fa.json @@ -226,7 +226,7 @@ "count": "تعداد", "unit_amount": "مبلغ واحد", "discount": "تخفیف(٪)", - "total_amount": "مبلغ کل(ریال)", + "total_amount": "مبلغ کل(تومان)", "tax": "مالیات بر ارزش افزوده (۰.۹ درصد)", "total": "جمع", "error_empty": "همه فیلد ها را پر کنید", @@ -341,11 +341,11 @@ "online_pay": "پرداخت آنلاین", "card_to_card": "کارت به کارت", "select_price": "انتخاب مبلغ", - "optional_price": "مبلغ دلخواه‌ (به ریال وارد کنید)", + "optional_price": "مبلغ دلخواه‌ (به تومان وارد کنید)", "enter_your_price": "مبلغ دلخواه خودرا وارد کنید", "select_payment": "انتخاب درگاه پرداخت", "pay": "پرداخت", - "amount": "مبلغ", + "amount": "مبلغ (به تومان وارد کنید)", "enter_amount_card": "مبلغ کارت به کارت شده را وارد کنید", "enter_amount_sheba": "مبلغ حواله شده را وارد کنید", "upload_deposit_slip": "آپلود فیش واریزی", diff --git a/src/pages/notification/Notification.tsx b/src/pages/notification/Notification.tsx index 589b4b8..8e53b46 100644 --- a/src/pages/notification/Notification.tsx +++ b/src/pages/notification/Notification.tsx @@ -77,6 +77,7 @@ const Notifications: FC = () => { default: break } + setShowModal(false) } return ( @@ -142,7 +143,7 @@ const Notifications: FC = () => { > { posts.map((item: NotificationItemType) => ( -
handleRedirect(item.type)} className="bg-white h-fit gap-4 items-start rounded-xl bg-opacity-60 p-3 mb-4 flex" key={item.id}> +
handleRedirect(item.type)} className="bg-white cursor-pointer h-fit gap-4 items-start rounded-xl bg-opacity-60 p-3 mb-4 flex" key={item.id}>
diff --git a/src/pages/receipts/Detail.tsx b/src/pages/receipts/Detail.tsx index f53167f..87f0956 100644 --- a/src/pages/receipts/Detail.tsx +++ b/src/pages/receipts/Detail.tsx @@ -111,7 +111,7 @@ const ReceiptsDetail: FC = () => { عدد
- {NumberFormat(item.totalPrice)} ریال + {NumberFormat(item.totalPrice)} تومان
) @@ -123,7 +123,7 @@ const ReceiptsDetail: FC = () => { ۱۰٪ ارزش افزوده
- {NumberFormat(getInvoce.data?.data?.invoice?.tax)} ریال + {NumberFormat(getInvoce.data?.data?.invoice?.tax)} تومان
@@ -131,7 +131,7 @@ const ReceiptsDetail: FC = () => { جمع کل
- {NumberFormat(getInvoce.data?.data?.invoice?.totalPrice)} ریال + {NumberFormat(getInvoce.data?.data?.invoice?.totalPrice)} تومان
diff --git a/src/pages/wallet/components/CardtoCard.tsx b/src/pages/wallet/components/CardtoCard.tsx index 75950ce..60b5263 100644 --- a/src/pages/wallet/components/CardtoCard.tsx +++ b/src/pages/wallet/components/CardtoCard.tsx @@ -86,7 +86,7 @@ const CardtoCard: FC = () => { label={t('wallet.amount')} placeholder={t('wallet.enter_amount_card')} name='amount' - onChange={formik.handleChange} + onChange={(e) => formik.setFieldValue('amount', e.target.value)} error_text={formik.touched.amount && formik.errors.amount ? formik.errors.amount : ''} seprator /> diff --git a/src/pages/wallet/components/Sheba.tsx b/src/pages/wallet/components/Sheba.tsx index d953e40..7f8d45d 100644 --- a/src/pages/wallet/components/Sheba.tsx +++ b/src/pages/wallet/components/Sheba.tsx @@ -87,7 +87,7 @@ const CardtoCard: FC = () => { label={t('wallet.amount')} placeholder={t('wallet.enter_amount_sheba')} name='amount' - onChange={formik.handleChange} + onChange={(e) => formik.setFieldValue('amount', e.target.value)} error_text={formik.touched.amount && formik.errors.amount ? formik.errors.amount : ''} seprator />