Files
matrix/cygnus-onprem-app/build/WebContent/WEB-INF/app/edp/dedupe/matchfound.jsp
2026-08-12 15:40:43 +05:30

259 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>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Cygnus 1.0 | Dedupe Viewer</title>
<script language="javascript" src="/matrix/js/lib/constants.js" type="text/javascript"></script>
<script src="/matrix/js/lib/notifications.js?ver=1" type="text/javascript"></script>
<link href="/matrix/css/button.css" rel="stylesheet" type="text/css" />
<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/table.css" rel="stylesheet" type="text/css" />
<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/tool-workspace-v3.css?v=2" rel="stylesheet" type="text/css" />
<link href="/matrix/css/dedupe-workflows-v1.css?v=6" rel="stylesheet" type="text/css" />
<script src="/matrix/js/matrix-dialog-child.js" type="text/javascript"></script>
<link href="/matrix/css/select.css" rel="stylesheet" type="text/css" />
<script src="/matrix/js/matrix-accessibility-v1.js?v=1" defer></script>
<script src="/matrix/js/edp/dedupe/dedupe-match.js?v=1" defer></script>
<link href="/matrix/css/matrix-theme-v2.css?v=4" rel="stylesheet" type="text/css" />
</head>
<body class="matrix-shell matrix-v2 matrix-tool-workspace matrix-dedupe-workflow matrix-dedupe-match">
<div id='PageFrame'>
<div id="formcontainer" class="matrix-tool-workspace__content">
<form:form method="post" action="${pageContext.request.contextPath}/ver/updatededupe"
name="dedupeDetails" id="dedupeDetails" modelAttribute="dedupeDetails"
data-records-url="${pageContext.request.contextPath}/ver/deduperecords">
<!-- Parent Record Details -->
<div class="matrix-dedupe-match__source">
<form:hidden path="customername"/>
<form:hidden path="dob" id="cdob"/>
<form:hidden path="mobile" id="mob"/>
<form:hidden path="resiphone"/>
<form:hidden path="offphone"/>
<form:hidden path="resiaddress" id="raddress" />
<form:hidden path="offaddress" id="oaddress"/>
<!-- Title -->
<div class="title">
<img class="matrix-title-icon" src="/matrix/images/page.png" alt="" />
<span class="matrix-title-text fw-bold">Source Record (MV Code - ${dedupeDetails.mvcode})&nbsp;&nbsp;&nbsp;(Category - ${dedupeDetails.category})</span>
</div>
<!-- -->
<!-- Form (Source Record) -->
<div id="FormPanel1" class="FormPanel">
<table align="center" class="matrix-form-controls" width="98%">
<tr>
<td>Customer Name</td>
<td>DOB</td>
<td>Residence Phone</td>
<td>Office Phone</td>
<td>Mobile</td>
</tr>
<tr>
<td><input style="width:230px;font-size:10pt;padding:3px" id="name" readonly="readonly" value="${dedupeDetails.customername}" /></td>
<td><input style="width:130px;font-size:12pt" id="dob" readonly="readonly" value="${dedupeDetails.dob}" /></td>
<td><input style="width:160px;font-size:12pt" id="rphone" readonly="readonly" value="${dedupeDetails.resiphone}" /></td>
<td><input style="width:160px;font-size:12pt" id="ophone" readonly="readonly" value="${dedupeDetails.offphone}" /></td>
<td><input style="width:160px;font-size:12pt" id="mobile" readonly="readonly" value="${dedupeDetails.mobile}" /></td>
</tr>
<tr>
<td>Residence Address</td>
<td colspan="4"><input style="width:677px;font-size:10pt" id="resiaddress" readonly="readonly" value="${dedupeDetails.resiaddress}" /></td>
</tr>
<tr>
<td>Office / Business Address</td>
<td colspan="4"><input style="width:677px;font-size:10pt" id="offaddress" readonly="readonly" value="${dedupeDetails.offaddress}" /></td>
</tr>
</table>
</div>
<!-- -->
</div>
<!-- -->
<!-- Earlier / Negative Details Container -->
<div class="matrix-dedupe-match__comparison">
<table style="width:100%" border="0" cellspacing="0" >
<tr>
<td style="width:50%" valign="top">
<!-- Title -->
<div class="title">
<img class="matrix-title-icon" src="/matrix/images/ear_details.png" alt="" />
<span class="matrix-title-text">Earlier Details <span id='efound'></span></span>
</div>
<!-- -->
<!-- Form (Section Earlier) -->
<div id="FormPanel2" class="FormPanel">
<table align="center" class="matrix-form-controls" width="98%">
<tr>
<td>Customer Name</td>
<td></td>
<td>DOB</td>
<td></td>
</tr>
<tr>
<td colspan="2"><input style="width:305px;font-size:10pt;padding:3px" id="earname" readonly="readonly" /></td>
<td colspan="2"><input style="width:112px;font-size:12pt" id="eardob" readonly="readonly" /></td>
</tr>
<tr>
<td>Address</td>
<td></td>
<td colspan="2"></td>
</tr>
<tr>
<td colspan="4"><textarea style="width:443px;font-size:12pt" rows="4" id="earaddress" readonly="readonly" ></textarea></td>
</tr>
<tr>
<td colspan="4">
<div class="matrix-phone-grid">
<label>Residence Phone<input id="earrphone" readonly="readonly" /></label>
<label>Office Phone<input id="earophone" readonly="readonly" /></label>
<label>Mobile Number<input id="earmobile" readonly="readonly" /></label>
</div>
</td>
</tr>
<tr>
<td colspan="4" class="matrix-record-navigation">
<button type="button" class="matrix-record-nav matrix-record-nav--first" aria-label="First earlier match" accesskey="H" onclick="findRecord(1,1)"></button>
<button type="button" class="matrix-record-nav matrix-record-nav--previous" aria-label="Previous earlier match" accesskey="J" onclick="findRecord(2,1)"></button>
<button type="button" class="matrix-record-nav matrix-record-nav--next" aria-label="Next earlier match" accesskey="K" onclick="findRecord(3,1)"></button>
<button type="button" class="matrix-record-nav matrix-record-nav--last" aria-label="Last earlier match" accesskey="L" onclick="findRecord(4,1)"></button>
<button type="button" class="button matrix-match-action" id="btnear" accesskey="9" onclick="addRemarks(1,'earremarks')">Match Found</button>
</td>
</tr>
<tr>
<td colspan="2" id="efoundon" style="padding-top:10px"><b>No Match Found</b></td>
<td colspan="2" id="ecurrecord" style="padding-top:10px"></td>
</tr>
</table>
</div>
<!-- -->
</td>
<td valign="top" style="width:50%" id="tdneg">
<!-- Title -->
<div class="title">
<img class="matrix-title-icon" src="/matrix/images/neg_details.png" alt="" />
<span class="matrix-title-text">Negative Details <span id='nfound'></span></span>
</div>
<!-- -->
<!-- Form (Section Earlier) -->
<div id="FormPanel2" class="FormPanel">
<table align="center" class="matrix-form-controls" width="98%">
<tr>
<td>Customer Name</td>
<td></td>
<td>DOB</td>
<td></td>
</tr>
<tr>
<td colspan="2"><input style="width:305px;font-size:10pt;padding:3px" id="negname" readonly="readonly" /></td>
<td colspan="2"><input style="width:112px;font-size:12pt" id="negdob" readonly="readonly" /></td>
</tr>
<tr>
<td>Address</td>
<td></td>
<td colspan="2"></td>
</tr>
<tr>
<td colspan="4"><textarea style="width:438px;font-size:12pt" rows="4" id="negaddress" readonly="readonly" ></textarea></td>
</tr>
<tr>
<td colspan="4">
<div class="matrix-phone-grid">
<label>Residence Phone<input id="negrphone" readonly="readonly" /></label>
<label>Office Phone<input id="negophone" readonly="readonly" /></label>
<label>Mobile Number<input id="negmobile" readonly="readonly" /></label>
</div>
</td>
</tr>
<tr>
<td colspan="4" class="matrix-record-navigation">
<button type="button" class="matrix-record-nav matrix-record-nav--first" aria-label="First negative match" accesskey="U" onclick="findRecord(1,2)"></button>
<button type="button" class="matrix-record-nav matrix-record-nav--previous" aria-label="Previous negative match" accesskey="I" onclick="findRecord(2,2)"></button>
<button type="button" class="matrix-record-nav matrix-record-nav--next" aria-label="Next negative match" accesskey="O" onclick="findRecord(3,2)"></button>
<button type="button" class="matrix-record-nav matrix-record-nav--last" aria-label="Last negative match" accesskey="P" onclick="findRecord(4,2)"></button>
<button type="button" class="button matrix-match-action" id="btnneg" accesskey="0" onclick="addRemarks(2,'negremarks')">Match Found</button>
</td>
</tr>
<tr>
<td colspan="2" id="nfoundon" style="padding-top:10px"><b>No Match Found</b></td>
<td colspan="2" id="ncurrecord" style="padding-top:10px"></td>
</tr>
</table>
</div>
<!-- -->
</td>
</tr>
</table>
</div>
<!-- -->
<!-- Earlier / Negative Details Container -->
<div class="matrix-dedupe-match__remarks">
<table style="width:100%" border="0" cellspacing="0" >
<tr>
<td style="width:50%" valign="top">
<!-- Title -->
<div class="title">
<img class="matrix-title-icon" src="/matrix/images/ear_rem.png" id="earimg" alt="" onclick="editRemarks('earremarks')" />
<span class="matrix-title-text">Earlier Match Remarks</span>
<div class="nedtrem" id="ctrldiv">
<img src="/matrix/images/edit_rem.png" align="absmiddle" onclick="editRemarks('earremarks',1)" title="Remove current record remarks" />
</div>
</div>
<!-- -->
<!-- Form (Section Earlier) -->
<div id="FormPanel2" class="FormPanel">
<table align="center" class="matrix-form-controls" style="width:100%">
<tr>
<td><form:textarea path="earremarks" style="width:98%" rows="8" readonly="true" ></form:textarea></td>
</tr>
</table>
</div>
<!-- -->
</td>
<td style="width:50%" valign="top">
<!-- Title -->
<div class="title">
<img class="matrix-title-icon" src="/matrix/images/neg_rem.png" alt="" />
<span class="matrix-title-text">Negative Match Remarks</span>
<div class="nedtrem" id="ctrldiv">
<img src="/matrix/images/edit_rem.png" align="absmiddle" onclick="editRemarks('negremarks',2)" title="Remove current record remarks" />
</div>
</div>
<!-- -->
<!-- Form (Section Earlier) -->
<div id="FormPanel2" class="FormPanel">
<table align="center" class="matrix-form-controls" style="width:100%">
<tr>
<td><form:textarea path="negremarks" style="width:98%" rows="8" readonly="true" ></form:textarea></td>
</tr>
</table>
</div>
<!-- -->
</td>
</tr>
</table>
</div>
<!-- -->
<form:hidden path="sessuuid" />
<form:hidden path="uuid" />
<!-- -->
<input type="hidden" id="invalidfields" value="0" />
<div class="matrix-workflow-actions">
<input type="button" class="button" name="btncancel" value="Close" id="btncancel" accesskey="C" onclick="MatrixDialog.close(0)" />
<button type="submit" class="button" name="btnsave" id="btnsave" accesskey="S">Save</button>
</div>
</form:form>
</div>
</div>
</body>
</html>