diff --git a/example.env.local b/example.env.local index 96c7db2..2528164 100644 --- a/example.env.local +++ b/example.env.local @@ -1,5 +1,5 @@ NEXT_PUBLIC_API_NAME = "Loan Facilities Dashboard" -NEXT_PUBLIC_API_VERSION = "1.31.4" +NEXT_PUBLIC_API_VERSION = "1.31.6" NEXT_PUBLIC_DEFAULT_LANGUAGE = "fa" NEXT_PUBLIC_DEFAULT_DIRECTION = "rtl" diff --git a/public/locales/fa/app.json b/public/locales/fa/app.json index 2cc54a1..9208e6a 100644 --- a/public/locales/fa/app.json +++ b/public/locales/fa/app.json @@ -423,11 +423,11 @@ "button-reserve-confirm": "رزرو" }, "ReserveLoan": { - "title": "لغو رزرو", - "description-loan-first": "آیا از لغو رزرو وام به کد یکتا", + "title": "بازگردانی", + "description-loan-first": "آیا از بازگردانی وام به کد یکتا", "description-loan-second": "اطمینان دارید؟", "button-cancel": "بستن", - "button-confirm": "لغو رزرو" + "button-confirm": "بازگردانی" }, "BankManagement": { "name": "نام", @@ -512,8 +512,8 @@ }, "UpdateDialog": { "update": "ویرایش", - "resend": "بروزرسانی اطلاعات", - "typography": "آیا از بروزرسانی این مورد اطمینان دارید ؟", + "resend": "ارسال مجدد به بانک", + "typography": "آیا از ارسال مجدد این مورد اطمینان دارید ؟", "description": "توضیحات خود را وارد نمائید", "description_error": "وارد کردن توضیحات الزامی است!", "next-state-id": "وضعیت", @@ -541,7 +541,7 @@ "type_id": "نوع کاربر", "navgan_id": "کد ناوگان", "button-update": "ویرایش", - "button-resend": "بروزرسانی اطلاعات", + "button-resend": "ارسال", "loading_permissions_list": "درحال دریافت لیست دسترسی ها" }, "UploadSystem": { diff --git a/src/components/dashboard/bank-management/TableRowActions.jsx b/src/components/dashboard/bank-management/TableRowActions.jsx index 18d5e31..6aebedb 100644 --- a/src/components/dashboard/bank-management/TableRowActions.jsx +++ b/src/components/dashboard/bank-management/TableRowActions.jsx @@ -4,10 +4,12 @@ import UpdateForm from "@/components/dashboard/bank-management/Form/Update"; const TableRow = ({row, mutate}) => { return ( - + {row.original.bank_status == 0 && ( + + )} ); }; diff --git a/src/core/data/apiRoutes.js b/src/core/data/apiRoutes.js index 3e62565..3c3adb3 100644 --- a/src/core/data/apiRoutes.js +++ b/src/core/data/apiRoutes.js @@ -254,7 +254,7 @@ export const DELETE_ADMIN_SETTING = BASE_URL + "/dashboard/settings/delete" //bank statement export const GET_BANK_STATEMENT = BASE_URL + "/dashboard/bank_referred_loans" -export const RESEND_BANK_STATEMENT = BASE_URL + "/dashboard/bank_referred_loans/resend" +export const RESEND_BANK_STATEMENT = BASE_URL + "/dashboard/bank_referred_loans/send" // loan statistics export const GET_LOAN_STATISTICS = BASE_URL + "/dashboard/reports/navgan/statistics"