213 lines
11 KiB
Plaintext
213 lines
11 KiB
Plaintext
<%@ 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" %>
|
|
<%@taglib prefix="spring" uri="http://www.springframework.org/tags" %>
|
|
<!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">
|
|
<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/cutoff.js" type="text/javascript"></script>
|
|
<script language="javascript" src="/matrix/js/validator.js" type="text/javascript"></script>
|
|
|
|
<link href="/matrix/css/matrix.css" rel="stylesheet" type="text/css" />
|
|
<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/select.css" rel="stylesheet" type="text/css" />
|
|
<link href="/matrix/css/table.css" rel="stylesheet" type="text/css" />
|
|
<title>Nimble 1.0 | Operation Updation</title>
|
|
</head>
|
|
<body>
|
|
<body>
|
|
<div id='PageFrame'>
|
|
<!-- 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' />
|
|
<!-- -->
|
|
<div id="formcontainer" style="width:650px;margin-top:5px;position:absolute;z-index:-1">
|
|
<form:form method="post" name="sendtoopr" id="sendtoopr" modelAttribute="sendtoopr" >
|
|
<!-- Common Details (Section1) Visible for all portfolios-->
|
|
<div>
|
|
<!-- Title -->
|
|
<div id='title' class="title">
|
|
<img id="icon" src="/matrix/images/oprupd.png" align="absmiddle" />
|
|
<span id="title" align="absmiddle">Send To Operation</span>
|
|
<img id="close" src="/matrix/images/reload.png" title="Refresh Grid" onclick="SubmitForm('sendtoopr','_parent','sendtoopr')"/>
|
|
</div>
|
|
<!-- -->
|
|
<div id="TablePanel" class="tableContainer">
|
|
<table border="0" cellspacing="0" width="100%" id="cutlist">
|
|
<thead class="thead">
|
|
<tr title="Row Title">
|
|
<td width="6%">S.No</td>
|
|
<td width="65%">Portfolio</td>
|
|
<td>RV</td>
|
|
<td>OV</td>
|
|
<td>PV</td>
|
|
<td>RTV</td>
|
|
<td>OTV</td>
|
|
<td>REF</td>
|
|
<td>Send</td>
|
|
</tr>
|
|
</thead>
|
|
<tbody class="scrollContent">
|
|
<c:forEach items="${sendtoopr.caselist}" var="record" varStatus="mystatus">
|
|
<tr title="${record.lockedby}">
|
|
<td>${mystatus.count}</td>
|
|
<td id="parent${mystatus.count}" onclick="ExpandList(this.id)" >
|
|
<form:hidden path="caselist[${mystatus.index}].lockedby" id="locby${mystatus.count}" value="${status.value}"/>
|
|
<form:hidden path="caselist[${mystatus.index}].portfolioid" id="portid${mystatus.count}" value="${status.value}"/>
|
|
<form:hidden path="caselist[${mystatus.index}].portname" id="portname${mystatus.count}" value="${status.value}"/>
|
|
<span class="customLink" style="cursor:pointer">${record.portname}</span>
|
|
</td>
|
|
<td>
|
|
<form:hidden path="caselist[${mystatus.index}].totrv" id="totrv${mystatus.count}" value="${status.value}"/>${record.totrv}
|
|
</td>
|
|
<td>
|
|
<form:hidden path="caselist[${mystatus.index}].totov" id="totov${mystatus.count}" value="${status.value}"/>${record.totov}
|
|
</td>
|
|
<td>
|
|
<form:hidden path="caselist[${mystatus.index}].totpv" id="totpv${mystatus.count}" value="${status.value}"/>${record.totpv}
|
|
</td>
|
|
<td>
|
|
<form:hidden path="caselist[${mystatus.index}].totrtv" id="totrtv${mystatus.count}" value="${status.value}"/>${record.totrtv}
|
|
</td>
|
|
<td>
|
|
<form:hidden path="caselist[${mystatus.index}].tototv" id="tototv${mystatus.count}" value="${status.value}"/>${record.tototv}
|
|
</td>
|
|
<td>
|
|
<form:hidden path="caselist[${mystatus.index}].totref" id="totref${mystatus.count}" value="${status.value}"/>${record.totref}
|
|
</td>
|
|
<td align="center">
|
|
<form:hidden path="caselist[${mystatus.index}].islocked" id="locked${mystatus.count}" value="${status.value}" />
|
|
<c:choose>
|
|
<c:when test="${record.islocked gt 0}">
|
|
<img src="/matrix/images/locked.png"/>
|
|
<form:checkbox path="caselist[${mystatus.index}].oprsend" id="chksend${mystatus.count}" value="true" style="display:none" />
|
|
</c:when>
|
|
<c:otherwise>
|
|
<form:checkbox path="caselist[${mystatus.index}].oprsend" id="chksend${mystatus.count}" value="true" onclick="ToggleChecks('chkchild${mystatus.count}send',this.checked)" />
|
|
</c:otherwise>
|
|
</c:choose>
|
|
</td>
|
|
</tr>
|
|
<tr style="display:none" id="parent${mystatus.count}child" >
|
|
<c:choose>
|
|
<c:when test="${record.islocked gt 0}">
|
|
<td colspan="9" style="text-align:center;font-style: italic;color:#232323;text-transform: capitalize;">You can't see records locked by another user.</td>
|
|
</c:when>
|
|
<c:otherwise>
|
|
<td colspan="9" align="right">
|
|
<table cellspacing="0" cellpadding="0" border="0" width="94%" style="border-color: #49a5df">
|
|
<thead class="thead">
|
|
<tr title="Heading">
|
|
<td width="6%">S.No</td>
|
|
<td>MV Code</td>
|
|
<td>Appl No.</td>
|
|
<td>Customer Name</td>
|
|
<td>Type</td>
|
|
<td>RV</td>
|
|
<td>OV</td>
|
|
<td>PV</td>
|
|
<td>RTV</td>
|
|
<td>OTV</td>
|
|
<td>REF</td>
|
|
<td>Send</td>
|
|
</tr>
|
|
</thead>
|
|
<tbody class="scrollContent">
|
|
<c:forEach items="${record.sublist}" var="record1" varStatus="mystatus1">
|
|
<tr title="${record1.lockedby}child">
|
|
<td>${mystatus1.count}</td>
|
|
<td>
|
|
<form:hidden path="caselist[${mystatus.index}].sublist[${mystatus1.index}].lockedby" id="locby${mystatus1.count}child" value="${status.value}"/>
|
|
<form:hidden path="caselist[${mystatus.index}].sublist[${mystatus1.index}].mvcode" id="mvcode${mystatus1.count}child" value="${status.value}"/>
|
|
<form:hidden path="caselist[${mystatus.index}].sublist[${mystatus1.index}].uuid" id="uuid${mystatus1.count}child" value="${status.value}"/>
|
|
<span>${record1.mvcode}</span>
|
|
</td>
|
|
<td>
|
|
<form:hidden path="caselist[${mystatus.index}].sublist[${mystatus1.index}].applno" id="applno${mystatus1.count}child" value="${status.value}"/>${record1.applno}
|
|
</td>
|
|
<td>
|
|
<form:hidden path="caselist[${mystatus.index}].sublist[${mystatus1.index}].customername" id="cname${mystatus1.count}child" value="${status.value}"/>${record1.customername}
|
|
</td>
|
|
<td>
|
|
<form:hidden path="caselist[${mystatus.index}].sublist[${mystatus1.index}].apptype" id="ctype${mystatus1.count}child" value="${status.value}"/>${record1.apptype}
|
|
</td>
|
|
<td>
|
|
<form:hidden path="caselist[${mystatus.index}].sublist[${mystatus1.index}].totrv" id="totrv${mystatus1.count}child" value="${status.value}"/>${record1.totrv}
|
|
</td>
|
|
<td>
|
|
<form:hidden path="caselist[${mystatus.index}].sublist[${mystatus1.index}].totov" id="totov${mystatus1.count}child" value="${status.value}"/>${record1.totov}
|
|
</td>
|
|
<td>
|
|
<form:hidden path="caselist[${mystatus.index}].sublist[${mystatus1.index}].totpv" id="totpv${mystatus1.count}child" value="${status.value}"/>${record1.totpv}
|
|
</td>
|
|
<td>
|
|
<form:hidden path="caselist[${mystatus.index}].sublist[${mystatus1.index}].totrtv" id="totrtv${mystatus1.count}child" value="${status.value}"/>${record1.totrtv}
|
|
</td>
|
|
<td>
|
|
<form:hidden path="caselist[${mystatus.index}].sublist[${mystatus1.index}].tototv" id="tototv${mystatus1.count}child" value="${status.value}"/>${record1.tototv}
|
|
</td>
|
|
<td>
|
|
<form:hidden path="caselist[${mystatus.index}].sublist[${mystatus1.index}].totref" id="totref${mystatus1.count}child" value="${status.value}"/>${record1.totref}
|
|
</td>
|
|
<td align="center">
|
|
<form:hidden path="caselist[${mystatus.index}].sublist[${mystatus1.index}].islocked" id="locked${mystatus1.count}child" value="${status.value}" />
|
|
<c:choose>
|
|
<c:when test="${record1.islocked gt 0}">
|
|
<img src="/matrix/images/locked.png"/>
|
|
<form:checkbox path="caselist[${mystatus.index}].sublist[${mystatus1.index}].oprsend" id="chkchild${mystatus.count}send${mystatus1.count}" value="true" style="display:none" />
|
|
</c:when>
|
|
<c:otherwise>
|
|
<form:checkbox path="caselist[${mystatus.index}].sublist[${mystatus1.index}].oprsend" id="chkchild${mystatus.count}send${mystatus1.count}" value="true" onclick="checkList('chkchild${mystatus.count}send','chksend${mystatus.count}')" />
|
|
</c:otherwise>
|
|
</c:choose>
|
|
</td>
|
|
</tr>
|
|
</c:forEach>
|
|
</tbody>
|
|
</table>
|
|
</td>
|
|
</c:otherwise>
|
|
</c:choose>
|
|
</tr>
|
|
</c:forEach>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<input type="button" class="button" name="btnsave" style="margin-top:5px;float:right" value="Save" id="btnsave" accesskey="S" onclick="return ValidateSubmitSopr('sendtoopr');" />
|
|
<form:hidden path="SessUUID" value="${sendtoopr.getSessUUID()}"/>
|
|
</form:form>
|
|
<input type="hidden" id="invalidfields" value="0" />
|
|
<input type="hidden" id="selectedports" value="0" />
|
|
</div>
|
|
</div>
|
|
</body>
|
|
<!-- Page Load Javascript -->
|
|
<script language="javascript" type="text/javascript">
|
|
centerDivBoth("formcontainer","H");
|
|
InitPage();
|
|
</script>
|
|
<!-- -->
|
|
<!-- Process Message -->
|
|
<c:if test="${not empty sendtoopr.getErrMsg()}">
|
|
<script language="javascript" type="text/javascript"> CallMessage('${sendtoopr.getErrMsg()}',5000,200,300); </script>
|
|
</c:if>
|
|
<!-- -->
|
|
</html> |