Maven and JDK 21 Migration
This commit is contained in:
682
build/WebContent/WEB-INF/app/edp/punching/addcases.jsp
Normal file
682
build/WebContent/WEB-INF/app/edp/punching/addcases.jsp
Normal file
@@ -0,0 +1,682 @@
|
||||
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
|
||||
pageEncoding="ISO-8859-1"%>
|
||||
<%@page language="java" session="true" %>
|
||||
<%@taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
|
||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||
<title>Nimble 1.0 |
|
||||
<c:if test="${caseDetails.getFormMode() eq 1}">Add Cases</c:if>
|
||||
<c:if test="${caseDetails.getFormMode() eq 2}">Edit Details</c:if>
|
||||
</title>
|
||||
<script language="javascript" src="/matrix/js/lib/constants.js" type="text/javascript"></script>
|
||||
<script language="javascript" src="/matrix/js/jquery1.7.2.js" type="text/javascript"></script>
|
||||
<script language="javascript" src="/matrix/js/ui/uifuncs.js" type="text/javascript"></script>
|
||||
<script language="javascript" src="/matrix/js/lib/jsfuncs.js" type="text/javascript"></script>
|
||||
<script language="javascript" src="/matrix/js/ui/msgdialog.js" type="text/javascript"></script>
|
||||
<script language="javascript" src="/matrix/js/ui/select.js" type="text/javascript"></script>
|
||||
<script language="javascript" src="/matrix/js/appjs/punching.js" type="text/javascript"></script>
|
||||
<script language="javascript" src="/matrix/js/validator.js?ver=2" type="text/javascript"></script>
|
||||
<script language="javascript" src="/matrix/js/ajax.js" type="text/javascript"></script>
|
||||
<script language="javascript" src="/matrix/js/ajax-dynamic-list.js" type="text/javascript"></script>
|
||||
|
||||
<link href="/matrix/css/menu.css" rel="stylesheet" type="text/css" />
|
||||
<link href="/matrix/css/button.css" rel="stylesheet" type="text/css" />
|
||||
<link href="/matrix/css/div.css" rel="stylesheet" type="text/css" />
|
||||
<link href="/matrix/css/textbox.css" rel="stylesheet" type="text/css" />
|
||||
<link href="/matrix/css/select.css" rel="stylesheet" type="text/css" />
|
||||
<link href="/matrix/css/table.css" rel="stylesheet" type="text/css" />
|
||||
<link href="/matrix/css/autocomplete.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
|
||||
<body style="font-family:Tahoma;background-color:#fff;font-size:10pt">
|
||||
<div id='PageFrame'>
|
||||
<c:if test="${caseDetails.getFormMode() eq 1}">
|
||||
<!-- Title Bar -->
|
||||
<div id='title' class="title">
|
||||
<img id="icon" src="/matrix/images/optmale.png" />
|
||||
<img id="close" src="/matrix/images/close.jpg" onclick="javascript:closewindow();" />
|
||||
<span id="title">Nimble 1.0 ${Sessvals.getCompanyCode() } (${Sessvals.getBranchLocation() }) ${Sessvals.getUserDisplayName()} (${Sessvals.getUserGroupName()}) </span>
|
||||
</div>
|
||||
<!-- -->
|
||||
<!-- Dynamic Menu -->
|
||||
<jsp:include page='../../usermenu/menu_${Sessvals.getUserID()}.html' />
|
||||
<!-- -->
|
||||
</c:if>
|
||||
|
||||
<div id="formcontainer" style="width:980px;margin-top:5px;position:absolute;z-index:-1">
|
||||
<form:form method="post" name="caseDetails" id="caseDetails" modelAttribute="caseDetails" >
|
||||
<!-- Common Details (Section1) Visible for all portfolios-->
|
||||
<div>
|
||||
<!-- Title -->
|
||||
<div id='title' class="title">
|
||||
<img id="icon" src="/matrix/images/commondet.png" align="absmiddle" />
|
||||
<span id="title" align="absmiddle">Common Details</span>
|
||||
<c:choose>
|
||||
<c:when test="${caseDetails.getFormMode() eq 1}">
|
||||
<div class="divselect" id="divportfolio" style="width:167px;position:absolute;top:3px;right:13px;">
|
||||
<form:select path="PortfolioId" multiple="false" id="portlist" style="width:185px" onchange="SubmitForm('casedet','_parent','caseDetails')">
|
||||
<form:option value="-1" label="SELECT PORTFOLIO" selected="true"/>
|
||||
<c:forEach items="${portlist}" var="port">
|
||||
<form:option value="${port[0]}" label="${port[1]}" />
|
||||
</c:forEach>
|
||||
</form:select>
|
||||
</div>
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<form:hidden path="PortfolioId" id="portlist" />
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
</div>
|
||||
<!-- -->
|
||||
<!-- Form (Section1) -->
|
||||
<div id="FormPanel1" class="FormPanel">
|
||||
<table align="center" id="FormControls" width="99%">
|
||||
<tr>
|
||||
<td>
|
||||
<div class="widget">
|
||||
<div class="lblcontainer">
|
||||
MV Code
|
||||
</div>
|
||||
<div class="inputcontainer">
|
||||
<form:input style="width:65px;text-transform:uppercase" readonly="true" path="MvCode" value="${caseDeails.getMvCode()}" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="widget">
|
||||
<div class="lblcontainer">
|
||||
Appl No.
|
||||
</div>
|
||||
<div class="inputcontainer">
|
||||
<form:input maxlength="25" style="width:115px;text-transform:uppercase" id="ApplNo" path="ApplNo" value="${caseDetails.getApplNo()}" onblur="if(validate(this,'t','AlphaNumeric')){FindSameDet(this,'A','CustomerName');}" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="widget">
|
||||
<div class="lblcontainer">
|
||||
Bank Code
|
||||
</div>
|
||||
<div class="inputcontainer">
|
||||
<form:input maxlength="25" style="width:70px;text-transform:uppercase" path="BankCode" value="${caseDetails.getBankCode()}" onblur="validate(this,'f','AlphaNumeric');" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="widget">
|
||||
<div class="lblcontainer">
|
||||
Branch
|
||||
</div>
|
||||
<div class="inputcontainer">
|
||||
<div class="divselect" id="divbranch" style="width:135px;">
|
||||
<form:select path="BankBranchId" multiple="false" id="branchlist" style="width:153px" onblur="validate(this,'t','');">
|
||||
<form:option value="-1" label="SELECT" selected="true"/>
|
||||
<c:forEach items="${branchlist}" var="brnch">
|
||||
<form:option value="${brnch[0]}" label="${brnch[1]}" />
|
||||
</c:forEach>
|
||||
</form:select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="widget">
|
||||
<div class="lblcontainer">
|
||||
Product
|
||||
</div>
|
||||
<div class="inputcontainer">
|
||||
<div class="divselect" id="divproduct" style="width:132px;">
|
||||
<form:select path="Product" multiple="false" id="prodlist" style="width:150px" onblur="validate(this,'t','');">
|
||||
<form:option value="-1" label="SELECT" selected="true"/>
|
||||
<c:forEach items="${prodlist}" var="prod">
|
||||
<form:option value="${prod[0]}" label="${prod[1]}" />
|
||||
</c:forEach>
|
||||
</form:select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="widget">
|
||||
<div class="lblcontainer">
|
||||
Name
|
||||
</div>
|
||||
<div class="inputcontainer">
|
||||
<form:input maxlength="60" style="width:200px" path="CustomerName" value="${caseDetails.getCustomerName()}" onblur="validate(this,'t','AlphaSpace');" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="widget">
|
||||
<div class="lblcontainer">
|
||||
Father Name
|
||||
</div>
|
||||
<div class="inputcontainer">
|
||||
<form:input maxlength="25" style="width:145px" path="FatherName" value="${caseDetails.getFatherName()}" onblur="validate(this,'f','AlphaSpace');" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="widget">
|
||||
<div class="lblcontainer">
|
||||
App Type
|
||||
</div>
|
||||
<div class="inputcontainer">
|
||||
<div class="divselect" id="divapptype" style="width:135px;">
|
||||
<form:select path="CustomerType" multiple="false" id="typelist" style="width:153px" onchange="ToggleChks((this.value.toUpperCase()!='APPLICANT' && this.value.toUpperCase()!='-1'),'chksresi!C0L!chksoff!C0L!chksprop!C0L!','!C0L!')" onblur="validate(this,'t','');">
|
||||
<form:option value="-1" label="SELECT" selected="true"/>
|
||||
<c:forEach items="${typelist}" var="type">
|
||||
<form:option value="${type[0]}" label="${type[1]}" />
|
||||
</c:forEach>
|
||||
</form:select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="widget">
|
||||
<div class="lblcontainer">
|
||||
Category
|
||||
</div>
|
||||
<div class="inputcontainer">
|
||||
<div class="divselect" id="divcategory" style="width:115px;">
|
||||
<form:select path="Category" multiple="false" id="catlist" style="width:133px">
|
||||
<form:option value="-1" label="SELECT" selected="true"/>
|
||||
<c:forEach items="${catlist}" var="cat">
|
||||
<form:option value="${cat[0]}" label="${cat[1]}" />
|
||||
</c:forEach>
|
||||
</form:select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="widget">
|
||||
<div class="lblcontainer">
|
||||
DOB
|
||||
</div>
|
||||
<div class="inputcontainer">
|
||||
<form:input maxlength="10" style="width:80px" path="DOB" id="dob" value="${caseDetails.getDOB()}" onkeydown="return addSlashes(this,event)" onblur="validate(this,'f','Date')" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="widget">
|
||||
<div class="lblcontainer">
|
||||
Mobile No.
|
||||
</div>
|
||||
<div class="inputcontainer">
|
||||
<form:input maxlength="21" style="width:120px" path="MobileNo" value="${caseDetails.getMobileNo()}" onblur="validate(this,'f','AllowWrong');" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="widget">
|
||||
<div class="lblcontainer">
|
||||
Loan Amt
|
||||
</div>
|
||||
<div class="inputcontainer">
|
||||
<form:input maxlength="15" style="width:100px" path="LoanAmount" value="${caseDetails.getLoanAmount()}" onblur="validate(this,'f','LoanAmount');" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="widget">
|
||||
<div class="lblcontainer">
|
||||
C Person
|
||||
</div>
|
||||
<div class="inputcontainer">
|
||||
<form:input maxlength="25" style="width:200px" path="ContactPerson" value="${caseDetails.getContactPerson()}" onblur="validate(this,'f','AlphaSpace');" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="widget">
|
||||
<div class="lblcontainer">
|
||||
Special Inst.
|
||||
</div>
|
||||
<div class="inputcontainer">
|
||||
<form:input maxlength="50" id="splist" style="width:833px" path="SpecialInst" value="${caseDetails.getSpecialInst()}" onblur="validate(this,'f','SplInstruction')" />
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<!-- -->
|
||||
</div>
|
||||
<!-- -->
|
||||
|
||||
<!-- Residence Details (Section2) Visible for portfolios in which residence visit/ residence TVR could be initiated-->
|
||||
<div id="section2">
|
||||
<!-- Title -->
|
||||
<div id='title' class="title">
|
||||
<img id="icon" src="/matrix/images/resdet.png" />
|
||||
<span id="title">Residence Details</span>
|
||||
<div class="divchk" id="ctrldiv">
|
||||
<form:checkbox path="Rvr" id="chkresi" onclick="HandleClick(this)" />RVR
|
||||
<form:checkbox path="SameResi" id="chksresi" onclick="return FindSameDet(this,'R','ResiPhone')" /><span id="chksresi">Same Resi</span>
|
||||
<form:checkbox path="Rtvr" id="chkteler" onclick="HandleClick(this)" /><span id="chkteler">RTV</span>
|
||||
</div>
|
||||
</div>
|
||||
<!-- -->
|
||||
<!-- Form (Section2) -->
|
||||
<div id="FormPanel2" class="FormPanel">
|
||||
<table align="center" id="FormControls" style="width:100%">
|
||||
<tr>
|
||||
<td>
|
||||
<div class="widget" style="margin-left:2px">
|
||||
<div class="lblcontainer" style="padding:1px">
|
||||
House No.
|
||||
</div>
|
||||
<br >
|
||||
<div class="inputcontainer" style="padding:1px">
|
||||
<form:input readonly="true" maxlength="20" style="width:70px" path="ResiAdd1" value="${caseDetails.getResiAdd1()}" onblur="validate(this,document.getElementById('chkresi').checked ? 't':'f','SplInstruction')" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="widget" style="margin-left:2px">
|
||||
<div class="lblcontainer" style="padding:1px">
|
||||
Sub Locality
|
||||
</div>
|
||||
<br >
|
||||
<div class="inputcontainer" style="padding:1px">
|
||||
<form:input readonly="true" maxlength="70" style="width:180px" path="ResiAdd2" value="${caseDetails.getResiAdd2()}" onblur="validate(this,'f','SplInstruction')" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="widget" style="margin-left:2px">
|
||||
<div class="lblcontainer" style="padding:1px">
|
||||
City
|
||||
</div>
|
||||
<br >
|
||||
<div class="inputcontainer" style="padding:1px">
|
||||
<div class="divselect" id="divrcity" style="width:110px;">
|
||||
<form:select path="ResiCity" multiple="false" id="ResiAdd3_citylist" style="width:128px" onblur="validate(this,document.getElementById('chkresi').checked ? 't':'f','')" >
|
||||
<form:option value="-1" label="Select" selected="true"/>
|
||||
<form:option value="Unknown" label="Unknown"/>
|
||||
<c:forEach items="${citylist}" var="city">
|
||||
<form:option value="${city[0]}" label="${city[1]}" />
|
||||
</c:forEach>
|
||||
</form:select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="widget" style="margin-left:2px">
|
||||
<div class="lblcontainer" style="padding:1px">
|
||||
Locality
|
||||
</div>
|
||||
<br >
|
||||
<div class="inputcontainer" style="padding:1px">
|
||||
<form:input readonly="true" maxlength="50" style="width:180px" path="ResiAdd3" value="${caseDetails.getResiAdd3()}" onkeyup="ajax_showOptions(this,event)" onblur="onLocalityBlur(this,document.getElementById('chkresi').checked ? 't':'f')" />
|
||||
<form:hidden path="ResiLoc" id="ResiAdd3_hidden" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="widget" style="margin-left:2px">
|
||||
<div class="lblcontainer" style="padding:1px">
|
||||
Landmark
|
||||
</div>
|
||||
<br >
|
||||
<div class="inputcontainer" style="padding:1px">
|
||||
<form:input readonly="true" maxlength="50" style="width:150px" path="ResiLandmark" value="${caseDetails.getResiLandmark()}" onblur="validate(this,'f','SplInstruction')" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="widget" style="margin-left:2px">
|
||||
<div class="lblcontainer" style="padding:1px">
|
||||
Pincode
|
||||
</div>
|
||||
<br >
|
||||
<div class="inputcontainer" style="padding:1px">
|
||||
<form:input readonly="true" maxlength="6" style="width:45px" id="ResiAdd3_Pincode" path="ResiPincode" value="${caseDetails.getResiPincode()}" onblur="validate(this,document.getElementById('chkresi').checked ? 't':'f','Pincode')" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="widget" style="margin-left:2px">
|
||||
<div class="lblcontainer" style="padding:1px">
|
||||
Phone No.
|
||||
</div>
|
||||
<br >
|
||||
<div class="inputcontainer" style="padding:1px">
|
||||
<form:input maxlength="25" style="width:107px" path="ResiPhone" value="${caseDetails.getResiPhone()}" onblur="validate(this,document.getElementById('chkteler').checked ? 't':'f','Phone')" />
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<!-- -->
|
||||
</div>
|
||||
<!-- -->
|
||||
|
||||
<!-- Office Details (Section3) Visible for portfolios in which office visit/ office TVR could be initiated-->
|
||||
<div id="section3">
|
||||
<!-- Title -->
|
||||
<div id='title' class="title">
|
||||
<img id="icon" src="/matrix/images/optmale.png" />
|
||||
<span id="title">Office Details</span>
|
||||
<div class="divchk" id="ctrldiv">
|
||||
<form:checkbox path="Ovr" id="chkoffice" onclick="HandleClick(this)" />OVR
|
||||
<form:checkbox path="RCO" id="chkrco" style="display:none" onclick="HandleClick(this)" /><span id="chkrco">RCO</span>
|
||||
<form:checkbox path="SameOffice" id="chksoff" onclick="return FindSameDet(this,'O','OffPhone')" /><span id="chksoff">Same Office</span>
|
||||
<form:checkbox path="Otvr" id="chkteleo" onclick="HandleClick(this)" /><span id="chkteleo">OTV</span>
|
||||
</div>
|
||||
</div>
|
||||
<!-- -->
|
||||
<!-- Form (Section3) -->
|
||||
<div id="FormPanel3" class="FormPanel">
|
||||
<table align="center" id="FormControls">
|
||||
<tr>
|
||||
<td>
|
||||
<div class="widget" style="margin-left:2px">
|
||||
<div class="lblcontainer" style="padding:1px">
|
||||
Company
|
||||
</div>
|
||||
<br >
|
||||
<div class="inputcontainer" style="padding:1px">
|
||||
<form:input maxlength="50" style="width:215px" path="CompanyName" value="${caseDetails.getCompanyName()}" onblur="validate(this,'f','SplInstruction')" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="widget" style="margin-left:2px">
|
||||
<div class="lblcontainer" style="padding:1px">
|
||||
Plot No.
|
||||
</div>
|
||||
<br >
|
||||
<div class="inputcontainer" style="padding:1px">
|
||||
<form:input readonly="true" maxlength="20" style="width:90px" path="OffAdd1" value="${caseDetails.getOffAdd1()}" onblur="validate(this,document.getElementById('chkoffice').checked ? 't':'f','SplInstruction')" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="widget" style="margin-left:2px">
|
||||
<div class="lblcontainer" style="padding:1px">
|
||||
Sub Locality
|
||||
</div>
|
||||
<br >
|
||||
<div class="inputcontainer" style="padding:1px">
|
||||
<form:input readonly="true" maxlength="70" style="width:200px" path="OffAdd2" value="${caseDetails.getOffAdd2()}" onblur="validate(this,'f','SplInstruction')" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="widget" style="margin-left:2px">
|
||||
<div class="lblcontainer" style="padding:1px">
|
||||
City
|
||||
</div>
|
||||
<br >
|
||||
<div class="inputcontainer" style="padding:1px">
|
||||
<div class="divselect" id="divocity" style="width:110px;">
|
||||
<form:select path="OffCity" multiple="false" id="OffAdd3_citylist" style="width:128px" onblur="validate(this,document.getElementById('chkoffice').checked ? 't':'f','')">
|
||||
<form:option value="-1" label="Select" selected="true"/>
|
||||
<form:option value="Unknown" label="Unknown"/>
|
||||
<c:forEach items="${citylist}" var="city">
|
||||
<form:option value="${city[0]}" label="${city[1]}" />
|
||||
</c:forEach>
|
||||
</form:select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="widget" style="margin-left:2px">
|
||||
<div class="lblcontainer" style="padding:1px">
|
||||
Locality
|
||||
</div>
|
||||
<br >
|
||||
<div class="inputcontainer" style="padding:1px">
|
||||
<form:input readonly="true" maxlength="50" style="width:200px" path="OffAdd3" value="${caseDetails.getOffAdd3()}" onkeyup="ajax_showOptions(this,event)" onblur="validate(this,document.getElementById('chkoffice').checked ? 't':'f','SplInstruction')" />
|
||||
<form:hidden path="OffLoc" id="OffAdd3_hidden" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="widget" style="margin-left:2px">
|
||||
<div class="lblcontainer" style="padding:1px">
|
||||
Pincode
|
||||
</div>
|
||||
<br >
|
||||
<div class="inputcontainer" style="padding:1px">
|
||||
<form:input readonly="true" maxlength="6" style="width:45px" id="OffAdd3_Pincode" path="OffPincode" value="${caseDetails.getOffPincode()}" onblur="validate(this,document.getElementById('chkoffice').checked ? 't':'f','Pincode')" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="widget" style="margin-left:2px">
|
||||
<div class="lblcontainer" style="padding:1px">
|
||||
Landmark
|
||||
</div>
|
||||
<br >
|
||||
<div class="inputcontainer" style="padding:1px">
|
||||
<form:input maxlength="50" style="width:215px" path="OffLandmark" value="${caseDetails.getOffLandmark()}" onblur="validate(this,'f','SplInstruction')" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="widget" style="margin-left:2px">
|
||||
<div class="lblcontainer" style="padding:1px">
|
||||
Department
|
||||
</div>
|
||||
<br >
|
||||
<div class="inputcontainer" style="padding:1px">
|
||||
<form:input maxlength="25" style="width:200px" path="Department" value="${caseDetails.getDepartment()}" onblur="validate(this,'f','SplInstruction')" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="widget" style="margin-left:2px">
|
||||
<div class="lblcontainer" style="padding:1px">
|
||||
Designation
|
||||
</div>
|
||||
<br >
|
||||
<div class="inputcontainer" style="padding:1px">
|
||||
<form:input maxlength="25" style="width:210px" path="Designation" value="${caseDetails.getDesignation()}" onblur="validate(this,'f','SplInstruction')" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="widget" style="margin-left:2px">
|
||||
<div class="lblcontainer" style="padding:1px">
|
||||
Office Phone-Extn
|
||||
</div>
|
||||
<br >
|
||||
<div class="inputcontainer" style="padding:1px">
|
||||
<form:input maxlength="25" style="width:150px" path="OffPhone" value="${caseDetails.getOffPhone()}" onblur="validate(this,document.getElementById('chkteleo').checked ? 't':'f','Phone')" />-<form:input type="text" style="width:23px" path="Extension" value="${caseDetails.getExtension()}" onblur="validate(this,'f','Extension')" />
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<!-- -->
|
||||
</div>
|
||||
<!-- -->
|
||||
|
||||
<!-- Property Details (Section4) Visible for portfolios in which property visit could be initiated-->
|
||||
<div id="section4">
|
||||
<!-- Title -->
|
||||
<div id='title' class="title">
|
||||
<img id="icon" src="/matrix/images/resdet.png" />
|
||||
<span id="title">Property Details</span>
|
||||
<div class="divchk" id="ctrldiv">
|
||||
<form:checkbox path="Pvr" id="chkprop" onclick="HandleClick(this)" />PVR
|
||||
<form:checkbox path="RCP" id="chkrcp" style="display:none" onclick="HandleClick(this)" /><span id="chkrcp">RCP</span>
|
||||
<form:checkbox path="OCP" id="chkocp" style="display:none" onclick="HandleClick(this)" /><span id="chkocp">OCP</span>
|
||||
<form:checkbox path="SameProp" id="chksprop" onclick="return FindSameDet(this,'P','PropAdd3_Pincode')" /><span id="chksprop">Same Property</span>
|
||||
</div>
|
||||
</div>
|
||||
<!-- -->
|
||||
<!-- Form (Section4) -->
|
||||
<div id="FormPanel4" class="FormPanel">
|
||||
<table align="center" id="FormControls">
|
||||
<tr>
|
||||
<td>
|
||||
<div class="widget" style="margin-left:2px">
|
||||
<div class="lblcontainer" style="padding:1px">
|
||||
House / Plot No.
|
||||
</div>
|
||||
<br >
|
||||
<div class="inputcontainer" style="padding:1px">
|
||||
<form:input readonly="true" maxlength="20" style="width:120px" path="PropAdd1" value="${caseDetails.getPropAdd1()}" onblur="validate(this,document.getElementById('chkprop').checked ? 't':'f','SplInstruction')" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="widget" style="margin-left:2px">
|
||||
<div class="lblcontainer" style="padding:1px">
|
||||
Sub Locality
|
||||
</div>
|
||||
<br >
|
||||
<div class="inputcontainer" style="padding:1px">
|
||||
<form:input readonly="true" maxlength="70" style="width:200px" path="PropAdd2" value="${caseDetails.getPropAdd2()}" onblur="validate(this,'f','SplInstruction')" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="widget" style="margin-left:2px">
|
||||
<div class="lblcontainer" style="padding:1px">
|
||||
City
|
||||
</div>
|
||||
<br >
|
||||
<div class="inputcontainer" style="padding:1px">
|
||||
<div class="divselect" id="divpcity" style="width:110px;">
|
||||
<form:select path="PropCity" multiple="false" id="PropAdd3_citylist" style="width:128px" onblur="validate(this,document.getElementById('chkprop').checked ? 't':'f','')">
|
||||
<form:option value="-1" label="Select" selected="true"/>
|
||||
<form:option value="Unknown" label="Unknown"/>
|
||||
<c:forEach items="${citylist}" var="city">
|
||||
<form:option value="${city[0]}" label="${city[1]}" />
|
||||
</c:forEach>
|
||||
</form:select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="widget" style="margin-left:2px">
|
||||
<div class="lblcontainer" style="padding:1px">
|
||||
Locality
|
||||
</div>
|
||||
<br >
|
||||
<div class="inputcontainer" style="padding:1px">
|
||||
<form:input readonly="true" maxlength="50" style="width:200px" path="PropAdd3" value="${caseDetails.getPropAdd3()}" onkeyup="ajax_showOptions(this,event)" onblur="validate(this,document.getElementById('chkprop').checked ? 't':'f','SplInstruction')" />
|
||||
<form:hidden path="PropLoc" id="PropAdd3_hidden" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="widget" style="margin-left:2px">
|
||||
<div class="lblcontainer" style="padding:1px">
|
||||
Landmark
|
||||
</div>
|
||||
<br >
|
||||
<div class="inputcontainer" style="padding:1px">
|
||||
<form:input readonly="true" maxlength="50" style="width:180px" path="PropLandmark" value="${caseDetails.getPropLandmark()}" onblur="validate(this,'f','SplInstruction')" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="widget" style="margin-left:2px">
|
||||
<div class="lblcontainer" style="padding:1px">
|
||||
Pincode
|
||||
</div>
|
||||
<br >
|
||||
<div class="inputcontainer" style="padding:1px">
|
||||
<form:input readonly="true" maxlength="6" style="width:45px" id="PropAdd3_Pincode" path="PropPincode" value="${caseDetails.getResiPincode()}" onblur="validate(this,document.getElementById('chkprop').checked ? 't':'f','Pincode')" />
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<!-- -->
|
||||
</div>
|
||||
<!-- -->
|
||||
|
||||
<!-- Reference Details (Section5) Visible for portfolios in which reference calling could be initiated-->
|
||||
<div id="section5">
|
||||
<!-- Title -->
|
||||
<div id='title' class="title">
|
||||
<img id="icon" src="/matrix/images/ref.png" />
|
||||
<span id="title">Reference Details</span>
|
||||
<div class="divchk" id="ctrldiv">
|
||||
<form:checkbox path="Refvr" id="chkref" onclick="setFormValidation(this,'FormPanel5','Ref1Name,Ref1Address,Ref1Contactno','t,f,t','AlphaSpace,SplInstruction,Phone',false)" />Ref Check
|
||||
</div>
|
||||
</div>
|
||||
<!-- -->
|
||||
<!-- Form (Section5) -->
|
||||
<div id="FormPanel5" class="FormPanel">
|
||||
<table align="center" id="FormControls">
|
||||
<tr>
|
||||
<td> </td>
|
||||
<td>Name</td>
|
||||
<td>Address</td>
|
||||
<td>Contact Numbers</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Reference 1 </td>
|
||||
<td><form:input maxlength="30" style="width:200px" path="Ref1Name" value="${caseDetails.getRef1Name()}" onblur="validate(this,document.getElementById('chkref').checked ? 't':'f','AlphaSpace')" /></td>
|
||||
<td><form:input maxlength="100" style="width:450px" path="Ref1Address" value="${caseDetails.getRef1Address()}" onblur="validate(this,'f','SplInstruction')" /></td>
|
||||
<td><form:input maxlength="25" style="width:160px" path="Ref1Contactno" value="${caseDetails.getRef1Contactno()}" onblur="validate(this,document.getElementById('chkref').checked ? 't':'f','Phone')" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
<td>Name</td>
|
||||
<td>Address</td>
|
||||
<td>Contact Numbers</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Reference 2 </td>
|
||||
<td><form:input maxlength="30" style="width:200px" path="Ref2Name" value="${caseDetails.getRef2Name()}" onblur="validate(this,'f','AlphaSpace')" /></td>
|
||||
<td><form:input maxlength="100" style="width:450px" path="Ref2Address" value="${caseDetails.getRef2Address()}" onblur="validate(this,'f','SplInstruction')" /></td>
|
||||
<td><form:input maxlength="25" style="width:160px" path="Ref2Contactno" value="${caseDetails.getRef2Contactno()}" onblur="validate(this,'f','Phone')" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<!-- -->
|
||||
</div>
|
||||
<!-- -->
|
||||
|
||||
<!-- Dynamic Form (Section6). All controls under this section will be generated dynamically during runtime-->
|
||||
<div id="section6">
|
||||
<!-- Title -->
|
||||
<div id='title' class="title">
|
||||
<img id="icon" src="/matrix/images/othdet.png" />
|
||||
<span id="title">Other Details</span>
|
||||
</div>
|
||||
<!-- -->
|
||||
<div id="FormPanel6" class="FormPanel">
|
||||
${caseDetails.getDynamicPanel()}
|
||||
</div>
|
||||
</div>
|
||||
<!-- -->
|
||||
|
||||
<!-- Document Details (Section7) Visible for portfolios in which document verification could be done-->
|
||||
<div id="section7">
|
||||
<!-- Title -->
|
||||
<div id='title' class="title">
|
||||
<img id="icon" src="/matrix/images/documents.png" />
|
||||
<span id="title">Document Details</span>
|
||||
<div class="divchk" id="ctrldiv">
|
||||
<form:checkbox path="Docvr" id="chkdoc" onclick="hideForm(this.id,'FormPanel7')" />Doc VR
|
||||
</div>
|
||||
</div>
|
||||
<!-- -->
|
||||
<!-- Form (Section7) -->
|
||||
<div id="FormPanel7" class="FormPanel">
|
||||
<table align="center" id="FormControls">
|
||||
<tr>
|
||||
<td>Document</td>
|
||||
<td>Vendor</td>
|
||||
<td>Service Provider</td>
|
||||
<td>Name</td>
|
||||
<td>Unique No.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div class="divselect" id="divdoclist" style="width:90px;">
|
||||
<select id="doclist" style="width:108px">
|
||||
<option value="-1" selected="true">
|
||||
<c:forEach items="${doclist}" var="doc">
|
||||
<option value="${doc[0]}" >${doc[1]}</option>
|
||||
</c:forEach>
|
||||
</select>
|
||||
</div>
|
||||
</td>
|
||||
<td><input type="text" style="width:150px" value="" id="vendor" /></td>
|
||||
<td><input type="text" style="width:200px" value="" id="serviceprovider" /></td>
|
||||
<td><input type="text" style="width:200px" value="" id="name" /></td>
|
||||
<td><input type="text" style="width:180px" value="" id="uniqueno" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<!-- -->
|
||||
</div>
|
||||
<form:hidden path="DynamicFields" value="${caseDetails.getDynamicFields()}" />
|
||||
<form:hidden path="VisibleContents" value="${caseDetails.getVisibleContents()}" />
|
||||
<form:hidden path="FormMode" />
|
||||
<form:hidden path="UUID" />
|
||||
<form:hidden path="CaseId" />
|
||||
<!-- -->
|
||||
<input type="hidden" id="invalidfields" value="0" />
|
||||
<c:if test="${caseDetails.getFormMode() eq 2}">
|
||||
<input type="button" class="button" name="btncancel" style="margin-left:1px;margin-top:5px;float:right" value="Cancel" id="btncancel" accesskey="C" onclick="window.returnValue=0;window.close()" />
|
||||
</c:if>
|
||||
<input type="button" class="button" name="btnsave" style="margin-top:5px;float:right" value="Save" id="btnsave" accesskey="S" onclick="return ValidateSubmitForm('caseDetails');" />
|
||||
</form:form>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
<!-- Page Load Javascript -->
|
||||
<script language="javascript" type="text/javascript">
|
||||
centerDivBoth("formcontainer","H");
|
||||
HideSections('rtv');
|
||||
HideSections('otv');
|
||||
HideSections('section');
|
||||
UnhideSections('${visibleContents}','!C0L!');
|
||||
hideForm('chkresi','FormPanel2');
|
||||
hideForm('chkoffice','FormPanel3');
|
||||
hideForm('chkprop','FormPanel4');
|
||||
hideForm('chkref','FormPanel5');
|
||||
hideForm('chkdoc','FormPanel7');
|
||||
ToggleChks((document.getElementById('chkresi').checked && document.getElementById('chkoffice').checked),'chkrco'+ColDelim,ColDelim);
|
||||
ToggleChks((document.getElementById('chkresi').checked),'chkrcp'+ColDelim,ColDelim);
|
||||
ToggleChks((document.getElementById('chkoffice').checked),'chkocp'+ColDelim,ColDelim);
|
||||
ToggleChks((document.getElementById('typelist').value.toUpperCase()!='APPLICANT' && document.getElementById('typelist').value.toUpperCase()!='-1'),'chksresi!C0L!chksoff!C0L!chksprop!C0L!','!C0L!');
|
||||
document.getElementById('ApplNo').focus();
|
||||
</script>
|
||||
<!-- -->
|
||||
<!-- Process Message -->
|
||||
<c:if test="${not empty caseDetails.getErrMsg()}">
|
||||
<script language="javascript" type="text/javascript"> CallMessage('${caseDetails.getErrMsg()}',3000,200,300); </script>
|
||||
<c:if test="${caseDetails.isProcessFlag()==true and caseDetails.getFormMode()==2}">
|
||||
<script language="javascript" type="text/javascript">window.returnValue=1; window.close(); </script>
|
||||
</c:if>
|
||||
</c:if>
|
||||
<!-- -->
|
||||
</html>
|
||||
Reference in New Issue
Block a user