Files
matrix/build/WebContent/WEB-INF/app/operation/reporting/qualityctrl.jsp
2026-07-21 20:46:27 +05:30

396 lines
18 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 | Quality Control </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/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?v=11" 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="scanreporting" id="scanreporting" modelAttribute="scanReporting" >
<div>
<!-- Title -->
<div class="title matrix-page-heading">
<img class="matrix-title-icon" src="/matrix/images/commondet.png" align="absmiddle" />
<span class="matrix-title-text" align="absmiddle">Scanning</span>
<img class="matrix-title-action" src="/matrix/images/reload.png" title="Refresh Grid" onclick="SubmitForm('filterscangrid','_parent','scanreporting')"/>
</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="98%">
<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 id="fltbranch">
<td>Branch</td>
<td>
<div class="divselect" id="brndiv" style="width:135px;">
<form:select path="branch" multiple="false" style="width:153px" >
<form:option value="-1" label="Select" selected="true"/>
<c:forEach items="${branchlist}" var="brn">
<form:option value="${brn[0]}" label="${brn[1]}" />
</c:forEach>
</form:select>
</div>
</td>
</tr>
<tr id="fltproduct">
<td>Product</td>
<td>
<div class="divselect" id="prodiv" style="width:135px;">
<form:select path="productid" multiple="false" style="width:153px" >
<form:option value="-1" label="Select" selected="true"/>
<c:forEach items="${productlist}" var="prod">
<form:option value="${prod[0]}" label="${prod[1]}" />
</c:forEach>
</form:select>
</div>
</td>
</tr>
<tr>
<td>&nbsp;</td>
<td><input type="button" id="btnfilter" class="button" value="Apply" onclick="FilterGrid('mgr','filterscangrid','scanreporting')" /></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" style="width98%;margin-top:2px">
<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:123px;width:100%" id="portdiv">
</div>
</td>
<td style="overflow:auto;padding:0px;vertical-align:top;border:1px solid #a7abb4">
<div style="overflow:auto;height:123px;width:100%" id="verdiv">
</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%">
<table align="center" class="matrix-form-controls">
<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>TeleVR</td>
<td><form:input readonly="true" path="totprop" style="width:30px" /></td>
<td>Property</td><td><form:input readonly="true" path="tottele" style="width:30px" /></td>
</tr>
<tr>
<td>REFERENCE</td><td><form:input readonly="true" path="totref" style="width:30px" />
</td><td></td><td></td>
</tr>
<tr>
<td style="height:45px">&nbsp;</td><td></td><td></td><td></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%">
<table align="center" class="matrix-form-controls">
<tr>
<td align="center" style="color:#e83d01;padding:1px"><b>Pending</b></td>
<td></td>
<td align="center" style="color:#e83d01;padding:1px"><b>Backlog</b></td>
<td></td>
<td align="center" style="color:#e83d01;padding:1px"><b>AM</b></td>
<td></td>
<td align="center" style="color:#e83d01;padding:1px"><b>PM</b></td>
</tr>
<tr>
<td align="center" style="padding:1px"><form:input readonly="true" path="pending" style="width:40px;font-weight:bold" /></td>
<td align="center" style="padding:1px"><b>=</b></td>
<td align="center" style="padding:1px"><form:input readonly="true" path="pbacklog" style="width:40px;color:red" /></td>
<td align="center" style="padding:1px"><b>+</b></td>
<td align="center" style="padding:1px"><form:input readonly="true" path="pam" style="width:30px;color:green" /></td>
<td align="center" style="padding:1px"><b>+</b></td>
<td align="center" style="padding:1px"><form:input readonly="true" path="ppm" style="width:30px;color:blue" /></td>
</tr>
<tr>
<td align="center" style="color:#296b01;padding:1px"><b>Solved</b></td>
<td></td>
<td align="center" style="color:#296b01;padding:1px"><b>Backlog</b></td>
<td></td>
<td align="center" style="color:#296b01;padding:1px"><b>AM</b></td>
<td></td>
<td align="center" style="color:#296b01;padding:1px"><b>PM</b></td>
</tr>
<tr>
<td align="center" style="padding:1px"><form:input type="text" readonly="true" path="tbsolved" style="width:40px;font-weight:bold" /></td>
<td align="center" style="padding:1px"><b>=</b></td>
<td align="center" style="padding:1px"><form:input readonly="true" path="tbsbacklog" style="width:40px;color:red" /></td>
<td align="center" style="padding:1px"><b>+</b></td>
<td align="center" style="padding:1px"><form:input readonly="true" path="tbsam" style="width:30px;color:green" /></td>
<td align="center" style="padding:1px"><b>+</b></td>
<td align="center" style="padding:1px"><form:input readonly="true" path="tbspm" style="width:30px;color:blue" /></td>
</tr>
<tr>
<td align="center" style="color:#0366e0;padding:1px"><b>Done</b></td>
<td></td>
<td align="center" style="color:#0366e0;padding:1px"><b>Backlog</b></td>
<td></td>
<td align="center" style="color:#0366e0;padding:1px"><b>AM</b></td>
<td></td>
<td align="center" style="color:#0366e0;padding:1px"><b>PM</b></td>
</tr>
<tr>
<td align="center" style="padding:1px"><form:input type="text" readonly="true" path="solved" style="width:40px;font-weight:bold" /></td>
<td align="center" style="padding:1px"><b>=</b></td>
<td align="center" style="padding:1px"><form:input readonly="true" path="sbacklog" style="width:40px" /></td>
<td align="center" style="padding:1px"><b>+</b></td>
<td align="center" style="padding:1px"><form:input readonly="true" path="sam" style="width:30px" /></td>
<td align="center" style="padding:1px"><b>+</b></td>
<td align="center" style="padding:1px"><form:input readonly="true" path="spm" style="width:30px" /></td>
</tr>
<tr>
<td style="height:5px"></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="15"></th>
<th width="50"><b>Portfolio</b></th>
<th width="58"><b>MV Code</b></th>
<th width="55"><b>File No.</b></th>
<th width="100"><b>Name</b></th>
<th width="35"><b>Type</b></th>
<th width="45"><b>Produt</b></th>
<th width="45"><b>Branch</b></th>
<th width="30" title="Residence Verifier"><b>RVER</b></th>
<th width="30" title="Office Verifier"><b>OVER</b></th>
<th width="30" title="Property Verifier"><b>PVER</b></th>
<th width="80"><b>Date</b></th>
<th width="20"><b>Lot</b></th>
<th width="9" title="Residence Report"><b>R</b></th>
<th width="9" title="Office Report"><b>O</b></th>
<th width="9" title="Telecalling Report"><b>T</b></th>
<th width="9" title="Property / Other Report"><b>P</b></th>
<th width="15" title="Reference Calling"><b>RT</b></th>
<th width="15" title="Final Done"><b>FD</b></th>
<th width="10"><b>E</b></th>
<th width="10"><b>N</b></th>
<th width="15" title="Case alerts" align="center"><img src="/matrix/images/exclamation.png"></th>
</tr>
</thead>
<tbody id="tabbody">
<c:forEach items="${scanReporting.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="" />
<input type="hidden" name="uuid" id="row${status.count}uuid" value="${cases[0]}" />
<input type="hidden" name="uuid" id="row${status.count}portfolio" value="${cases[59]}" />
<input type="hidden" name="loanamount" id="loanamount" value="${cases[77]}" />
<input type="hidden" name="product" id="product" value="${cases[6]}" />
<input type="hidden" name="branchnm" id="branchnm" value="${cases[7]}" />
${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>${cases[11]}</td>
<td>${cases[12]}</td>
<c:choose>
<c:when test="${cases[41]=='1'}">
<td class="report-cell report-cell--residence" data-report-type="r" title="Locked by ${cases[43]} on ${cases[42]}">${cases[13]}</td>
</c:when>
<c:when test="${cases[43]==''}">
<td class="report-cell report-cell--residence" data-report-type="r" >${cases[13]}</td>
</c:when>
<c:otherwise>
<c:choose>
<c:when test="${cases[71]!='' }">
<td class="report-cell report-cell--residence" data-report-type="r" title="Last accessed by ${cases[43]} on ${cases[42]} and complete saved by ${cases[71]} on ${cases[27]}">${cases[13]}</td>
</c:when>
<c:otherwise>
<td class="report-cell report-cell--residence" data-report-type="r" title="Last accessed by ${cases[43]} on ${cases[42]} ">${cases[13]}</td>
</c:otherwise>
</c:choose>
</c:otherwise>
</c:choose>
<c:choose>
<c:when test="${cases[44]=='1'}">
<td class="report-cell report-cell--office" data-report-type="o" title="Locked by ${cases[46]} on ${cases[45]}">${cases[14]}</td>
</c:when>
<c:when test="${cases[46]==''}">
<td class="report-cell report-cell--office" data-report-type="o">${cases[14]}</td>
</c:when>
<c:otherwise>
<td class="report-cell report-cell--office" data-report-type="o" title="Last accessed by ${cases[46]} on ${cases[45]}">${cases[14]}</td>
</c:otherwise>
</c:choose>
<c:choose>
<c:when test="${cases[47]=='1'}">
<td class="report-cell report-cell--telecalling" data-report-type="t" title="Locked by ${cases[49]} on ${cases[48]}">${cases[16]}</td>
</c:when>
<c:when test="${cases[49]==''}">
<td class="report-cell report-cell--telecalling" data-report-type="t" >${cases[16]}</td>
</c:when>
<c:otherwise>
<td class="report-cell report-cell--telecalling" data-report-type="t" title="Last accessed by ${cases[49]} on ${cases[48]}">${cases[16]}</td>
</c:otherwise>
</c:choose>
<c:choose>
<c:when test="${cases[50]=='1'}">
<td class="report-cell report-cell--property" data-report-type="p" title="Locked by ${cases[52]} on ${cases[51]}">${cases[15]}</td>
</c:when>
<c:when test="${cases[52]==''}">
<td class="report-cell report-cell--property" data-report-type="p" >${cases[15]}</td>
</c:when>
<c:otherwise>
<td class="report-cell report-cell--property" data-report-type="p" title="Last accessed by ${cases[52]} on ${cases[51]}">${cases[15]}</td>
</c:otherwise>
</c:choose>
<c:choose>
<c:when test="${cases[60]=='1'}">
<td class="report-cell report-cell--reference" data-report-type="rt" title="Locked by ${cases[62]} on ${cases[61]}">${cases[19]}</td>
</c:when>
<c:when test="${cases[62]==''}" >
<td class="report-cell report-cell--reference" data-report-type="rt" >${cases[19]}</td>
</c:when>
<c:otherwise>
<td class="report-cell report-cell--reference" data-report-type="rt" title="Last accessed by ${cases[62]} on ${cases[61]}">${cases[19]}</td>
</c:otherwise>
</c:choose>
<c:choose>
<c:when test="${cases[67]=='1'}">
<td class="report-cell report-cell--final-done" data-report-type="fd" title="Locked by ${cases[69]} on ${cases[68]}">${cases[66]}</td>
</c:when>
<c:when test="${cases[69]==''}" >
<td class="report-cell report-cell--final-done" data-report-type="fd" >${cases[66]}</td>
</c:when>
<c:otherwise>
<td class="report-cell report-cell--final-done" data-report-type="fd" title="Last accessed by ${cases[69]} on ${cases[68]}">${cases[66]}</td>
</c:otherwise>
</c:choose>
<td>${cases[24]}</td>
<td>${cases[25]}</td>
<td id="CaseFlag">${cases[76]}</td>
</tr>
</c:forEach>
</tbody>
</table>
</div>
</div>
<!-- -->
<input type="hidden" name="page" id="page" value="scanreporting" />
<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">
InitPage();
CheckSelPorts();
</script>
<!-- -->
<!-- Process Message -->
<c:if test="${not empty msg}">
<script language="javascript" type="text/javascript"> CallMessage('${msg}',3000,200,300); </script>
</c:if>
<!-- -->
</html>