Files
matrix/build/WebContent/WEB-INF/app/operation/reporting/bksoprreporting.jsp

267 lines
10 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" %>
<!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 | Reporting </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/flexigrid.js" type="text/javascript"></script>
<script language="javascript" src="/matrix/js/jquery.tablesorter.js" type="text/javascript"></script>
<script language="javascript" src="/matrix/js/appjs/reporting.js" type="text/javascript"></script>
<link href="/matrix/css/div.css" rel="stylesheet" type="text/css" />
<link href="/matrix/css/menu.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/button.css" rel="stylesheet" type="text/css" />
<link href="/matrix/css/flexigrid.css" rel="stylesheet" type="text/css" media="all" />
</head>
<body style="font-family:Tahoma;background-color:#fff;font-size:10pt">
<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 &nbsp;&nbsp; ${Sessvals.getCompanyCode() } (${Sessvals.getBranchLocation() }) &nbsp;&nbsp; ${Sessvals.getUserDisplayName()} (${Sessvals.getUserGroupName()}) </span>
</div>
<!-- -->
<!-- Dynamic Menu -->
<jsp:include page='../../usermenu/menu_${Sessvals.getUserID()}.html' />
<!-- -->
<div id="formcontainer" style="width:95%;margin-top:5px;position:absolute;z-index:-1">
<form:form method="post" name="oprreporting" id="oprreporting" modelAttribute="oprReporting" >
<div>
<!-- Title -->
<div id='title' class="title">
<img id="icon" src="/matrix/images/commondet.png" align="absmiddle" />
<span id="title" align="absmiddle">Reporting</span>
<img id="close" src="/matrix/images/reload.png" title="Refresh Grid" onclick="SubmitForm('filterreporting','_parent','oprreporting')"/>
</div>
<!-- -->
<!-- Form (Filter, Sorting and Statatics Section) -->
<table border="0" style="width:100%" cellspacing="0">
<tr>
<td id="filter" valign="top" style="border:1px solid #a7abb4;">
<div id="FormPanel1" class="FormPanel" style="height:100%" >
<table align="center" id="FormControls">
<tr>
<td colspan="2"><b>Filters</b></td>
</tr>
<tr>
<td>Portfolio</td>
<td>
<div class="divselect" id="divportfolio" style="width:135px;">
<form:select path="portfolioid" multiple="false" id="portlist" style="width:153px" onchange="AddFilter(this,'port')" >
<form:option value="-1" label="Select" selected="true"/>
<c:forEach items="${portlist}" var="port">
<form:option value="${port[0]}" label="${port[1]}" />
</c:forEach>
</form:select>
</div>
</td>
</tr>
<tr>
<td>Verifier</td>
<td>
<div class="divselect" id="veridiv" style="width:135px;">
<form:select path="verifierid" multiple="false" id="verlist" style="width:153px" onchange="AddFilter(this,'ver')" >
<form:option value="-1" label="Select" selected="true"/>
<c:forEach items="${verlist}" var="ver">
<form:option value="${ver[0]}" label="${ver[1]}" />
</c:forEach>
</form:select>
</div>
</td>
</tr>
<tr>
<td>&nbsp;</td>
<td><input type="button" id="btnfilter" class="button" value="Apply" onclick="FilterGrid('opr','filterbkreporting','oprreporting')" /></td>
</tr>
<tr>
<td style="height:17px"></td>
<td></td>
</tr>
</table>
</div>
</td>
<td id="sorting" valign="top" style="border:1px solid #a7abb4;" width="220">
<div id="divsorting" class="FormPanel" style="height:100%">
<table align="center" id="FormControls" width="98%">
<tr>
<td class="title" style="height:10px;width:130px;border:1px solid #a7abb4;font-weight:bold;text-align:center;vertical-align:middle;">Portfolio</td>
<td class="title" style="height:10px;border:1px solid #a7abb4;font-weight:bold;text-align:center;vertical-align:middle;">Verifier</td>
</tr>
<tr>
<td style="overflow:auto;padding:0px;vertical-align:top;border:1px solid #a7abb4">
<div style="overflow:auto;height:89px;width:100%" id="portdiv">
</div>
</td>
<td style="overflow:auto;padding:0px;vertical-align:top;border:1px solid #a7abb4">
<div style="overflow:auto;height:89px;width:100%" id="verdiv">
</div>
</td>
</tr>
</table>
</div>
</td>
<td id="statatics" valign="top" style="border:1px solid #a7abb4;">
<div id="divstatatics" class="FormPanel" style="height:100%">
<table align="center" id="FormControls">
<tr>
<td><b>Statatics</b></td>
<td></td><td></td><td></td>
</tr>
<tr>
<td>Residence</td>
<td><form:input path="totresi" readonly="true" style="width:30px" /></td>
<td>Office</td>
<td><form:input path="totoff" readonly="true" style="width:30px" /></td>
</tr>
<tr>
<td>Property</td>
<td><form:input readonly="true" path="totprop" style="width:30px" /></td>
<td></td><td></td>
</tr>
<tr>
<td>&nbsp;</td><td></td><td></td><td></td>
</tr>
<tr>
<td style="height:21px">&nbsp;</td><td></td><td></td><td></td>
</tr>
</table>
</div>
</td>
<td id="statatics" valign="top" style="border:1px solid #a7abb4;">
<div id="divstatatics" class="FormPanel" style="height:100%">
<table align="center" id="FormControls">
<tr>
<td><b>Pending</b></td>
<td><form:input readonly="true" path="pending" style="width:30px;font-weight:bold" /></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>Backlog</td>
<td><form:input readonly="true" path="pbacklog" style="width:30px;color:red" /></td>
<td>AM</td>
<td><form:input readonly="true" path="pam" style="width:30px;color:blue" /></td>
<td>PM</td>
<td><form:input readonly="true" path="ppm" style="width:30px;color:green" /></td>
</tr>
<tr>
<td><b>Solved</b></td>
<td><form:input type="text" readonly="true" path="solved" style="width:30px;font-weight:bold" /></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>Backlog</td>
<td><form:input readonly="true" path="sbacklog" style="width:30px" /></td>
<td>AM</td>
<td><form:input readonly="true" path="sam" style="width:30px" /></td>
<td>PM</td>
<td><form:input readonly="true" path="spm" style="width:30px" /></td>
</tr>
<tr>
<td style="height:5px"></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
</table>
<!-- -->
<div style="border:1px solid #a7abb4;">
<table width="100%" id="casetable">
<thead>
<tr>
<th width="25"><b>S.No</b></th>
<th width="58"><b>MV Code</b></th>
<th width="80"><b>File No.</b></th>
<th width="165"><b>Name</b></th>
<th width="67"><b>Type</b></th>
<th width="60"><b>Produt</b></th>
<th width="80"><b>Portfolio</b></th>
<th width="50"><b>Branch</b></th>
<th width="85"><b>Date</b></th>
<th width="27"><b>Batch</b></th>
<th width="18"><b>Ver</b></th>
<th width="23"><b>Visit</b></th>
<th width="50"><b>Flags</b></th>
</tr>
</thead>
<tbody id="tabbody">
<c:forEach items="${oprReporting.caselist}" var="cases" varStatus="status">
<tr id="row${status.count}">
<td>
<input type="hidden" name="row${status.count}visit" id="row${status.count}visit" value="${cases[12]}" />
<input type="hidden" name="uuid" id="row${status.count}uuid" value="${cases[0]}" />
<input type="hidden" name="verifier" id="row${status.count}verifier" value="${cases[1]}" />
<input type="hidden" name="portfolio" id="row${status.count}portfolio" value="${cases[16]}" />
${status.count}</td>
<td>${cases[2]}</td>
<td>${cases[3]}</td>
<td>${cases[4]}</td>
<td>${cases[5]}</td>
<td>${cases[6]}</td>
<td>${cases[7]}</td>
<td>${cases[8]}</td>
<td>${cases[9]}</td>
<td>${cases[10]}</td>
<td>${cases[11]}</td>
<td>${cases[12]}</td>
<td title="${cases[15]}">${cases[13]}${cases[17]}${cases[18]}</td>
</tr>
</c:forEach>
</tbody>
</table>
</div>
</div>
<!-- -->
<input type="hidden" name="page" value="oprreporting" />
<input type="hidden" id="usid" value="${Sessvals.getUserID()}" />
<form:hidden path="portcond" />
<form:hidden path="vercond" />
<form:hidden path="porthtml" />
<form:hidden path="verhtml" />
</form:form>
</div>
</div>
</body>
<!-- Page Load Javascript -->
<script language="javascript" type="text/javascript">
centerDivBoth("formcontainer","H");
InitPage();
</script>
<!-- -->
<!-- Process Message -->
<c:if test="${not empty msg}">
<script language="javascript" type="text/javascript"> CallMessage('${msg}',3000,200,300); </script>
</c:if>
<!-- -->
</html>