99 lines
6.3 KiB
Plaintext
99 lines
6.3 KiB
Plaintext
<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1" session="true" %>
|
|
<%@taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
|
|
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
|
|
<%@taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
|
|
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="ISO-8859-1">
|
|
<title>Cygnus 1.0 | Cut-Off Pending</title>
|
|
<link href="/matrix/css/bootstrap-5.3.8.min.css" rel="stylesheet">
|
|
<link href="/matrix/css/matrix-v2.css?v=6" rel="stylesheet">
|
|
<link href="/matrix/css/matrix-shell-v2.css?v=7" rel="stylesheet">
|
|
<link href="/matrix/css/tool-workspace-v3.css?v=2" rel="stylesheet">
|
|
<link href="/matrix/css/cutoff-workflows-v1.css?v=4" rel="stylesheet">
|
|
<link href="/matrix/css/matrix-theme-v2.css?v=4" rel="stylesheet">
|
|
<script src="/matrix/js/lib/notifications.js?ver=1"></script>
|
|
<script src="/matrix/js/edp/cutoff/cutoff-pending.js?v=1" defer></script>
|
|
<script src="/matrix/js/matrix-shell-v2.js" defer></script>
|
|
</head>
|
|
<body class="matrix-v2 matrix-shell matrix-tool-workspace matrix-cutoff-workflow matrix-cutoff-pending">
|
|
<div id="PageFrame">
|
|
<%@ include file="/WEB-INF/app/fragments/app-shell-header.jspf" %>
|
|
<main id="formcontainer" class="matrix-tool-workspace__content">
|
|
<form:form method="post" id="cutoffpending" modelAttribute="cutoffpending">
|
|
<c:if test="${not empty _csrf}"><input type="hidden" name="${_csrf.parameterName}" value="${_csrf.token}"></c:if>
|
|
<section>
|
|
<header class="title">
|
|
<img class="matrix-title-icon" src="/matrix/images/cutlist.png" alt="">
|
|
<span class="matrix-title-text">Cut-Off Pending</span>
|
|
<button type="button" class="matrix-title-action matrix-icon-button" title="Refresh grid"
|
|
aria-label="Refresh grid" data-action="refresh">
|
|
<img src="/matrix/images/reload.png" alt="">
|
|
</button>
|
|
</header>
|
|
<div class="tableContainer">
|
|
<table id="cutlist">
|
|
<thead class="thead"><tr>
|
|
<th>S.No</th><th>Cut-Off Time</th><th>Allocation</th><th>Tele-Sheet</th>
|
|
<th>Earlier</th><th>Negative</th><th>Cut-Off</th>
|
|
</tr></thead>
|
|
<tbody>
|
|
<c:forEach items="${cutoffpending.pendingList}" var="record" varStatus="parentStatus">
|
|
<tr class="matrix-parent-row" data-parent-index="${parentStatus.index}">
|
|
<td>${parentStatus.count}</td>
|
|
<td>
|
|
<form:hidden path="pendingList[${parentStatus.index}].cutoffTime"/>
|
|
<form:hidden path="pendingList[${parentStatus.index}].total"/>
|
|
<button type="button" class="matrix-row-toggle" data-action="toggle" aria-expanded="false">
|
|
<span class="matrix-row-toggle__chevron">▶</span>
|
|
<span>${fn:escapeXml(record.cutoffTime)} <strong>(${record.total})</strong></span>
|
|
</button>
|
|
</td>
|
|
<td><form:checkbox path="pendingList[${parentStatus.index}].allocation" data-parent-field="allocation"/></td>
|
|
<td><form:checkbox path="pendingList[${parentStatus.index}].telesheet" data-parent-field="telesheet"/></td>
|
|
<td><form:checkbox path="pendingList[${parentStatus.index}].earlier" data-parent-field="earlier"/></td>
|
|
<td><form:checkbox path="pendingList[${parentStatus.index}].negative" data-parent-field="negative"/></td>
|
|
<td><form:checkbox path="pendingList[${parentStatus.index}].cutoff" data-parent-field="cutoff"/></td>
|
|
</tr>
|
|
<tr class="matrix-expanded-row" data-child-row="${parentStatus.index}" hidden>
|
|
<td colspan="7">
|
|
<table class="matrix-nested-table">
|
|
<thead><tr>
|
|
<th>S.No</th><th>Portfolio</th><th>Customer Name</th><th>Allocation</th>
|
|
<th>Tele-Sheet</th><th>Earlier</th><th>Negative</th><th>Cut-Off</th>
|
|
</tr></thead>
|
|
<tbody>
|
|
<c:forEach items="${record.sublist}" var="child" varStatus="childStatus">
|
|
<tr data-child-index="${childStatus.index}">
|
|
<td>${childStatus.count}</td>
|
|
<td><form:hidden path="pendingList[${parentStatus.index}].sublist[${childStatus.index}].uuid"/>${fn:escapeXml(child.portfolio)}</td>
|
|
<td>${fn:escapeXml(child.customerName)}</td>
|
|
<td><form:checkbox path="pendingList[${parentStatus.index}].sublist[${childStatus.index}].allocation" data-child-field="allocation"/></td>
|
|
<td><form:checkbox path="pendingList[${parentStatus.index}].sublist[${childStatus.index}].telesheet" data-child-field="telesheet"/></td>
|
|
<td><form:checkbox path="pendingList[${parentStatus.index}].sublist[${childStatus.index}].earlier" data-child-field="earlier"/></td>
|
|
<td><form:checkbox path="pendingList[${parentStatus.index}].sublist[${childStatus.index}].negative" data-child-field="negative"/></td>
|
|
<td><form:checkbox path="pendingList[${parentStatus.index}].sublist[${childStatus.index}].cutoff" data-child-field="cutoff"/></td>
|
|
</tr>
|
|
</c:forEach>
|
|
<c:if test="${empty record.sublist}"><tr><td colspan="8" class="matrix-empty-row">No records found.</td></tr></c:if>
|
|
</tbody>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</c:forEach>
|
|
<c:if test="${empty cutoffpending.pendingList}"><tr><td colspan="7" class="matrix-empty-row">No pending cut-offs found.</td></tr></c:if>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</section>
|
|
<c:if test="${not empty cutoffpending.pendingList}">
|
|
<footer class="matrix-workflow-actions"><button type="button" class="button" data-action="save">Save</button></footer>
|
|
</c:if>
|
|
</form:form>
|
|
</main>
|
|
</div>
|
|
<c:if test="${not empty cutoffpending.errMsg}"><script>CygnusNotifications.showLegacy('${fn:escapeXml(cutoffpending.errMsg)}');</script></c:if>
|
|
</body>
|
|
</html>
|