Files
matrix/build/WebContent/WEB-INF/app/operation/bankreports/reports.jsp

245 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" %>
<!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/bankreports.js" type="text/javascript"></script>
<link href="/matrix/css/menu.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/button.css" rel="stylesheet" type="text/css" />
<link href="/matrix/css/table.css" rel="stylesheet" type="text/css" />
<title>Nimble 1.0 | Banklist</title>
</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="repsettings" id="repsettings" modelAttribute="repsettings" >
<!-- 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">List of Cases (${repsettings.caselist.size()}) | Supervisor: ${repsettings.supname}</span>
<div class="divselect" id="divportfolio" style="width:167px;position:absolute;top:3px;right:30px;">
<form:select path="portfolioid" multiple="false" id="portlist" style="width:185px" onchange="SubmitForm('listsolved','_parent','repsettings')">
<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>
<img id="close" src="/matrix/images/reload.png" title="Refresh Grid" onclick="SubmitForm('listsolved','_parent','repsettings')"/>
</div>
<!-- -->
<div id="TablePanel" class="tableContainer">
<c:choose>
<c:when test="${repsettings.portsupervisor == Sessvals.getUserID() and repsettings.upload == false}">
<div class="widget">
<div class="lblcontainer" style="text-transform: none">
Method
</div>
<div class="inputcontainer">
<div class="divselect" id="divrepby" style="width:175px;">
<form:select path="reportby" multiple="false" style="width:193px" >
<form:option value="-1" label="----" selected="true"/>
<form:option value="0" label="Branch" />
<form:option value="1" label="Branch->Product" />
<form:option value="2" label="Branch->Applno" />
<form:option value="3" label="Branch->Product->Applno" />
</form:select>
</div>
</div>
</div>
<div class="widget">
<div class="lblcontainer" style="text-transform: none">
Type
</div>
<div class="inputcontainer">
<div class="divselect" id="divreptype" style="width:200px;">
<form:select path="reporttype" multiple="false" style="width:218px" >
<form:option value="-1" label="----" selected="true"/>
<form:option value="0" label="Reportwise For All Case" />
<form:option value="1" label="Reportwise For Each Customer" />
<form:option value="2" label="Single File For All Case" />
<form:option value="3" label="Single For Each Customer" />
<form:option value="4" label="Excel Report" />
<form:option value="5" label="Word Report" />
</form:select>
</div>
</div>
</div>
<div class="widget">
<div class="lblcontainer" style="text-transform: none">
&nbsp;&nbsp;Automatic E-mail
</div>
<div class="inputcontainer">
<form:checkbox path="autoemail" />
</div>
</div>
<div class="widget">
<div class="lblcontainer" style="text-transform: none">
&nbsp;&nbsp;Send archived reports
</div>
<div class="inputcontainer">
<form:checkbox path="archivebatch"/>
</div>
</div>
<div class="widget">
<div class="lblcontainer" style="text-transform: none">
&nbsp;&nbsp;Attach annexure
</div>
<div class="inputcontainer">
<form:checkbox path="attachannexure"/>
</div>
</div>
</c:when>
<c:otherwise>
<form:hidden path="reportby" />
<form:hidden path="reporttype" />
<form:hidden path="autoemail" />
<form:hidden path="archivebatch" />
<form:hidden path="attachannexure" />
</c:otherwise>
</c:choose>
<table border="0" cellspacing="0" width="100%" id="casetable">
<thead class="thead">
<tr title="Row Title" id="rowtitle">
<td>S.No</td>
<td>MV Code</td>
<td>File 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>Status</td>
<td>Received Date</td>
<td>Product</td>
<td>Branch</td>
<td align="center"><input type="checkbox" name="selall" id="selall" onclick="ToggleChecks('chkrow',this.checked)" /></td>
</tr>
</thead>
<tbody class="scrollContent">
<c:forEach items="${repsettings.caselist}" var="record" varStatus="mystatus">
<tr id="row${mystatus.count}">
<td>
${mystatus.count}<form:hidden path="caselist[${mystatus.index}].uuid" id="uuid${mystatus.count}" value="${status.value}"/>
</td>
<td>
<form:hidden path="caselist[${mystatus.index}].mvcode" id="mvcode${mystatus.count}" value="${status.value}"/>${record.mvcode}
</td>
<td>
<form:hidden path="caselist[${mystatus.index}].applno" id="applno${mystatus.count}" value="${status.value}"/>${record.applno}
</td>
<td>
<form:hidden path="caselist[${mystatus.index}].customername" id="customername${mystatus.count}" value="${status.value}"/>${record.customername}
</td>
<td>
<form:hidden path="caselist[${mystatus.index}].apptype" id="apptype${mystatus.count}" value="${status.value}"/>${record.apptype}
</td>
<td>
<form:hidden path="caselist[${mystatus.index}].rv" id="rv${mystatus.count}" value="${status.value}"/>${record.rv}
</td>
<td>
<form:hidden path="caselist[${mystatus.index}].ov" id="ov${mystatus.count}" value="${status.value}"/>${record.ov}
</td>
<td>
<form:hidden path="caselist[${mystatus.index}].pv" id="pv${mystatus.count}" value="${status.value}"/>${record.pv}
</td>
<td>
<form:hidden path="caselist[${mystatus.index}].rtv" id="rtv${mystatus.count}" value="${status.value}"/>${record.rtv}
</td>
<td>
<form:hidden path="caselist[${mystatus.index}].otv" id="otv${mystatus.count}" value="${status.value}"/>${record.otv}
</td>
<td>
<form:hidden path="caselist[${mystatus.index}].refv" id="refv${mystatus.count}" value="${status.value}"/>${record.refv}
</td>
<td>
<form:hidden path="caselist[${mystatus.index}].status" id="status${mystatus.count}" value="${status.value}"/>${record.status}
</td>
<td>
<form:hidden path="caselist[${mystatus.index}].receivedate" id="receivedate${mystatus.count}" value="${status.value}"/>${record.receivedate}
</td>
<td>
<form:hidden path="caselist[${mystatus.index}].product" id="product${mystatus.count}" value="${status.value}"/>${record.product}
</td>
<td>
<form:hidden path="caselist[${mystatus.index}].branch" id="branch${mystatus.count}" value="${status.value}"/>${record.branch}
<form:hidden path="caselist[${mystatus.index}].bankbranchid" id="bbid${mystatus.count}" value="${status.value}"/>
<form:hidden path="caselist[${mystatus.index}].onlinecaseid" id="ocid${mystatus.count}" value="${status.value}"/>
</td>
<td align="center">
<form:checkbox path="caselist[${mystatus.index}].genreport" id="chkrow${mystatus.count}" value="true" />
</td>
</tr>
</c:forEach>
</tbody>
</table>
<input type="button" class="button" name="btngenreport" style="float:right;margin-top:10px" value="Generate Report" id="btngenreport" accesskey="G" onclick="return ValidateGenerateReport('repsettings');" />
</div>
</div>
<form:hidden path="rrformat" />
<form:hidden path="orformat" />
<form:hidden path="trformat" />
<form:hidden path="prformat" />
<form:hidden path="rtrformat" />
<form:hidden path="ddformat" />
<form:hidden path="tracker" />
<form:hidden path="orsaformat" />
<form:hidden path="rvqid" />
<form:hidden path="ovqid" />
<form:hidden path="tvqid" />
<form:hidden path="pvqid" />
<form:hidden path="refvqid" />
<form:hidden path="ddqid" />
<form:hidden path="extrareport" />
<form:hidden path="extraqid" />
<form:hidden path="trackqid" />
<form:hidden path="offsaqid" />
<form:hidden path="bsuid" />
<form:hidden path="portsupervisor" />
<form:hidden path="templatefile" />
<form:hidden path="uuids" id="hfdelstat" />
</form:form>
</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">contentType="html"; CallMessage('${msg}',15000,200,300); contentType="";</script>
</c:if>
<!-- -->
</html>