loan description state id 7

This commit is contained in:
2024-11-16 10:48:43 +03:30
parent cdeb6e60c1
commit 34609c5d12
2 changed files with 9 additions and 2 deletions

View File

@@ -151,6 +151,7 @@
"loan_bank_branch": "اطلاعات شعبه", "loan_bank_branch": "اطلاعات شعبه",
"loan_details": "نمایش", "loan_details": "نمایش",
"loan_edit": "ویرایش", "loan_edit": "ویرایش",
"loan_no_expert_description": "اطلاعاتی موجود نیست",
"loan_cancel": "رد درخواست", "loan_cancel": "رد درخواست",
"loan_review": "درحال بررسی", "loan_review": "درحال بررسی",
"loan_reserve": "در صف انتظار", "loan_reserve": "در صف انتظار",

View File

@@ -87,7 +87,10 @@ const RequestCard = ({ item }) => {
wordBreak: "break-word", wordBreak: "break-word",
}} }}
> >
{`${t("LoanFollowUp.loan_description")}: ${item.latestHistory.expert_description}`} {`${t("LoanFollowUp.loan_description")}: ${item.latestHistory?.expert_description
? item.latestHistory.expert_description
: t("LoanFollowUp.loan_no_expert_description")
}`}
</Typography> </Typography>
)} )}
{item.state_id === 7 && ( {item.state_id === 7 && (
@@ -101,7 +104,10 @@ const RequestCard = ({ item }) => {
wordBreak: "break-word", wordBreak: "break-word",
}} }}
> >
{`${t("LoanFollowUp.loan_description")}: درخواست وام توسط بانک تایید نشد (نیاز به اصلاح اطلاعات) `} {`${t("LoanFollowUp.loan_description")}: ${item.latestHistory?.expert_description
? item.latestHistory.expert_description
: t("LoanFollowUp.loan_no_expert_description")
}`}
</Typography> </Typography>
)} )}
</Stack> </Stack>