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

223 lines
9.0 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>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Cygnus 1.0 | Telecalling </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/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" />
<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/role-batch-v2.css?v=6" rel="stylesheet" type="text/css" />
<link href="/matrix/css/scanning-v3.css?v=2" 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=9" rel="stylesheet" type="text/css" />
<script src="/matrix/js/matrix-frame-dialog.js?v=3" 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-batch-v2 matrix-scanning-page matrix-scanning-queue">
<div id='PageFrame'>
<%@ include file="/WEB-INF/app/fragments/app-shell-header.jspf" %>
<%-- Shared shell owns ${Sessvals.menuHtml}. --%>
<div id="formcontainer" class="matrix-reporting-workspace">
<form:form method="post" name="telreporting" id="telreporting" modelAttribute="telReporting" >
<div>
<!-- Title -->
<div class="title">
<img class="matrix-title-icon" src="/matrix/images/commondet.png" align="absmiddle" />
<span class="matrix-title-text" align="absmiddle">Telecalling</span>
<img id="close" src="/matrix/images/reload.png" title="Refresh Grid" onclick="SubmitForm('filtertelgrid','_parent','telreporting')"/>
</div>
<!-- -->
<!-- Form (Filter, Sorting and Statatics Section) -->
<table class="matrix-report-overview" border="0" style="width:100%" cellspacing="0">
<tr>
<td id="filter" class="matrix-report-card matrix-report-card--filters" valign="top" style="border:1px solid #a7abb4;">
<div id="FormPanel1" class="FormPanel" style="height:100%">
<table align="center" class="matrix-form-controls" width="100%">
<tr>
<td colspan="2"><b>Filters</b></td>
</tr>
<tr>
<td align="right">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>&nbsp;</td>
<td><input type="button" id="btnfilter" class="button" value="Apply" onclick="FilterGrid('opr','filtertelgrid','telreporting')" /></td>
</tr>
<tr>
<td style="height:42px"></td>
<td></td>
</tr>
</table>
</div>
</td>
<td id="sorting" class="matrix-report-card matrix-report-card--selection" valign="top" style="border:1px solid #a7abb4;" width="220">
<div id="divsorting" class="FormPanel" style="height:100%">
<table align="center" class="matrix-form-controls" width="98%">
<tr>
<td class="title" style="height:10px;border:1px solid #a7abb4;font-weight:bold;text-align:center;vertical-align:middle;">Portfolio</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>
</tr>
</table>
</div>
</td>
<td class="matrix-report-card matrix-report-card--summary" valign="top" style="border:1px solid #a7abb4;">
<div class="FormPanel" style="height:100%">
</div>
</td>
<td class="matrix-report-card matrix-report-card--summary" valign="top" style="border:1px solid #a7abb4;">
<div class="FormPanel" style="height:100%">
<table align="center" class="matrix-form-controls">
<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 class="matrix-report-grid">
<table class="matrix-data-grid" 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="40"><b>Batch</b></th>
<th width="33"><b>Visit</b></th>
<th width="50"><b>Flags</b></th>
</tr>
</thead>
<tbody id="tabbody">
<c:forEach items="${telReporting.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[10]}" />
<input type="hidden" name="uuid" id="row${status.count}uuid" value="${cases[0]}" />
<input type="hidden" name="portfolio" id="row${status.count}portfolio" value="${cases[14]}" />
${status.count}</td>
<td>${cases[1]}</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 title="${cases[13]}">${cases[11]}${cases[15]}</td>
</tr>
</c:forEach>
</tbody>
</table>
</div>
</div>
<!-- -->
<input type="hidden" name="page" value="telreporting" />
<input type="hidden" id="usid" value="${Sessvals.getUserID()}" />
<form:hidden path="portcond" />
<form:hidden path="porthtml" />
</form:form>
</div>
</div>
</body>
<!-- Page Load Javascript -->
<script language="javascript" type="text/javascript">
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>