Merge branch 'release/v1.30.0'
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
NEXT_PUBLIC_API_NAME = "Loan Facilities Dashboard"
|
NEXT_PUBLIC_API_NAME = "Loan Facilities Dashboard"
|
||||||
NEXT_PUBLIC_API_VERSION = "1.29.3"
|
NEXT_PUBLIC_API_VERSION = "1.30.0"
|
||||||
NEXT_PUBLIC_DEFAULT_LANGUAGE = "fa"
|
NEXT_PUBLIC_DEFAULT_LANGUAGE = "fa"
|
||||||
NEXT_PUBLIC_DEFAULT_DIRECTION = "rtl"
|
NEXT_PUBLIC_DEFAULT_DIRECTION = "rtl"
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,6 @@ import {useTranslations} from "next-intl";
|
|||||||
import moment from "jalali-moment";
|
import moment from "jalali-moment";
|
||||||
import {LinkRouting} from "@witel/webapp-builder";
|
import {LinkRouting} from "@witel/webapp-builder";
|
||||||
import AccessTimeFilledIcon from '@mui/icons-material/AccessTimeFilled';
|
import AccessTimeFilledIcon from '@mui/icons-material/AccessTimeFilled';
|
||||||
import CheckCircleIcon from '@mui/icons-material/CheckCircle';
|
|
||||||
import CancelIcon from '@mui/icons-material/Cancel';
|
import CancelIcon from '@mui/icons-material/Cancel';
|
||||||
|
|
||||||
const RequestCard = ({item}) => {
|
const RequestCard = ({item}) => {
|
||||||
@@ -44,7 +43,7 @@ const RequestCard = ({item}) => {
|
|||||||
{item.state_id >= 1 && item.state_id <= 6 &&
|
{item.state_id >= 1 && item.state_id <= 6 &&
|
||||||
<AccessTimeFilledIcon sx={{verticalAlign: 'middle', marginLeft: '4px', color: '#48a4df'}}/>}
|
<AccessTimeFilledIcon sx={{verticalAlign: 'middle', marginLeft: '4px', color: '#48a4df'}}/>}
|
||||||
{item.state_id === 8 &&
|
{item.state_id === 8 &&
|
||||||
<CheckCircleIcon sx={{verticalAlign: 'middle', marginLeft: '4px', color: 'green'}}/>}
|
<AccessTimeFilledIcon sx={{verticalAlign: 'middle', marginLeft: '4px', color: '#48a4df'}}/>}
|
||||||
{item.state_id === 7 &&
|
{item.state_id === 7 &&
|
||||||
<CancelIcon sx={{verticalAlign: 'middle', marginLeft: '4px', color: 'red'}}/>}
|
<CancelIcon sx={{verticalAlign: 'middle', marginLeft: '4px', color: 'red'}}/>}
|
||||||
</Typography>
|
</Typography>
|
||||||
@@ -59,8 +58,30 @@ const RequestCard = ({item}) => {
|
|||||||
{`${t("LoanFollowUp.loan_description")}: ${item.latest_history.expert_description}`}
|
{`${t("LoanFollowUp.loan_description")}: ${item.latest_history.expert_description}`}
|
||||||
</Typography>
|
</Typography>
|
||||||
)}
|
)}
|
||||||
|
{item.bank_status == 0 && (
|
||||||
|
<Typography variant="body1" sx={{
|
||||||
|
lineHeight: 2,
|
||||||
|
paddingLeft: '20px',
|
||||||
|
wordWrap: 'break-word',
|
||||||
|
overflowWrap: 'break-word',
|
||||||
|
wordBreak: 'break-word'
|
||||||
|
}}>
|
||||||
|
{`${t("LoanFollowUp.loan_description")}: درخواست وام توسط بانک تایید نشد (نیاز به اصلاح اطلاعات) `}
|
||||||
|
</Typography>
|
||||||
|
)}
|
||||||
|
{item.bank_state == 8 && (
|
||||||
|
<Typography variant="body1" sx={{
|
||||||
|
lineHeight: 2,
|
||||||
|
paddingLeft: '20px',
|
||||||
|
wordWrap: 'break-word',
|
||||||
|
overflowWrap: 'break-word',
|
||||||
|
wordBreak: 'break-word'
|
||||||
|
}}>
|
||||||
|
{`${t("LoanFollowUp.loan_description")}: عدم تایید درخواست وام توسط بانک `}
|
||||||
|
</Typography>
|
||||||
|
)}
|
||||||
{item.state_id === 8 && item.bank_status == 0 && (
|
{item.state_id === 8 && item.bank_status == 0 && (
|
||||||
<Button variant="contained" color="primary" sx={{alignSelf: 'flex-end'}}>
|
<Button variant="contained" color="primary" sx={{alignSelf: 'flex-end', mt: 2}}>
|
||||||
<LinkRouting underline="none" color="inherit" href={`/dashboard/navgan/${item.id}/show`}>
|
<LinkRouting underline="none" color="inherit" href={`/dashboard/navgan/${item.id}/show`}>
|
||||||
{t("LoanFollowUp.loan_details")}
|
{t("LoanFollowUp.loan_details")}
|
||||||
</LinkRouting>
|
</LinkRouting>
|
||||||
|
|||||||
Reference in New Issue
Block a user