|
|
|
|
@@ -3,6 +3,12 @@
|
|
|
|
|
<%@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" %>
|
|
|
|
|
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
|
|
|
|
|
<c:set var="pageFormMode" value="${not empty model ? model.formMode : formmode}" />
|
|
|
|
|
<c:set var="pagePortfolioId" value="${not empty model ? model.portfolioId : portfolio_id}" />
|
|
|
|
|
<c:set var="pageDynamicFields" value="${not empty model ? model.dynamicFields : dynamicfields}" />
|
|
|
|
|
<c:set var="pageDocumentCaseId" value="${not empty model ? model.documentCaseId : duuid}" />
|
|
|
|
|
<c:set var="pageUserId" value="${not empty model ? model.userId : usid}" />
|
|
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<html>
|
|
|
|
|
<head>
|
|
|
|
|
@@ -14,8 +20,8 @@
|
|
|
|
|
<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?ver=4" type="text/javascript"></script>
|
|
|
|
|
<script language="javascript" src="/matrix/js/validator.js" type="text/javascript"></script>
|
|
|
|
|
<script language="javascript" src="/matrix/js/appjs/punching.js?ver=6" 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?ver=1" type="text/javascript"></script>
|
|
|
|
|
|
|
|
|
|
@@ -25,55 +31,66 @@
|
|
|
|
|
<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" />
|
|
|
|
|
<link href="/matrix/css/bootstrap-5.3.8.min.css" rel="stylesheet" type="text/css" />
|
|
|
|
|
<link href="/matrix/css/matrix-v2.css?v=6" rel="stylesheet" type="text/css" />
|
|
|
|
|
<link href="/matrix/css/matrix-shell-v2.css?v=7" rel="stylesheet" type="text/css" />
|
|
|
|
|
<link href="/matrix/css/tool-workspace-v3.css?v=2" rel="stylesheet" type="text/css" />
|
|
|
|
|
<link href="/matrix/css/punch-workspace-v3.css?v=1" rel="stylesheet" type="text/css" />
|
|
|
|
|
<link href="/matrix/css/add-cases-v4.css?v=1" rel="stylesheet" type="text/css" />
|
|
|
|
|
<script src="/matrix/js/bootstrap-5.3.8.bundle.min.js" defer></script>
|
|
|
|
|
<script src="/matrix/js/matrix-shell-v2.js" defer></script>
|
|
|
|
|
<link href="/matrix/css/matrix-frame-dialog.css?v=6" rel="stylesheet" type="text/css" />
|
|
|
|
|
<script src="/matrix/js/matrix-frame-dialog.js?v=2" defer></script>
|
|
|
|
|
<script src="/matrix/js/matrix-accessibility-v1.js?v=1" defer></script>
|
|
|
|
|
<link href="/matrix/css/matrix-theme-v2.css?v=4" rel="stylesheet" type="text/css" />
|
|
|
|
|
<link href="/matrix/css/bootstrap-5.3.8.min.css" rel="stylesheet" type="text/css" />
|
|
|
|
|
<link href="/matrix/css/matrix-v2.css?v=6" rel="stylesheet" type="text/css" />
|
|
|
|
|
<link href="/matrix/css/matrix-shell-v2.css?v=7" rel="stylesheet" type="text/css" />
|
|
|
|
|
<link href="/matrix/css/tool-workspace-v3.css?v=2" rel="stylesheet" type="text/css" />
|
|
|
|
|
<link href="/matrix/css/punch-workspace-v3.css?v=1" rel="stylesheet" type="text/css" />
|
|
|
|
|
<link href="/matrix/css/add-cases-v4.css?v=5" rel="stylesheet" type="text/css" />
|
|
|
|
|
<script src="/matrix/js/bootstrap-5.3.8.bundle.min.js" defer></script>
|
|
|
|
|
<script src="/matrix/js/matrix-shell-v2.js" defer></script>
|
|
|
|
|
<link href="/matrix/css/matrix-frame-dialog.css?v=6" rel="stylesheet" type="text/css" />
|
|
|
|
|
<script src="/matrix/js/matrix-frame-dialog.js?v=2" defer></script>
|
|
|
|
|
<script src="/matrix/js/matrix-accessibility-v1.js?v=1" defer></script>
|
|
|
|
|
<link href="/matrix/css/matrix-theme-v2.css?v=4" rel="stylesheet" type="text/css" />
|
|
|
|
|
</head>
|
|
|
|
|
|
|
|
|
|
<body class="matrix-v2 matrix-shell matrix-tool-workspace matrix-punch-workspace matrix-add-cases">
|
|
|
|
|
<body class="matrix-v2 matrix-shell matrix-tool-workspace matrix-punch-workspace matrix-add-cases">
|
|
|
|
|
<div id='PageFrame'>
|
|
|
|
|
<!-- Title Bar -->
|
|
|
|
|
<%@ include file="/WEB-INF/app/fragments/app-title.jspf" %>
|
|
|
|
|
<%@ include file="/WEB-INF/app/fragments/app-title.jspf" %>
|
|
|
|
|
<!-- -->
|
|
|
|
|
<c:if test="${formmode!=2}">
|
|
|
|
|
<!-- Dynamic Menu -->
|
|
|
|
|
<nav class="matrix-shell__navigation" aria-label="Primary navigation">
|
|
|
|
|
<c:out value="${Sessvals.menuHtml}" escapeXml="false" />
|
|
|
|
|
</nav>
|
|
|
|
|
<c:if test="${pageFormMode!=2}">
|
|
|
|
|
<!-- Dynamic Menu -->
|
|
|
|
|
<nav class="matrix-shell__navigation" aria-label="Primary navigation">
|
|
|
|
|
<c:out value="${Sessvals.menuHtml}" escapeXml="false" />
|
|
|
|
|
</nav>
|
|
|
|
|
<!-- -->
|
|
|
|
|
</c:if>
|
|
|
|
|
<div id="formcontainer" class="matrix-tool-workspace__content">
|
|
|
|
|
<div id="formcontainer" class="matrix-tool-workspace__content">
|
|
|
|
|
<form method="post" name="casedetails" id="casedetails" >
|
|
|
|
|
<!-- Common Details (Section1) Visible for all portfolios-->
|
|
|
|
|
<div>
|
|
|
|
|
<!-- Title -->
|
|
|
|
|
<div class="title matrix-form-title">
|
|
|
|
|
<img class="matrix-title-icon" src="/matrix/images/commondet.png" align="absmiddle" />
|
|
|
|
|
<span class="matrix-title-text matrix-form-title__heading">Common Details <span id='recfound'></span></span>
|
|
|
|
|
<label class="matrix-form-title__field">Skip To <input type="text" class="textbox" style="width:30px" onkeypress="return NumberOnly(event)" onblur="GotoRecord(this,'recno')"></label>
|
|
|
|
|
<label class="matrix-form-title__field">Search By File No <input type="text" class="textbox" style="width:100px" onblur="GotoRecord(this,'query')"></label>
|
|
|
|
|
<div class="title matrix-form-title">
|
|
|
|
|
<img class="matrix-title-icon" src="/matrix/images/commondet.png" align="absmiddle" />
|
|
|
|
|
<span class="matrix-title-text matrix-form-title__heading">Common Details <span id='recfound'></span></span>
|
|
|
|
|
<label class="matrix-form-title__field">Skip To <input type="text" class="textbox" style="width:50px" onkeypress="return NumberOnly(event)" onblur="GotoRecord(this,'recno')"></label>
|
|
|
|
|
<label class="matrix-form-title__field">Search By File No <input type="text" class="textbox" style="width:150px" onblur="GotoRecord(this,'query')"></label>
|
|
|
|
|
|
|
|
|
|
<!-- Checkbox for AUTO CUT diabled for now -->
|
|
|
|
|
<label class="matrix-form-title__check"><input type="checkbox" name="autocut" checked id="autocut" /> Auto Cut-Off</label>
|
|
|
|
|
<c:if test="${formmode==2}">
|
|
|
|
|
<input type="hidden" id="portfolio_id" name="portfolio_id" value="-1" />
|
|
|
|
|
<label class="matrix-form-title__check"><input type="checkbox" name="autocut" checked id="autocut" /> Auto Cut-Off</label>
|
|
|
|
|
<c:if test="${pageFormMode==2}">
|
|
|
|
|
<input type="hidden" id="portfolio_id" name="portfolioId" value="${pagePortfolioId}" />
|
|
|
|
|
</c:if>
|
|
|
|
|
<c:if test="${formmode!=2}">
|
|
|
|
|
<div class="divselect matrix-form-title__end" id="divportfolio" style="width:217px;">
|
|
|
|
|
<select id="portfolio_id" name="portfolio_id" style="width:235px" onchange="SubmitForm('caseadd','_parent','casedetails')">
|
|
|
|
|
<c:if test="${pageFormMode!=2}">
|
|
|
|
|
<div class="divselect matrix-form-title__end" id="divportfolio" style="width:297px;">
|
|
|
|
|
<select id="portfolio_id" name="portfolioId" style="width:315px" onchange="SubmitForm('caseadd','_parent','casedetails')">
|
|
|
|
|
<option value="-1" selected >SELECT PORTFOLIO</option>
|
|
|
|
|
<c:forEach items="${portlist}" var="port">
|
|
|
|
|
<option value="${port[0]}">${port[1]}</option>
|
|
|
|
|
</c:forEach>
|
|
|
|
|
<c:choose>
|
|
|
|
|
<c:when test="${not empty model}">
|
|
|
|
|
<c:forEach items="${model.options}" var="port">
|
|
|
|
|
<c:if test="${fn:startsWith(port.key, 'portfolio.')}">
|
|
|
|
|
<option value="${fn:substringAfter(port.key, 'portfolio.')}"><c:out value="${port.value}" /></option>
|
|
|
|
|
</c:if>
|
|
|
|
|
</c:forEach>
|
|
|
|
|
</c:when>
|
|
|
|
|
<c:otherwise>
|
|
|
|
|
<c:forEach items="${portlist}" var="port">
|
|
|
|
|
<option value="${port[0]}"><c:out value="${port[1]}" /></option>
|
|
|
|
|
</c:forEach>
|
|
|
|
|
</c:otherwise>
|
|
|
|
|
</c:choose>
|
|
|
|
|
</select>
|
|
|
|
|
</div>
|
|
|
|
|
</c:if>
|
|
|
|
|
@@ -116,9 +133,14 @@
|
|
|
|
|
<div class="divselect" id="divbranch" style="width:135px;">
|
|
|
|
|
<select id="bank_branch_id" name="bank_branch_id" style="width:153px" onblur="validate(this,'t','');">
|
|
|
|
|
<option value="-1" selected >SELECT</option>
|
|
|
|
|
<c:forEach items="${branchlist}" var="brnch">
|
|
|
|
|
<option value="${brnch[0]}">${brnch[1]}</option>
|
|
|
|
|
</c:forEach>
|
|
|
|
|
<c:choose>
|
|
|
|
|
<c:when test="${not empty model}">
|
|
|
|
|
<c:forEach items="${model.options}" var="option"><c:if test="${fn:startsWith(option.key, 'branch.')}">
|
|
|
|
|
<option value="${fn:substringAfter(option.key, 'branch.')}"><c:out value="${option.value}" /></option>
|
|
|
|
|
</c:if></c:forEach>
|
|
|
|
|
</c:when>
|
|
|
|
|
<c:otherwise><c:forEach items="${branchlist}" var="brnch"><option value="${brnch[0]}"><c:out value="${brnch[1]}" /></option></c:forEach></c:otherwise>
|
|
|
|
|
</c:choose>
|
|
|
|
|
</select>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
@@ -131,9 +153,10 @@
|
|
|
|
|
<div class="divselect" id="divproduct" style="width:132px;">
|
|
|
|
|
<select id="product" name="product" style="width:150px" onblur="validate(this,'t','');">
|
|
|
|
|
<option value="-1" selected >SELECT</option>
|
|
|
|
|
<c:forEach items="${prodlist}" var="prod">
|
|
|
|
|
<option value="${prod[0]}">${prod[1]}</option>
|
|
|
|
|
</c:forEach>
|
|
|
|
|
<c:choose>
|
|
|
|
|
<c:when test="${not empty model}"><c:forEach items="${model.options}" var="option"><c:if test="${fn:startsWith(option.key, 'product.')}"><option value="${fn:substringAfter(option.key, 'product.')}"><c:out value="${option.value}" /></option></c:if></c:forEach></c:when>
|
|
|
|
|
<c:otherwise><c:forEach items="${prodlist}" var="prod"><option value="${prod[0]}"><c:out value="${prod[1]}" /></option></c:forEach></c:otherwise>
|
|
|
|
|
</c:choose>
|
|
|
|
|
</select>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
@@ -162,9 +185,10 @@
|
|
|
|
|
<div class="divselect" id="divapptype" style="width:135px;">
|
|
|
|
|
<select id="apptype" name="apptype" style="width:153px" onchange="ToggleChks((this.value.toUpperCase()!='APPLICANT' && this.value.toUpperCase()!='-1'),'sradd!C0L!soadd!C0L!spadd!C0L!','!C0L!')" onblur="validate(this,'t','');">
|
|
|
|
|
<option value="-1" selected>SELECT</option>
|
|
|
|
|
<c:forEach items="${typelist}" var="type">
|
|
|
|
|
<option value="${type[0]}">${type[1]}</option>
|
|
|
|
|
</c:forEach>
|
|
|
|
|
<c:choose>
|
|
|
|
|
<c:when test="${not empty model}"><c:forEach items="${model.options}" var="option"><c:if test="${fn:startsWith(option.key, 'applicationType.')}"><option value="${fn:substringAfter(option.key, 'applicationType.')}"><c:out value="${option.value}" /></option></c:if></c:forEach></c:when>
|
|
|
|
|
<c:otherwise><c:forEach items="${typelist}" var="type"><option value="${type[0]}"><c:out value="${type[1]}" /></option></c:forEach></c:otherwise>
|
|
|
|
|
</c:choose>
|
|
|
|
|
</select>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
@@ -177,9 +201,10 @@
|
|
|
|
|
<div class="divselect" id="divcategory" style="width:115px;">
|
|
|
|
|
<select id="category" name="category" style="width:133px">
|
|
|
|
|
<option value="-1" selected>SELECT</option>
|
|
|
|
|
<c:forEach items="${catlist}" var="cat">
|
|
|
|
|
<option value="${cat[0]}">${cat[1]}</option>
|
|
|
|
|
</c:forEach>
|
|
|
|
|
<c:choose>
|
|
|
|
|
<c:when test="${not empty model}"><c:forEach items="${model.options}" var="option"><c:if test="${fn:startsWith(option.key, 'category.')}"><option value="${fn:substringAfter(option.key, 'category.')}"><c:out value="${option.value}" /></option></c:if></c:forEach></c:when>
|
|
|
|
|
<c:otherwise><c:forEach items="${catlist}" var="cat"><option value="${cat[0]}"><c:out value="${cat[1]}" /></option></c:forEach></c:otherwise>
|
|
|
|
|
</c:choose>
|
|
|
|
|
</select>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
@@ -287,9 +312,10 @@
|
|
|
|
|
<select id="rcity" name="colr_citylist" style="width:128px" onblur="HandleBlur(this)" >
|
|
|
|
|
<option value="-1">Select</option>
|
|
|
|
|
<option value="Unknown">Unknown</option>
|
|
|
|
|
<c:forEach items="${citylist}" var="city">
|
|
|
|
|
<option value="${city[0]}">${city[1]}</option>
|
|
|
|
|
</c:forEach>
|
|
|
|
|
<c:choose>
|
|
|
|
|
<c:when test="${not empty model}"><c:forEach items="${model.options}" var="option"><c:if test="${fn:startsWith(option.key, 'city.')}"><option value="${fn:substringAfter(option.key, 'city.')}"><c:out value="${option.value}" /></option></c:if></c:forEach></c:when>
|
|
|
|
|
<c:otherwise><c:forEach items="${citylist}" var="city"><option value="${city[0]}"><c:out value="${city[1]}" /></option></c:forEach></c:otherwise>
|
|
|
|
|
</c:choose>
|
|
|
|
|
</select>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
@@ -347,7 +373,7 @@
|
|
|
|
|
<span class="matrix-title-text">Office Details</span>
|
|
|
|
|
<div class="divchk" id="ctrldiv">
|
|
|
|
|
<input type="checkbox" id="ov" onclick="HandleClick(this)" />OVR
|
|
|
|
|
<input type="checkbox" id="rco" style="display:none" onclick="HandleClick(this)" /><span id="rco">RCO</span>
|
|
|
|
|
<input type="checkbox" id="rco" style="display:none" onclick="HandleClick(this)" /><span id="rco">RCO </span>
|
|
|
|
|
<input type="checkbox" id="soadd" onclick="return FindSameDet(this,'O','ophone')" /><span id="soadd">Same Office</span>
|
|
|
|
|
<input type="checkbox" id="otv" onclick="HandleClick(this)" /><span id="otv">OTV</span>
|
|
|
|
|
</div>
|
|
|
|
|
@@ -404,9 +430,10 @@
|
|
|
|
|
<select id="ocity" name="colo_citylist" style="width:128px" onblur="HandleBlur(this)" >
|
|
|
|
|
<option value="-1">Select</option>
|
|
|
|
|
<option value="Unknown">Unknown</option>
|
|
|
|
|
<c:forEach items="${citylist}" var="city">
|
|
|
|
|
<option value="${city[0]}">${city[1]}</option>
|
|
|
|
|
</c:forEach>
|
|
|
|
|
<c:choose>
|
|
|
|
|
<c:when test="${not empty model}"><c:forEach items="${model.options}" var="option"><c:if test="${fn:startsWith(option.key, 'city.')}"><option value="${fn:substringAfter(option.key, 'city.')}"><c:out value="${option.value}" /></option></c:if></c:forEach></c:when>
|
|
|
|
|
<c:otherwise><c:forEach items="${citylist}" var="city"><option value="${city[0]}"><c:out value="${city[1]}" /></option></c:forEach></c:otherwise>
|
|
|
|
|
</c:choose>
|
|
|
|
|
</select>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
@@ -482,8 +509,8 @@
|
|
|
|
|
<span class="matrix-title-text">Property Details</span>
|
|
|
|
|
<div class="divchk" id="ctrldiv">
|
|
|
|
|
<input type="checkbox" id="pv" onclick="HandleClick(this)" />PVR
|
|
|
|
|
<input type="checkbox" id="rcp" style="display:none" onclick="HandleClick(this)" /><span id="rcp">RCP</span>
|
|
|
|
|
<input type="checkbox" id="ocp" style="display:none" onclick="HandleClick(this)" /><span id="ocp">OCP</span>
|
|
|
|
|
<input type="checkbox" id="rcp" style="display:none" onclick="HandleClick(this)" /><span id="rcp">RCP </span>
|
|
|
|
|
<input type="checkbox" id="ocp" style="display:none" onclick="HandleClick(this)" /><span id="ocp">OCP </span>
|
|
|
|
|
<input type="checkbox" id="spadd" onclick="return FindSameDet(this,'P','ppincode')" /><span id="spadd">Same Property</span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
@@ -530,9 +557,10 @@
|
|
|
|
|
<select id="pcity" name="colp_citylist" style="width:128px" onblur="HandleBlur(this)" >
|
|
|
|
|
<option value="-1">Select</option>
|
|
|
|
|
<option value="Unknown">Unknown</option>
|
|
|
|
|
<c:forEach items="${citylist}" var="city">
|
|
|
|
|
<option value="${city[0]}">${city[1]}</option>
|
|
|
|
|
</c:forEach>
|
|
|
|
|
<c:choose>
|
|
|
|
|
<c:when test="${not empty model}"><c:forEach items="${model.options}" var="option"><c:if test="${fn:startsWith(option.key, 'city.')}"><option value="${fn:substringAfter(option.key, 'city.')}"><c:out value="${option.value}" /></option></c:if></c:forEach></c:when>
|
|
|
|
|
<c:otherwise><c:forEach items="${citylist}" var="city"><option value="${city[0]}"><c:out value="${city[1]}" /></option></c:forEach></c:otherwise>
|
|
|
|
|
</c:choose>
|
|
|
|
|
</select>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
@@ -621,12 +649,15 @@
|
|
|
|
|
<div id="section6">
|
|
|
|
|
<!-- Title -->
|
|
|
|
|
<div class="title">
|
|
|
|
|
<img class="matrix-title-icon" src="/matrix/images/othdet.png" />
|
|
|
|
|
<img class="matrix-title-icon" src="/matrix/images/edit_form.png" alt="" />
|
|
|
|
|
<span class="matrix-title-text">Other Details</span>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- -->
|
|
|
|
|
<div id="FormPanel6" class="FormPanel">
|
|
|
|
|
${dynamichtml}
|
|
|
|
|
<c:choose>
|
|
|
|
|
<c:when test="${not empty model}"><c:out value="${model.dynamicHtml}" escapeXml="false" /></c:when>
|
|
|
|
|
<c:otherwise><c:out value="${dynamichtml}" escapeXml="false" /></c:otherwise>
|
|
|
|
|
</c:choose>
|
|
|
|
|
<br/>
|
|
|
|
|
<br/>
|
|
|
|
|
<br/>
|
|
|
|
|
@@ -650,16 +681,22 @@
|
|
|
|
|
<br />
|
|
|
|
|
<br />
|
|
|
|
|
<br />
|
|
|
|
|
<input type="hidden" id="dynamicfields" name="dynamicfields" value="${dynamicfields}" />
|
|
|
|
|
<input type="hidden" id="dynamicfields" name="dynamicfields" value="${pageDynamicFields}" />
|
|
|
|
|
<input type="hidden" id="visiblecontents" name="visiblecontents" value="${visiblecontents}" />
|
|
|
|
|
<input type="hidden" id="uuid" name="uuid" value="${duuid}" />
|
|
|
|
|
<input type="hidden" id="initial-portfolio-id" value="${pagePortfolioId}" />
|
|
|
|
|
<c:if test="${not empty model}">
|
|
|
|
|
<c:forEach items="${model.visibleSections}" var="section">
|
|
|
|
|
<span hidden class="model-visible-section"><c:out value="${section}" /></span>
|
|
|
|
|
</c:forEach>
|
|
|
|
|
</c:if>
|
|
|
|
|
<input type="hidden" id="uuid" name="uuid" value="${pageDocumentCaseId}" />
|
|
|
|
|
<input type="hidden" id="case_id" name="case_id" value="" />
|
|
|
|
|
<input type="hidden" id="company_id" name="company_id" value="${Sessvals.getCompanyID()}" />
|
|
|
|
|
<input type="hidden" id="branch_id" name="branch_id" value="${Sessvals.getBranchID()}" />
|
|
|
|
|
<input type="hidden" id="status" name="status" value="" />
|
|
|
|
|
<!-- -->
|
|
|
|
|
<input type="hidden" id="invalidfields" value="0" />
|
|
|
|
|
<c:if test="${formmode gt 0}">
|
|
|
|
|
<c:if test="${pageFormMode gt 0}">
|
|
|
|
|
<div style="position:fixed;text-align:right;bottom:0px;width:980px;" class="buttonbar">
|
|
|
|
|
<input type="hidden" id="invalidfields" value="0" />
|
|
|
|
|
<input type="button" class="button" name="btnfirst" style="margin-left:5px;margin-top:-2px;float:left;width:80px" value="" id="btnfirst" accesskey="F" onclick="findRecord(1)" />
|
|
|
|
|
@@ -667,25 +704,40 @@
|
|
|
|
|
<input type="button" class="button" name="btnnext" style="margin-top:-2px;float:left;width:80px" value="" id="btnnext" accesskey="N" onclick="findRecord(3)" />
|
|
|
|
|
<input type="button" class="button" name="btnlast" style="margin-top:-2px;float:left;width:80px" value="" id="btnlast" accesskey="L" onclick="findRecord(4)" />
|
|
|
|
|
<input type="button" class="button" name="btnsave" style="float:right" value="Save" id="btnsave" accesskey="S" onclick="return ValidateSubmitForm('casedetails');" />
|
|
|
|
|
<c:if test="${formmode!=2}">
|
|
|
|
|
<c:if test="${pageFormMode!=2}">
|
|
|
|
|
<input type="button" class="button" name="btnadd" style="float:right" value="Add" id="btnadd" accesskey="A" onclick="return AddNewRecord();" />
|
|
|
|
|
</c:if>
|
|
|
|
|
</div>
|
|
|
|
|
</c:if>
|
|
|
|
|
</form>
|
|
|
|
|
<input type="hidden" id="formmode" name="formmode" value="${formmode}" />
|
|
|
|
|
<input type="hidden" id="usid" name="usid" value="${usid}" />
|
|
|
|
|
<input type="hidden" id="formmode" name="formmode" value="${pageFormMode}" />
|
|
|
|
|
<input type="hidden" id="usid" name="usid" value="${pageUserId}" />
|
|
|
|
|
<c:if test="${not empty model.errorDetails}">
|
|
|
|
|
<span id="page-error-code" hidden><c:out value="${model.errorDetails.errorCode}" /></span>
|
|
|
|
|
<span id="page-error-message" hidden><c:out value="${model.errorDetails.message}" /></span>
|
|
|
|
|
</c:if>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</body>
|
|
|
|
|
<!-- Page Load Javascript -->
|
|
|
|
|
<script language="javascript" type="text/javascript">
|
|
|
|
|
InitPage('${portfolio_id}','${visiblecontents}');
|
|
|
|
|
(function () {
|
|
|
|
|
var sectionFields = document.querySelectorAll(".model-visible-section");
|
|
|
|
|
if (sectionFields.length > 0) {
|
|
|
|
|
document.getElementById("visiblecontents").value = Array.prototype.map.call(
|
|
|
|
|
sectionFields, function (field) { return field.textContent; }
|
|
|
|
|
).join(ColDelim);
|
|
|
|
|
}
|
|
|
|
|
InitPage();
|
|
|
|
|
|
|
|
|
|
var errorCode = document.getElementById("page-error-code");
|
|
|
|
|
var errorMessage = document.getElementById("page-error-message");
|
|
|
|
|
if (errorCode && errorMessage) {
|
|
|
|
|
CallMessage(errorCode.textContent + ":error:" + errorMessage.textContent, 3000, 200, 300);
|
|
|
|
|
}
|
|
|
|
|
}());
|
|
|
|
|
</script>
|
|
|
|
|
<!-- -->
|
|
|
|
|
<!-- Process Message -->
|
|
|
|
|
<c:if test="${not empty msg}">
|
|
|
|
|
<script language="javascript" type="text/javascript"> CallMessage('${msg}',3000,200,300); </script>
|
|
|
|
|
</c:if>
|
|
|
|
|
<!-- -->
|
|
|
|
|
</html>
|
|
|
|
|
</html>
|
|
|
|
|
|