Script_mapi
Script_mapi
<style>
#myImg {
border-radius: 5px;
cursor: pointer;
transition: 0.3s;
}
/* 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)}
}
.close:hover,
.close:focus {
color: #bbb;
text-decoration: none;
cursor: pointer;
}
</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}
.modal-backdrop.show{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;}
#mainname{text-align: center;}
}
.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>
<%
session.setAttribute("submit","kycCheck");
ResourceBundle RB= LoadProperties.getProperty("seamfixVerified");
int srno=1;
ApplicationManagerVO applicationManagerVO=null;
ApplicationManagerDAO applicationManagerDAO=new ApplicationManagerDAO();
String partnerid= (String) session.getAttribute("merchantid");
String roleNew=(String)session.getAttribute("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();
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(functions.isValueNull(request.getParameter("templateid")))
{
templateid = request.getParameter("templateid");
}
if(functions.isValueNull(request.getParameter("companyType")))
{
companyType = request.getParameter("companyType");
}
/* if
(functions.isValueNull(partnerDAO.getcompanytype(applicationManagerVO.getMemberId()
)))
{
companyType =
partnerDAO.getcompanytype(applicationManagerVO.getMemberId());
String templateCompanyType =
partnerDAO.getTemplateCompanyTypeTempid(companyType,partnerid);
if(functions.isValueNull(templateCompanyType)) {
//companyType1 = templateCompanyType;
AppMafTemplateVO appMafTemplateVO =
partnerDAO.getTemplate(templateCompanyType);
templateid = templateCompanyType;
}
else
{
if(!functions.isValueNull(request.getParameter("companyType")))
{
companyType ="";
}
}
}*/
session.setAttribute("newcall",newcall);
String companyName="";
String companyRegistration="";
String applicationID= "";
if(applicationManagerVO!=null) {
if (applicationManagerVO.getCompanyProfileVO() != null) {
if
(applicationManagerVO.getCompanyProfileVO().getCompanyProfile_addressVOMap() !=
null) {
if
(functions.isValueNull(applicationManagerVO.getCompanyProfileVO().getCompanyProfile
_addressVOMap().get(ApplicationManagerTypes.COMPANY).getCompany_name())) {
companyName =
applicationManagerVO.getCompanyProfileVO().getCompanyProfile_addressVOMap().get(App
licationManagerTypes.COMPANY).getCompany_name();
} else {
companyName = "Youverify";
}
if
(functions.isValueNull(applicationManagerVO.getCompanyProfileVO().getCompanyProfile
_addressVOMap().get(ApplicationManagerTypes.COMPANY).getRegistration_number())) {
companyRegistration =
applicationManagerVO.getCompanyProfileVO().getCompanyProfile_addressVOMap().get(App
licationManagerTypes.COMPANY).getRegistration_number();
} else {
companyRegistration = "RC1234567";
}
}
}
if (applicationManagerVO.getOwnershipProfileVO() != null) {
ownershipProfileVO = applicationManagerVO.getOwnershipProfileVO();
}
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 (functions.isValueNull(partnerid)) {
FraudTransaction fraudTransaction = new FraudTransaction();
fsPartnerMappingVO = fraudTransaction.getPartnerDetailsFlag(partnerid);
if (fsPartnerMappingVO != null) {
id_Doc_Check = fsPartnerMappingVO.getIsID_DOC_Check();
add_Id_Doc_Check = fsPartnerMappingVO.getIsAdd_DOC_Check();
}
List<FSAccountMappingVo> fsAccountMappingVos =
fraudTransaction.getPartnerFsDetailsList(partnerid);
for (FSAccountMappingVo accountMappingVo : fsAccountMappingVos) {
hashMap = new HashMap<>();
if (accountMappingVo != null) {
FraudSystemAccountVO fraudSystemAccountVO =
FraudSystemAccountService.getFraudSystemAccount(accountMappingVo.getFsaccountid());
if (functions.isValueNull(accountMappingVo.getFsaccountid())){
fsid = accountMappingVo.getFsaccountid();}
if (fraudSystemAccountVO != null) {
String fsGateway =
FraudSystemService.getFSGateway(fraudSystemAccountVO.getFraudSystemId());
hashMap.put(fsGateway, accountMappingVo);
gatewayList.add(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 && gatewayList.size() != 0) {
for (HashMap<String, FSAccountMappingVo> map : gatewayList) {
for (String key : map.keySet()) {
if (key.equalsIgnoreCase("verified")) {
seamfixverified = key;
FSAccountMappingVo accountMappingVo = map.get(key);
if (accountMappingVo != null) {
isBvn_Full_Serivce =
accountMappingVo.getIsBvn_Full_Serivce();
isBVNAddressService =
accountMappingVo.getIsAddress_Service();
}
}
if (key.equalsIgnoreCase("youverify")) {
cac = key;
FSAccountMappingVo accountMappingVo = map.get(key);
if (accountMappingVo != null) {
isCAC_Check = accountMappingVo.getIsCAC_Check();
isYouVerifyAddressService=accountMappingVo.getIsAddress_Service();
}
}
if (key.equalsIgnoreCase("123Signed")) {
one23Signed = key;
FSAccountMappingVo accountMappingVo = map.get(key);
if (accountMappingVo != null) {
one23SignedBiometric =
accountMappingVo.getIsBiometricCheck();
}
}if (key.equalsIgnoreCase("idPal")) {
idPal = key;
FSAccountMappingVo accountMappingVo = map.get(key);
if (accountMappingVo != null) {
idPalBiometric = accountMappingVo.getIsBiometricCheck();
}
}
}
}
}
if(applicationManagerVO!=null) {
if (applicationManagerVO.getFileDetailsVOs() != null) {
fileDetailsVOHashMap=
applicationManagerDAO.getApplicationUploadedFileDetail(applicationManagerVO.getMemb
erId());;
}
applicationID =
partnerDAO2.getApplicationId(applicationManagerVO.getMemberId());
System.out.println("apppppppppppppp"+applicationID);
ownershipProfileVO1 =
applicationManagerDAO.getOwnerCountDetails(applicationID);
Map<String,OwnershipProfileDetailsVO> ownerShipVo=
applicationManagerDAO.populateOwnershipProfileDetails(applicationID);
if (applicationManagerVO.getUploadLabelVOs() != null) {
uploadLabelVOList = applicationManagerVO.getUploadLabelVOs();
if(ownershipProfileVO.getOwnershipProfileDetai