From 22ab30dd22f3b2221ecbb1689699f5ef2b9440ad Mon Sep 17 00:00:00 2001 From: Amirhossein Mahmoodi Date: Mon, 4 Mar 2024 16:25:13 +0330 Subject: [PATCH] update requestCard --- .../navgan/followUp-loan/RequestCard.jsx | 27 ++++++++++++++++--- 1 file changed, 24 insertions(+), 3 deletions(-) diff --git a/src/components/dashboard/navgan/followUp-loan/RequestCard.jsx b/src/components/dashboard/navgan/followUp-loan/RequestCard.jsx index 9c79f1f..b527295 100644 --- a/src/components/dashboard/navgan/followUp-loan/RequestCard.jsx +++ b/src/components/dashboard/navgan/followUp-loan/RequestCard.jsx @@ -3,7 +3,6 @@ import {useTranslations} from "next-intl"; import moment from "jalali-moment"; import {LinkRouting} from "@witel/webapp-builder"; import AccessTimeFilledIcon from '@mui/icons-material/AccessTimeFilled'; -import CheckCircleIcon from '@mui/icons-material/CheckCircle'; import CancelIcon from '@mui/icons-material/Cancel'; const RequestCard = ({item}) => { @@ -44,7 +43,7 @@ const RequestCard = ({item}) => { {item.state_id >= 1 && item.state_id <= 6 && } {item.state_id === 8 && - } + } {item.state_id === 7 && } @@ -59,8 +58,30 @@ const RequestCard = ({item}) => { {`${t("LoanFollowUp.loan_description")}: ${item.latest_history.expert_description}`} )} + {item.bank_status == 0 && ( + + {`${t("LoanFollowUp.loan_description")}: درخواست وام توسط بانک تایید نشد (نیاز به اصلاح اطلاعات) `} + + )} + {item.bank_state == 8 && ( + + {`${t("LoanFollowUp.loan_description")}: عدم تایید درخواست وام توسط بانک `} + + )} {item.state_id === 8 && item.bank_status == 0 && ( -