Merge branch 'release/v2.2.3'

This commit is contained in:
Amirhossein Mahmoodi
2024-05-15 11:48:35 +03:30
3 changed files with 5 additions and 5 deletions

View File

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

View File

@@ -382,7 +382,7 @@
"upload_file_unit": "فایل بارگذاری شده باید حداکثر 5Mb باشد",
"upload_file_format": "فرمت قابل قبول : png,jpg,pdf",
"excel_report": "گزارش اکسل",
"confirm_text": رم الف و ب به رویت و تایید رسید."
"confirm_text": ایل گزارش کارشناس به رویت و تایید رسید."
},
"InspectorExpert": {
"name": "نام",

View File

@@ -155,9 +155,9 @@ const ConfirmContent = ({rowId, mutate, setOpenConfirmDialog, vehicle_type}) =>
const handleAmountChange = (event) => {
if (!isNaN(event.target.value)) {
formik.setFieldValue("approved_amount", event.target.value).then(() => {
formik.setFieldValue("facility_bank", (config.facility_bank / 100) * event.target.value)
formik.setFieldValue("facility_gov", (config.facility_gov / 100) * event.target.value)
formik.setFieldValue("facility_person", (config.facility_person / 100) * event.target.value)
formik.setFieldValue("facility_bank", parseInt((config.facility_bank / 100) * event.target.value, 10))
formik.setFieldValue("facility_gov", parseInt((config.facility_gov / 100) * event.target.value, 10))
formik.setFieldValue("facility_person", parseInt((config.facility_person / 100) * event.target.value, 10))
})
} else {
formik.setFieldValue("approved_amount", formik.values.approved_amount)