toman and ...

This commit is contained in:
hamid zarghami
2025-03-03 12:48:52 +03:30
parent 3af46a330f
commit e8925de654
6 changed files with 11 additions and 10 deletions
+2 -1
View File
@@ -77,6 +77,7 @@ const Notifications: FC = () => {
default:
break
}
setShowModal(false)
}
return (
@@ -142,7 +143,7 @@ const Notifications: FC = () => {
>
{
posts.map((item: NotificationItemType) => (
<div onClick={() => 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}>
<div onClick={() => 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}>
<div className="mt-1">
<StatusCircle color="#00BA4B" />
</div>
+3 -3
View File
@@ -111,7 +111,7 @@ const ReceiptsDetail: FC = () => {
<span>عدد</span>
</div>
<div>
<span>{NumberFormat(item.totalPrice)}</span> ریال
<span>{NumberFormat(item.totalPrice)}</span> تومان
</div>
</div>
)
@@ -123,7 +123,7 @@ const ReceiptsDetail: FC = () => {
۱۰٪ ارزش افزوده
</div>
<div>
<span>{NumberFormat(getInvoce.data?.data?.invoice?.tax)}</span> ریال
<span>{NumberFormat(getInvoce.data?.data?.invoice?.tax)}</span> تومان
</div>
</div>
<div className='flex justify-between items-center text-xs border-t border-[#EAEDF5] h-14'>
@@ -131,7 +131,7 @@ const ReceiptsDetail: FC = () => {
جمع کل
</div>
<div>
<span>{NumberFormat(getInvoce.data?.data?.invoice?.totalPrice)}</span> ریال
<span>{NumberFormat(getInvoce.data?.data?.invoice?.totalPrice)}</span> تومان
</div>
</div>
</div>
+1 -1
View File
@@ -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
/>
+1 -1
View File
@@ -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
/>