<%--
Created by IntelliJ IDEA.
User: Admin
Date: 9/13/2019
Time: 6:21 PM
To change this template use File | Settings | File Templates.
--%>
<%@ page import="[Link]" %>
<%@ page import="[Link]" %>
<%@ page import="[Link]" %>
<%@ page import="[Link]" %>
<%@ page import="[Link]" %>
<%@ page import="[Link]" %>
<%@ page import="[Link]" %>
<%@ page import="[Link]" %>
<%@ page import="[Link]" %>
<%@ page import="[Link]" %>
<%@ page import="[Link]" %>
<%@ page import="[Link]" %>
<%@ page import="[Link]" %>
<%@ page import="[Link]" %>
<%@ page import="[Link]" %>
<%@ page import="[Link]" %>
<%@ page import="[Link]" %>
<%@ page import="[Link]" %>
<%@ page import="[Link].*"%>
<%@ page import="merchant_java.CommonPopulateApplication" %>
<%@ page import="[Link]" %>
<%@ page import="[Link]" %>
<%@ page import="[Link]" %>
<%@ page import="[Link]" %>
<%@ page import="[Link]" %>
<%@ page import="[Link]" %>
<%@ page import="[Link]" %>
<%@ page import="[Link]" %>
<%@ page import="[Link]" %>
<%@ page import="[Link]" %>
<%@ page import="[Link]" %>
<%@ page import="[Link]" %>
<%@ page import="[Link].*" %>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-
scale=1, user-scalable=no">
<%--<link rel="stylesheet" href="/merchant/transactionCSS/css/[Link]">
<script type="text/javascript"
src="/merchant/transactionCSS/js/[Link]"></script>
<script type="text/javascript"
src="/merchant/transactionCSS/js/[Link]"></script>--%>
<%--
Created by IntelliJ IDEA.
User: Sagar
Date: 4/26/13
Time: 1:48 PM
To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%!
private AppFunctionUtil commonFunctionUtil= new AppFunctionUtil();
%>
<%!private Functions functions = new Functions();%>
<style>
#myImg {
border-radius: 5px;
cursor: pointer;
transition: 0.3s;
}
#myImg:hover {opacity: 0.7;}
/* The Modal (background) */
.cust-modal {
display: none; /* Hidden by default */
position: fixed; /* Stay in place */
z-index: 8; /* Sit on top */
padding-top: 100px; /* Location of the box */
/*left: 407px;*/
top: 56px;
width: 50%; /* Full width */
/*height: 90%; *//* Full height */
overflow: hidden; /* Enable scroll if needed */
background-color: rgb(0,0,0); /* Fallback color */
background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}
/* Modal Content (image) */
.cust-modal-content {
margin: auto;
display: block;
width:100%;
max-width: 300px;
}
/* Caption of Modal Image */
#caption {
margin: auto;
display: block;
width: 80%;
max-width: 700px;
text-align: center;
color: #ccc;
padding: 10px 0;
height: 150px;
}
/* Add Animation */
.cust-modal-content, #caption {
-webkit-animation-name: zoom;
-webkit-animation-duration: 0.6s;
animation-name: zoom;
animation-duration: 0.6s;
}
@-webkit-keyframes zoom {
from {-webkit-transform:scale(0)}
to {-webkit-transform:scale(1)}
}
@keyframes zoom {
from {transform:scale(0)}
to {transform:scale(1)}
}
/* The Close Button */
.close {
position: absolute;
top: 15px;
right: 35px;
color: #f1f1f1;
font-size: 40px;
font-weight: bold;
transition: 0.3s;
}
.close:hover,
.close:focus {
color: #bbb;
text-decoration: none;
cursor: pointer;
}
/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
.modal-content {
width: 100%;
}
}
</style>
<style>
/*#manualCheck {
padding-top: 131px !important;
}*/
/* Important part */
.KYcChecks,.ruleCheck
{
position: inherit !important;
opacity: 1 !important;
pointer-events: inherit !important;
}
.kycRuleDialog{
overflow-y: initial !important
}
.kycRuleCheck{
min-height: 500px;
overflow-y: auto;
background-color: lightgrey;
position: absolute;
top: -229px;
height: 15;
width: 500px;
}
.kycRuleFooter{
border-top: 1px solid #000000 !important;
}
.modal-title
{
display:none;
}
.modal-backdrop{position:fixed;top:0;right:0;left:0;;z-index: 111;width:
100vw;height: 100vh;background-color:#000}
.[Link]{filter:alpha(opacity=50);opacity:.5}
</style>
<style type="text/css">
.input-group .form-control:first-child, .input-group-addon:first-child, .input-
group-btn:first-child>.btn, .input-group-btn:first-child>.btn-group>.btn, .input-
group-btn:first-child>.dropdown-toggle, .input-group-btn:last-child>.btn:not(:last-
child):not(.dropdown-toggle), .input-group-btn:last-child>.btn-group:not(:last-
child)>.btn{
top: 0;
left: 0;
}
.file-input-wrapper{
color: transparent;
cursor: default;
margin-top: -20px;
}
.file-input-wrapper:hover{
color: transparent;
cursor: default;
}
.file-input-name{
/* float: left;*/
margin-top: 15px;
margin-bottom: 15px;
display: inherit;
}
.glyphicon{display: none;}
#mainname{text-align: left;}
@media (max-width: 640px){
#mainname{text-align: center;}
}
/*.input-group .form-control:first-child{display: none;}*/
.table#myTable>thead>tr>th, .table#myTable>tbody>tr>th, .table#myTable>tfoot>tr
>th, .table#myTable>thead>tr>td {
color: #ffffff;
}
@media (max-width: 640px) {
.mobile_hide {
display: none ;
}
table#myTable tbody:nth-child(odd) {
background: #cacaca;
}
table#myTable tbody:nth-child(even) {
background: #ffffff;
}
table tr:nth-child(odd) {
background: inherit;
}
.eroroText {
color: #FF0000;
text-valign: center;
font-family: "Open Sans","Helvetica Neue",Helvetica,Arial,sans-serif;
font-size: 15px;
font-weight: normal;
}
</style>
<style type="text/css">
.Table_manual
{
display: table;
width:100%;
}
.Title_manual
{
display: table-caption;
text-align: center;
font-weight: bold;
font-size: larger;
border-bottom: 1px solid #bbb;
background: lightgrey;
text-align: left;
}
.Heading_manual
{
display: table-row;
font-weight: bold;
text-align: center;
border-top: 1px solid #bbb;
border-bottom: 1px solid #bbb;
background: grey;
text-align: left;
}
.Row_manual
{
display: table-row;
}
.Cell_manual
{
display: table-cell;
border: solid;
border-width: thin;
padding-left: 5px;
padding-right: 5px;
border-top: 1px solid #bbb;
border-bottom: 1px solid #bbb;
background: lightgrey;
text-align: left;
}
</style>
<%
[Link]("submit","kycCheck");
ResourceBundle RB= [Link]("seamfixVerified");
int srno=1;
ApplicationManagerVO applicationManagerVO=null;
ApplicationManagerDAO applicationManagerDAO=new ApplicationManagerDAO();
String partnerid= (String) [Link]("merchantid");
String roleNew=(String)[Link]("rolenew");
OwnershipProfileVO ownershipProfileVO=null;
OwnershipProfileVO ownershipProfileVO1=null;
ValidationErrorList validationErrorList=null;
AppUploadLabelVO appUploadLabelVO=null;
Map<String,FileDetailsListVO> fileDetailsVOHashMap=null;
TreeMap<Integer,AppUploadLabelVO> uploadLabelVOList=new TreeMap();
//Map<String,AppUploadLabelVO> uploadLabelVOList1=new LinkedHashMap();
OwnershipProfileDetailsVO ownershipProfileDetailsVO_shareholder1 = new
OwnershipProfileDetailsVO();
OwnershipProfileDetailsVO ownershipProfileDetailsVO_shareholder2 = new
OwnershipProfileDetailsVO();
OwnershipProfileDetailsVO ownershipProfileDetailsVO_shareholder3 = new
OwnershipProfileDetailsVO();
OwnershipProfileDetailsVO ownershipProfileDetailsVO_shareholder4= new
OwnershipProfileDetailsVO();
OwnershipProfileDetailsVO ownershipProfileDetailsVO_director1 = new
OwnershipProfileDetailsVO();
OwnershipProfileDetailsVO ownershipProfileDetailsVO_director2 = new
OwnershipProfileDetailsVO();
OwnershipProfileDetailsVO ownershipProfileDetailsVO_director3 = new
OwnershipProfileDetailsVO();
OwnershipProfileDetailsVO ownershipProfileDetailsVO_director4 = new
OwnershipProfileDetailsVO();
/*[Link]("Memorandum Article of Association");
[Link]("Certificate of Incorporation");
[Link]("Share Certificate");
[Link]("Processing history for last 6 months");
[Link]("Business License/Commercial License");
[Link]("Bank statement of company for last 3 months");
[Link]("Bank reference letter for company");
[Link]("Proof of Identity of owner");
[Link]("Proof of address");
[Link]("Cross Corporate Guarantee");*/
String file1="";
String file2="";
String file3="";
String file4="";
PartnerDAO partnerDAO2 = new PartnerDAO();
String doc_mapping_id1=null;
String doc_mapping_id2=null;
String doc_mapping_id3=null;
String doc_mapping_id4=null;
String templateid="";
String companyType="";
PartnerDAO partnerDAO = new PartnerDAO();
if([Link]([Link]("templateid")))
{
templateid = [Link]("templateid");
}
if([Link]([Link]("companyType")))
{
companyType = [Link]("companyType");
}
/* if
([Link]([Link]([Link]()
)))
{
companyType =
[Link]([Link]());
String templateCompanyType =
[Link](companyType,partnerid);
if([Link](templateCompanyType)) {
//companyType1 = templateCompanyType;
AppMafTemplateVO appMafTemplateVO =
[Link](templateCompanyType);
templateid = templateCompanyType;
}
else
{
if())
{
companyType ="";
}
}
}*/
String memberid1 = [Link]("memberid1") != null ?
[Link]("memberid1") :"";
String applicationId1 = [Link]("application_id1") != null ?
[Link]("application_id1") :"";
String newcall=[Link]("newcall");
String alternateName=[Link]("alternateName");
if ([Link](alternateName)){
[Link](alternateName,"Pending");
}
[Link]("newcall",newcall);
// Map<String, OwnershipProfileDetailsVO> ownershipProfileDetailsVOMap = new
HashMap();
if([Link]("applicationManagerVO")!=null)
{
applicationManagerVO= (ApplicationManagerVO)
[Link]("applicationManagerVO");
[Link]("applicationManagerVO",applicationManagerVO);
}
String companyName="";
String companyRegistration="";
String applicationID= "";
if(applicationManagerVO!=null) {
if ([Link]() != null) {
if
([Link]().getCompanyProfile_addressVOMap() !=
null) {
if
([Link]([Link]().getCompanyProfile
_addressVOMap().get([Link]).getCompany_name())) {
companyName =
[Link]().getCompanyProfile_addressVOMap().get(App
[Link]).getCompany_name();
} else {
companyName = "Youverify";
}
if
([Link]([Link]().getCompanyProfile
_addressVOMap().get([Link]).getRegistration_number())) {
companyRegistration =
[Link]().getCompanyProfile_addressVOMap().get(App
[Link]).getRegistration_number();
} else {
companyRegistration = "RC1234567";
}
}
}
if ([Link]() != null) {
ownershipProfileVO = [Link]();
if ([Link]() != null &&
[Link]().size() > 0) {
ownershipProfileDetailsVO_shareholder1 =
[Link]().get("SHAREHOLDER1");
ownershipProfileDetailsVO_shareholder2 =
[Link]().get("SHAREHOLDER2");
ownershipProfileDetailsVO_shareholder3 =
[Link]().get("SHAREHOLDER3");
ownershipProfileDetailsVO_shareholder4 =
[Link]().get("SHAREHOLDER4");
ownershipProfileDetailsVO_director1 =
[Link]().get("DIRECTOR1");
ownershipProfileDetailsVO_director2 =
[Link]().get("DIRECTOR2");
ownershipProfileDetailsVO_director3 =
[Link]().get("DIRECTOR3");
ownershipProfileDetailsVO_director4 =
[Link]().get("DIRECTOR4");
}
}
}
if(applicationManagerVO!=null) {
if ([Link]()!= null) {
if ("admin".equals(roleNew)) {
String memberid = [Link]();
partnerid = [Link](memberid);
}
}
}
User user = (User)[Link]("ESAPIUserSessionKey");
String ctoken= null;
if(user!=null)
{
ctoken = [Link]();
}
String fsid ="";
HashMap<String, FSAccountMappingVo> hashMap = null;
List<HashMap> gatewayList = new ArrayList<>();
FSPartnerMappingVO fsPartnerMappingVO = null;
String id_Doc_Check = "";
String add_Id_Doc_Check = "";
if ([Link](partnerid)) {
FraudTransaction fraudTransaction = new FraudTransaction();
fsPartnerMappingVO = [Link](partnerid);
if (fsPartnerMappingVO != null) {
id_Doc_Check = fsPartnerMappingVO.getIsID_DOC_Check();
add_Id_Doc_Check = fsPartnerMappingVO.getIsAdd_DOC_Check();
}
List<FSAccountMappingVo> fsAccountMappingVos =
[Link](partnerid);
for (FSAccountMappingVo accountMappingVo : fsAccountMappingVos) {
hashMap = new HashMap<>();
if (accountMappingVo != null) {
FraudSystemAccountVO fraudSystemAccountVO =
[Link]([Link]());
if ([Link]([Link]())){
fsid = [Link]();}
if (fraudSystemAccountVO != null) {
String fsGateway =
[Link]([Link]());
[Link](fsGateway, accountMappingVo);
[Link](hashMap);
}
}
String seamfixverified = "";
String cac = "";
String idPal = "";
String one23Signed = "";
String isBvn_Full_Serivce = "";
String one23SignedBiometric="";
String idPalBiometric="";
String isBVNAddressService = "";
String isCAC_Check = "";
String isYouVerifyAddressService="";
if (gatewayList != null && [Link]() != 0) {
for (HashMap<String, FSAccountMappingVo> map : gatewayList) {
for (String key : [Link]()) {
if ([Link]("verified")) {
seamfixverified = key;
FSAccountMappingVo accountMappingVo = [Link](key);
if (accountMappingVo != null) {
isBvn_Full_Serivce =
accountMappingVo.getIsBvn_Full_Serivce();
isBVNAddressService =
accountMappingVo.getIsAddress_Service();
}
}
if ([Link]("youverify")) {
cac = key;
FSAccountMappingVo accountMappingVo = [Link](key);
if (accountMappingVo != null) {
isCAC_Check = accountMappingVo.getIsCAC_Check();
isYouVerifyAddressService=accountMappingVo.getIsAddress_Service();
}
}
if ([Link]("123Signed")) {
one23Signed = key;
FSAccountMappingVo accountMappingVo = [Link](key);
if (accountMappingVo != null) {
one23SignedBiometric =
[Link]();
}
}if ([Link]("idPal")) {
idPal = key;
FSAccountMappingVo accountMappingVo = [Link](key);
if (accountMappingVo != null) {
idPalBiometric = [Link]();
}
}
}
}
}
List<String> list = [Link](partnerid);
if(applicationManagerVO!=null) {
if ([Link]() != null) {
fileDetailsVOHashMap=
[Link]([Link]
erId());;
}
applicationID =
[Link]([Link]());
[Link]("apppppppppppppp"+applicationID);
ownershipProfileVO1 =
[Link](applicationID);
Map<String,OwnershipProfileDetailsVO> ownerShipVo=
[Link](applicationID);
if ([Link]() != null) {
uploadLabelVOList = [Link]();
int counter = 100;
//ShareHolder Add Document
String numOfShare = [Link]();
String numOfDir = [Link]();
String numOfAuthorised =
[Link]();
if([Link]