Merge branch 'release/v2.3.4'

This commit is contained in:
Amirhossein Mahmoodi
2024-11-16 11:08:42 +03:30
4 changed files with 13 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
NEXT_PUBLIC_API_NAME = "Loan Facilities Dashboard"
NEXT_PUBLIC_API_VERSION = "2.3.3"
NEXT_PUBLIC_API_VERSION = "2.3.4"
NEXT_PUBLIC_DEFAULT_LANGUAGE = "fa"
NEXT_PUBLIC_DEFAULT_DIRECTION = "rtl"

View File

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

View File

@@ -87,7 +87,11 @@ 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 +105,11 @@ 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>

View File

@@ -191,7 +191,7 @@ const UpdateFormReal = ({ LoanDetails, LoanId }) => {
formik.setFieldValue("requested_facilities", formik.values.requested_facilities);
}
};
console.log(formik.values.requested_facilities);
return (
<>
<Box sx={{ width: "80%", my: 2 }}>