Migrated Query - 24 find punchedrecords
This commit is contained in:
@@ -1,329 +0,0 @@
|
||||
<%@ 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 | Document Initiation </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/ajax.js" type="text/javascript"></script>
|
||||
<script language="javascript" src="/matrix/js/ajax-dynamic-list.js" type="text/javascript"></script>
|
||||
<script language="javascript" src="/matrix/js/appjs/punchingdoc.js" type="text/javascript"></script>
|
||||
<script language="javascript" src="/matrix/js/validator.js?ver=2" 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/select.css" rel="stylesheet" type="text/css" />
|
||||
<link href="/matrix/css/table.css" rel="stylesheet" type="text/css" />
|
||||
<link href="/matrix/css/autocomplete.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/matrix-shell-v2.css?v=7" rel="stylesheet" type="text/css" />
|
||||
<link href="/matrix/css/tool-workspace-v3.css?v=2" rel="stylesheet" type="text/css" />
|
||||
<link href="/matrix/css/punch-workspace-v3.css?v=1" rel="stylesheet" type="text/css" />
|
||||
<link href="/matrix/css/add-cases-v4.css?v=5" 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=6" rel="stylesheet" type="text/css" />
|
||||
<script src="/matrix/js/matrix-frame-dialog.js?v=2" 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-tool-workspace matrix-punch-workspace matrix-add-cases">
|
||||
<div id='PageFrame'>
|
||||
<%@ include file="/WEB-INF/app/fragments/app-shell-header.jspf" %>
|
||||
<%-- Shared shell owns ${Sessvals.menuHtml}. --%>
|
||||
<div id="formcontainer" class="matrix-tool-workspace__content">
|
||||
<form method="post" name="docdetails" id="docdetails" >
|
||||
<!-- Common Details (Section1) Visible for all portfolios-->
|
||||
<div>
|
||||
<!-- Title -->
|
||||
<div class="title matrix-form-title">
|
||||
<img class="matrix-title-icon" src="/matrix/images/commondet.png" align="absmiddle" />
|
||||
<span class="matrix-title-text matrix-form-title__heading">Common Details <span id='recfound'></span></span>
|
||||
<label class="matrix-form-title__field">Skip To <input type="text" class="textbox" style="width:30px" onkeypress="return NumberOnly(event)" onblur="GotoRecord(this)"></label>
|
||||
<label class="matrix-form-title__field">Search by File No <input type="text" class="textbox" style="width:200px" onblur="SearchRecord(this)"></label>
|
||||
<!-- Checkbox for AUTO CUT diabled for now -->
|
||||
<!-- <input type="checkbox" name="autocut" id="autocut" /> Automatic Cut-Off -->
|
||||
<div class="divselect matrix-form-title__end" id="divportfolio" style="width:167px;">
|
||||
<select id="portfolio_id" name="portfolio_id" style="width:185px" onchange="SubmitForm('docadd','_parent','docdetails')">
|
||||
<option value="-1" selected >SELECT PORTFOLIO</option>
|
||||
<c:forEach items="${portlist}" var="port">
|
||||
<option value="${port[0]}">${port[1]}</option>
|
||||
</c:forEach>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<!-- -->
|
||||
<!-- Form (Section1) -->
|
||||
<div id="FormPanel1" class="FormPanel">
|
||||
<table align="center" class="matrix-form-controls" width="99%">
|
||||
<tr>
|
||||
<td>
|
||||
<div style="height:auto;width:16px;float:right;margin-top:4px;">
|
||||
<div id="btnbedit" onclick="EditBasicDetails()" title="edit basic details" style="background:url('/matrix/images/edit_form.png');height:auto;width:16px;cursor:pointer;margin-top:2px"> </div>
|
||||
<div id="btnbsave" onclick="SaveBasicDetails()" title="save details" style="background:url('/matrix/images/disk.png');height:auto;width:16px;cursor:pointer;margin-top:2px"> </div>
|
||||
<div id="btnbcancel" onclick="CancelEdit()" title="cancel" style="background:url('/matrix/images/msgerror.png');height:auto;width:16px;cursor:pointer;margin-top:6px"> </div>
|
||||
</div>
|
||||
<div class="widget">
|
||||
<div class="lblcontainer">
|
||||
Appl No.
|
||||
</div>
|
||||
<div class="inputcontainer">
|
||||
<input type="text" id="applno" name="applno" maxlength="25" style="width:150px;text-transform:uppercase" value="" disabled="disabled" onblur="if(validate(this,'t','AlphaNumeric')){FindSameDet(this,'A','customername');}" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="widget">
|
||||
<div class="lblcontainer">
|
||||
Name
|
||||
</div>
|
||||
<div class="inputcontainer">
|
||||
<input type="text" id="customername" name="customername" maxlength="100" style="width:275px" value="" onblur="validate(this,'t','AlphaSpace');" disabled="disabled" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="widget">
|
||||
<div class="lblcontainer">
|
||||
DOB
|
||||
</div>
|
||||
<div class="inputcontainer">
|
||||
<input type="text" id="dob" name="dob" maxlength="10" style="width:80px" value="" onkeydown="return addSlashes(this,event)" onblur="validate(this,'f','Date')" disabled="disabled" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="widget">
|
||||
<div class="lblcontainer">
|
||||
Loan Amt
|
||||
</div>
|
||||
<div class="inputcontainer">
|
||||
<input type="text" id="loanamount" name="loanamount" maxlength="15" style="width:115px" value="" onblur="validate(this,'f','LoanAmount');" disabled="disabled" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="widget">
|
||||
<div class="lblcontainer">
|
||||
Branch
|
||||
</div>
|
||||
<div class="inputcontainer">
|
||||
<div class="divselect" id="divbranch" style="width:235px;">
|
||||
<select id="bank_branch_id" name="bank_branch_id" style="width:253px" onblur="validate(this,'t','');" disabled="disabled">
|
||||
<option value="-1" selected >SELECT</option>
|
||||
<c:forEach items="${branchlist}" var="brnch">
|
||||
<option value="${brnch[0]}">${brnch[1]}</option>
|
||||
</c:forEach>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="widget">
|
||||
<div class="lblcontainer">
|
||||
Product
|
||||
</div>
|
||||
<div class="inputcontainer">
|
||||
<div class="divselect" id="divproduct" style="width:132px;">
|
||||
<select id="product" name="product" style="width:150px" onblur="validate(this,'t','');" disabled="disabled">
|
||||
<option value="-1" selected >SELECT</option>
|
||||
<c:forEach items="${prodlist}" var="prod">
|
||||
<option value="${prod[0]}">${prod[1]}</option>
|
||||
</c:forEach>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="widget">
|
||||
<div class="lblcontainer">
|
||||
App Type
|
||||
</div>
|
||||
<div class="inputcontainer">
|
||||
<div class="divselect" id="divapptype" style="width:135px;">
|
||||
<select id="apptype" name="apptype" style="width:153px" onblur="validate(this,'t','');" disabled="disabled">
|
||||
<option value="-1" selected>SELECT</option>
|
||||
<c:forEach items="${typelist}" var="type">
|
||||
<option value="${type[0]}">${type[1]}</option>
|
||||
</c:forEach>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="widget">
|
||||
<div class="lblcontainer">
|
||||
Category
|
||||
</div>
|
||||
<div class="inputcontainer">
|
||||
<div class="divselect" id="divcategory" style="width:115px;">
|
||||
<select id="category" name="category" style="width:133px" disabled="disabled">
|
||||
<option value="-1" selected>SELECT</option>
|
||||
<c:forEach items="${catlist}" var="cat">
|
||||
<option value="${cat[0]}">${cat[1]}</option>
|
||||
</c:forEach>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
${dynamichtml}
|
||||
<input type="button" class="button" name="btnsave" style="float:right" value="Add Docs" id="btnsave" onclick="return AddDocs();" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<!-- -->
|
||||
</div>
|
||||
<!-- -->
|
||||
<!-- Document Details Visible for portfolios in which document verification could be done-->
|
||||
<div id="section7">
|
||||
<!-- Title -->
|
||||
<div class="title">
|
||||
<img class="matrix-title-icon" src="/matrix/images/documents.png" />
|
||||
<span class="matrix-title-text">Document Details</span>
|
||||
</div>
|
||||
<!-- -->
|
||||
<!-- Form (Section1) -->
|
||||
<div id="FormPanel1" class="FormPanel">
|
||||
<table align="center" class="matrix-form-controls" width="99%">
|
||||
<tr>
|
||||
<td>
|
||||
<div class="widget">
|
||||
<div class="lblcontainer">
|
||||
Document
|
||||
</div>
|
||||
<div class="inputcontainer">
|
||||
<div class="divselect" id="divdoctype" style="width:170px;">
|
||||
<select id="doctype" name="doctype" style="width:188px" onchange="changeLabel(this)" onblur="validate(this,'t','')">
|
||||
<option value="-1" uniqueidentifier="Unique No." sprovider="Service Provider" validuno="xxx" ymon="A.Y/Month" validymon="" defsprovider="" genlist="0" selected>SELECT</option>
|
||||
<c:forEach items="${doclist}" var="doc">
|
||||
<option value="${doc[0]}" uniqueidentifier="${doc[2]}" sprovider="${doc[3]}" validuno="${doc[4]}" ymon="${doc[5]}" validymon="${doc[6]}" defsprovider="${doc[7]}" genlist="${doc[8]}">${doc[1]}</option>
|
||||
</c:forEach>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="widget">
|
||||
<div class="lblcontainer">
|
||||
Name
|
||||
</div>
|
||||
<div class="inputcontainer">
|
||||
<input type="text" id="docholdername" name="docholdername" maxlength="100" style="width:200px" value="" onblur="validate(this,'t','AlphaSpace');" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="widget">
|
||||
<div class="lblcontainer" id="sprovider">
|
||||
Serivce Provider
|
||||
</div>
|
||||
<div class="inputcontainer">
|
||||
<input type="text" id="serviceprovider" name="serviceprovider" maxlength="100" style="width:200px" value="" onblur="validate(this,'t','SplInstruction');" />
|
||||
<input type="hidden" id="bank_id" name="serviceprovider_hidden" value="0" />
|
||||
<input type="hidden" id="serviceprovider_citylist" name="serviceprovider_citylist" value="0" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="widget">
|
||||
<div class="lblcontainer" id="uniqueidentifier">
|
||||
Unique No.
|
||||
</div>
|
||||
<div class="inputcontainer">
|
||||
<input type="text" id="uniqueno" name="uniqueno" maxlength="50" style="width:140px" value="" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="widget">
|
||||
<div class="lblcontainer" id="yearmon">
|
||||
A.Y/Month
|
||||
</div>
|
||||
<div class="inputcontainer">
|
||||
<input type="text" id="yearmonth" name="yearmonth" maxlength="100" style="width:180px" value="" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="widget">
|
||||
<div class="lblcontainer">
|
||||
Location
|
||||
</div>
|
||||
<div class="inputcontainer">
|
||||
<div class="divselect" id="divcity" style="width:120px;" >
|
||||
<select id="city" name="city" style="width:138px" onblur="validate(this,'t','');">
|
||||
<option value="-1" selected>SELECT</option>
|
||||
<option value="CITY" selected>CITY</option>
|
||||
<option value="SATELLITE CITY">SATELLITE CITY</option>
|
||||
<option value="OUT STATION">OUT STATION</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="widget">
|
||||
<div class="lblcontainer">
|
||||
Vendor
|
||||
</div>
|
||||
<div class="inputcontainer">
|
||||
<div class="divselect" id="divvendor" style="width:120px;">
|
||||
<select id="vendor_id" name="vendor_id" style="width:138px" onblur="validate(this,'f','');">
|
||||
<option value="-1" selected>SELECT</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
${docdynamichtml}
|
||||
<input type="button" class="button" name="btnadd" style="float:right" value="Add" id="btnadd" onclick="return AddNewDoc();" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div id="FormPanel2" class="FormPanel">
|
||||
<table border="0" cellspacing="0" width="100%" id="casetable">
|
||||
<thead class="thead">
|
||||
<tr title="Row Title" id="rowtitle">
|
||||
<td style="font-size:12px;width:20px">S.No</td>
|
||||
<td style="font-size:12px;width:150px">Name</td>
|
||||
<td style="font-size:12px;width:150px">Document</td>
|
||||
<td style="font-size:12px;width:150px">Provider</td>
|
||||
<td style="font-size:12px;width:150px">Unique No.</td>
|
||||
<td style="font-size:12px;width:100px">Extra</td>
|
||||
<td style="font-size:12px;width:50px">Location</td>
|
||||
<td style="font-size:12px;width:50px">Vendor</td>
|
||||
<td style="font-size:12px">Action</td>
|
||||
</tr>
|
||||
</thead>
|
||||
</table>
|
||||
</div>
|
||||
<!-- -->
|
||||
</div>
|
||||
<input type="hidden" id="dynamicfields" name="dynamicfields" value="${dynamicfields}" />
|
||||
<input type="hidden" id="docdynamicfields" name="dynamicfields" value="${docdynamicfields}" />
|
||||
<input type="hidden" id="uuid" name="uuid" value="" />
|
||||
<input type="hidden" id="case_id" name="case_id" value="" />
|
||||
<input type="hidden" id="company_id" name="company_id" value="${Sessvals.getCompanyID()}" />
|
||||
<input type="hidden" id="branch_id" name="branch_id" value="${Sessvals.getBranchID()}" />
|
||||
<input type="hidden" id="status" name="status" value="" />
|
||||
<input type="hidden" id="docv" name="docv" value="0" />
|
||||
<!-- -->
|
||||
<input type="hidden" id="invalidfields" value="0" />
|
||||
<c:if test="${formmode gt 0}">
|
||||
<div style="position:fixed;text-align:right;bottom:0px;width:980px;" class="buttonbar">
|
||||
<input type="hidden" id="invalidfields" value="0" />
|
||||
<input type="button" class="button" name="btnfirst" style="margin-left:5px;margin-top:-2px;float:left;width:80px" value="" id="btnfirst" accesskey="F" onclick="findRecord(1)" />
|
||||
<input type="button" class="button" name="btnprev" style="margin-top:-2px;float:left;width:80px" value="" id="btnprev" accesskey="P" onclick="findRecord(2)" />
|
||||
<input type="button" class="button" name="btnnext" style="margin-top:-2px;float:left;width:80px" value="" id="btnnext" accesskey="N" onclick="findRecord(3)" />
|
||||
<input type="button" class="button" name="btnlast" style="margin-top:-2px;float:left;width:80px" value="" id="btnlast" accesskey="L" onclick="findRecord(4)" />
|
||||
<input type="button" class="button" name="btnadd" style="float:right" value="Add New Record" id="btnadd" accesskey="A" onclick="return AddNewRecord();" />
|
||||
</div>
|
||||
</c:if>
|
||||
</form>
|
||||
<input type="hidden" id="formmode" name="formmode" value="${formmode}" />
|
||||
<input type="hidden" id="usid" name="usid" value="${usid}" />
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
<!-- Page Load Javascript -->
|
||||
<script language="javascript" type="text/javascript">
|
||||
InitPage('${portfolio_id}');
|
||||
</script>
|
||||
<!-- -->
|
||||
<!-- Process Message -->
|
||||
<c:if test="${not empty msg}">
|
||||
<script language="javascript" type="text/javascript"> CallMessage('${msg}',3000,200,300); </script>
|
||||
</c:if>
|
||||
<!-- -->
|
||||
</html>
|
||||
Reference in New Issue
Block a user