diff --git a/public/locales/fa/app.json b/public/locales/fa/app.json
index 261793b..0d2b5a5 100644
--- a/public/locales/fa/app.json
+++ b/public/locales/fa/app.json
@@ -141,7 +141,8 @@
"loan_date": "تاریخ درخواست",
"loan_status": "وضعیت",
"loan_bank_branch": "اطلاعات شعبه",
- "loan_details": "نمایش"
+ "loan_details": "نمایش",
+ "loan_description": "توضیحات"
},
"LoanRequest": {
"finish_loan_request": "درخواست شما با موفقیت ثبت شد",
@@ -285,7 +286,8 @@
"error_message_occupation_id": "لطفا کد شغل (با توجه به مستندات ارائه شده) را به درستی وارد کنید!",
"error_message_education_id": "لطفا تحصیلات (با توجه به مستندات ارائه شده) را به درستی وارد کنید!",
"cityList_empty": "شهر یافت نشد",
- "button_submit": "ویرایش"
+ "button_submit": "ویرایش",
+ "error_message_not_show_state": "شما دسترسی لازم به دریافت اطلاعات را ندارید!"
},
"EditLoanRequest": {
"edit_loan_request_page": "ویرایش درخواست وام"
diff --git a/src/components/dashboard/navgan/followUp-loan/RequestCard.jsx b/src/components/dashboard/navgan/followUp-loan/RequestCard.jsx
index 54695db..30e19e5 100644
--- a/src/components/dashboard/navgan/followUp-loan/RequestCard.jsx
+++ b/src/components/dashboard/navgan/followUp-loan/RequestCard.jsx
@@ -40,11 +40,24 @@ const RequestCard = ({item}) => {
{item.state_id === 8 && }
{item.state_id === 7 && }
-
+ {item.state_id !== 7 && item.state_id !== 8 && (
+
+ )}
+ {item.state_id === 7 && (
+
+ {`${t("LoanFollowUp.loan_description")}: ${item.latest_history.expert_description}`}
+
+ )}
diff --git a/src/components/dashboard/navgan/show/form/index.jsx b/src/components/dashboard/navgan/show/form/index.jsx
index 7a6f74a..833a797 100644
--- a/src/components/dashboard/navgan/show/form/index.jsx
+++ b/src/components/dashboard/navgan/show/form/index.jsx
@@ -27,6 +27,13 @@ const ShowLoanForm = () => {
);
}
+ else if(LoanDetails.state_id===8 || LoanDetails.state_id===7) {
+ return (
+
+ {t("ShowLoan.error_message_not_show_state")}
+
+ );
+ }
return (
);