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

@@ -87,7 +87,10 @@ const RequestCard = ({ item }) => {
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>
)}
{item.state_id === 7 && (
@@ -101,7 +104,10 @@ const RequestCard = ({ item }) => {
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>
)}
</Stack>