You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
2005 lines
130 KiB
2005 lines
130 KiB
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="EditCustomerForApproval.aspx.cs" Inherits="Swift.web.MobileRemit.Admin.Operation.EditCustomerForApproval" EnableEventValidation="false" %>
|
|
|
|
|
|
<%@ Register Src="~/Component/AutoComplete/SwiftTextBox.ascx" TagName="SwiftTextBox" TagPrefix="uc1" %>
|
|
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
|
|
|
|
<!DOCTYPE html>
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head runat="server">
|
|
<title></title>
|
|
<link href="/ui/css/style.css" rel="stylesheet" />
|
|
<link href="/ui/bootstrap/css/bootstrap.min.css" rel="stylesheet" />
|
|
<link href="/ui/css/style.css" type="text/css" rel="stylesheet" />
|
|
<link href="/js/jQuery/jquery.gritter.css" rel="stylesheet" type="text/css" />
|
|
<link href="/ui/font-awesome/css/font-awesome.min.css" rel="stylesheet" />
|
|
<link href="../../../AgentNew/css/signature-pad.css" rel="stylesheet" />
|
|
<link href="../../../AgentNew/css/Document.css" rel="stylesheet" />
|
|
<link href="/js/jQuery/jquery-ui.css" rel="stylesheet" type="text/css" />
|
|
<script src="/ui/js/jquery.min.js"></script>
|
|
<script src="/ui/bootstrap/js/bootstrap.min.js"></script>
|
|
<script src="/js/functions.js?v=0.2" type="text/javascript"></script>
|
|
<script src="/ui/js/jquery-ui.min.js"></script>
|
|
<script src="/js/swift_grid.js" type="text/javascript"> </script>
|
|
<script src="../../../AgentNew/js/swift_calender.js"></script>
|
|
<script src="/ui/js/jquery.validate.js" type="text/javascript"></script>
|
|
|
|
<script src="/js/popper/popper.min.js"></script>
|
|
<script src="/js/swift_autocomplete.js"></script>
|
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.mask/1.14.15/jquery.mask.min.js" type="text/javascript"></script>
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/12.1.3/js/intlTelInput.min.js"></script>
|
|
<style>
|
|
.intl-tel-input {
|
|
width: 100% !important;
|
|
}
|
|
|
|
input, textarea {
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
table#rbRemitanceAllowed tbody tr td {
|
|
padding-left: 10px;
|
|
}
|
|
|
|
table#rbOnlineLogin tbody tr td {
|
|
padding-left: 10px;
|
|
}
|
|
|
|
table#rbMobileLogin tbody tr td {
|
|
padding-left: 10px;
|
|
}
|
|
|
|
.doc {
|
|
height: 300px;
|
|
width: 400px
|
|
}
|
|
</style>
|
|
<script>
|
|
$(document).ready(function () {
|
|
|
|
$("#txtMembershipId").focus();
|
|
|
|
$("#divreg_front_id").show();
|
|
$("#divreg_back_id").show();
|
|
$("#divAdditional_id").show();
|
|
$("#divAdditional_id2").show();
|
|
$("#uploadFrontIdDiv").hide();
|
|
$("#uploadBackIdDiv").hide();
|
|
$("#uploadAdditionalIdDiv").hide();
|
|
$("#uploadcustomerSelfieDiv2").hide();
|
|
|
|
$("#editFrontId").click(function () {
|
|
$("#uploadFrontIdDiv").show();
|
|
});
|
|
$("#editBackId").click(function () {
|
|
$("#uploadBackIdDiv").show();
|
|
});
|
|
$("#editAdditionalId").click(function () {
|
|
$("#uploadAdditionalIdDiv").show();
|
|
});
|
|
$("#editSelfie").click(function () {
|
|
$("#uploadcustomerSelfieDiv2").show();
|
|
})
|
|
|
|
|
|
/* $("#" + mId + "occupation").change(function () {*/
|
|
$("#occupation").change(function () {
|
|
$("#divOccupation").hide();
|
|
//if ($("#" + mId + "occupation").val() === "11383") {
|
|
if ($("#occupation").val() === "11383") {
|
|
$("#divOccupation").show();
|
|
}
|
|
});
|
|
|
|
$('input').on('keydown keyup', autocomplete);
|
|
|
|
function autocomplete(event) {
|
|
if (event.which >= 37 && event.which <= 40) {
|
|
$('#autocomplete').attr('hidden', false);
|
|
}
|
|
}
|
|
|
|
var customerId = "<%=GetCustomerId()%>";
|
|
var eid = $('#<%=hdnCustomerId.ClientID%>').val(customerId);
|
|
if (customerId != "") {
|
|
LoadcustomerData();
|
|
|
|
}
|
|
|
|
|
|
$("#<%=ExpireDate.ClientID%>").click(function () {
|
|
$("#<%=ExpireDate.ClientID%>").val('');
|
|
});
|
|
|
|
$("#<%=idType.ClientID%>").on("change", function () {
|
|
$("#<%=verificationTypeNo.ClientID%>").val('');
|
|
var idTypeValue = $("#<%=idType.ClientID%>").val().split('|')[0];
|
|
//if idType is other hide verification textbox and show other verification textbox
|
|
if (idTypeValue == '11402') {
|
|
$("#<%=otherVerificationTypeNo.ClientID%>").addClass("required");
|
|
$("#otherVerificationTypeDiv").show();
|
|
|
|
} else {
|
|
$("#<%=otherVerificationTypeNo.ClientID%>").removeClass("required");
|
|
$("#otherVerificationTypeDiv").hide();
|
|
}
|
|
});
|
|
|
|
<%--$("#<%=zipCode.ClientID%>").keyup(function () {
|
|
var len = $(this).val().length;
|
|
if (len == '7') {
|
|
GetAddressByZipCode();
|
|
}
|
|
});--%>
|
|
|
|
|
|
$('#<%=ddlSearchBy.ClientID%>').change(function () {
|
|
$('#ContentPlaceHolder1_txtSearchData_aText').val('');
|
|
$('#ContentPlaceHolder1_addEditPanel').hide();
|
|
$('#<%=ddlCustomerType.ClientID%>').val('4700');
|
|
$('#<%=membershipDiv.ClientID%>').hide();
|
|
$('#<%=customerType.ClientID%>').hide();
|
|
$('#<%=txtMembershipId.ClientID%>').val('');
|
|
<% = txtSearchData.InitFunction() %>
|
|
});
|
|
|
|
$(document).on('change', '#ContentPlaceHolder1_txtSearchData_aSearch', function () {
|
|
searchValue = $(this).val();
|
|
if (searchValue === null || searchValue === "") {
|
|
$('#ContentPlaceHolder1_txtSearchData_aText').val('');
|
|
$('#ContentPlaceHolder1_addEditPanel').hide();
|
|
$('#<%=ddlCustomerType.ClientID%>').val('4700');
|
|
$('#<%=membershipDiv.ClientID%>').hide();
|
|
$('#<%=customerType.ClientID%>').hide();
|
|
$('#<%=txtMembershipId.ClientID%>').val('');
|
|
}
|
|
});
|
|
|
|
// mobile country code added
|
|
<%-- $("#<%=mobile.ClientID%>").intlTelInput({
|
|
nationalMode: true,
|
|
onlyCountries: ["jp"],
|
|
utilsScript: "https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/12.1.3/js/utils.js" // just for formatting/placeholders etc
|
|
});--%>
|
|
|
|
$("#<%=mobile.ClientID%>").on("change", function () {
|
|
|
|
CheckForMobileNumber(this, 'Mobile No.');
|
|
});
|
|
|
|
$('#<%=countryList.ClientID%>').on('change', function () {
|
|
$("#<%=mobile.ClientID%>").val('');
|
|
var country = $("#<%=countryList.ClientID%> option:selected").text();
|
|
if (country.toLowerCase() == 'japan') {
|
|
$("#<%=mobile.ClientID%>").intlTelInput('setCountry', 'jp');
|
|
}
|
|
});
|
|
|
|
CalSenderDOB("#<%=dob.ClientID%>");
|
|
CompanyRegisterDate("#<%=txtDateOfIncorporation.ClientID%>");
|
|
CalIDIssueDate("#<%=IssueDate.ClientID%>");
|
|
CalFromToday("#<%=ExpireDate.ClientID%>");
|
|
$("#<%=txtDateOfIncorporation.ClientID%>").mask('0000-00-00');
|
|
$("#<%=IssueDate.ClientID%>").mask('0000-00-00');
|
|
$("#<%=ExpireDate.ClientID%>").mask('0000-00-00');
|
|
$("#<%=IssueDate.ClientID%>").mask('0000-00-00');
|
|
$("#<%=ExpireDate.ClientID %>").mask('0000-00-00');
|
|
$("#<%=dob.ClientID%>").mask('0000-00-00');
|
|
|
|
ChangeOrganisationType();
|
|
IdTypeValidity();
|
|
|
|
// CustomerSignature();
|
|
});
|
|
|
|
function documentCrop(fileName, cdId, fileType, id) {
|
|
var url = "/Remit/Administration/CustomerRegistration/DocumentCrop.aspx?cdId=" + cdId + "&fileType=" + fileType + "&fileName=" + fileName + "&id=" + id;
|
|
/* var url = "/Remit/Administration/CustomerRegistration/DocumentCrop.aspx?fileName=" + fileName;*/
|
|
var param = "width=825,height=500,resizable=1,status=1,toolbar=0,scrollbars=1,center=1";
|
|
PopUpWindow(url, param);
|
|
};
|
|
function undoCrop(fileName, cdId, fileType, id) {
|
|
//debugger;
|
|
var customerId = $('#<%=hdnCustomerId.ClientID%>').val();
|
|
var registerDate = $('#<%=hdnRegisterDate.ClientID%>').val();
|
|
var membershipId = $('#<%=txtMembershipId.ClientID%>').val();
|
|
dataToSend = { MethodName: 'undoCrop', customerId: customerId, registerDate: registerDate, membershipId: membershipId, fileName: fileName, cdId: cdId, fileType: fileType };
|
|
if (confirm('Are you sure you want to undo your changes?')) {
|
|
$.post("", dataToSend, function (response) {
|
|
var data = jQuery.parseJSON(response);
|
|
if (data.ErrorCode == 0) {
|
|
alert(data.Msg);
|
|
PopulateImage();
|
|
|
|
$('#' + id).hide();
|
|
} else {
|
|
alert(data.Msg);
|
|
}
|
|
});
|
|
}
|
|
return false;
|
|
};
|
|
function IdTypeValidity() {
|
|
var senIdType = $("#<%=idType.ClientID%>").val();
|
|
if (senIdType == "") {
|
|
$("#<%=expiryDiv.ClientID%>").removeClass('hidden');
|
|
}
|
|
else {
|
|
var senIdTypeArr = senIdType.split('|');
|
|
if (senIdTypeArr[2] == "E") {
|
|
$("#<%=expiryDiv.ClientID%>").removeClass("hidden");
|
|
$("#expireRequired").show();
|
|
$("#<%=ExpireDate.ClientID%>").addClass("required");
|
|
}
|
|
else {
|
|
$("#<%=expiryDiv.ClientID%>").addClass("hidden");
|
|
$("#<%=ExpireDate.ClientID%>").removeClass("required");
|
|
}
|
|
}
|
|
};
|
|
|
|
function CheckForMobileNumber(nField, fieldName) {
|
|
|
|
// debugger;
|
|
var input = $("#<%=mobile.ClientID%>");
|
|
var mobileNo = input.val();
|
|
var numberPattern = /^[+]?[0-9]{6,14}$/;
|
|
test = numberPattern.test(mobileNo);
|
|
if (!test) {
|
|
alert(fieldName + ' Is Not Valid !');
|
|
input.val('');
|
|
return false;
|
|
}
|
|
|
|
var countryCode = '+44';
|
|
|
|
if (mobileNo.indexOf(countryCode) < 0) {
|
|
if (mobileNo.substring(0, 1) == "0") //staring with zero
|
|
{
|
|
if (mobileNo.length > 10) {
|
|
alert('Invalid Mobile Length! : ' + mobileNo.length);
|
|
return false;
|
|
}
|
|
const char = mobileNo[0];
|
|
console.log(char);
|
|
|
|
mobileNo = mobileNo.replace(char, countryCode);
|
|
console.log(mobileNo);
|
|
|
|
}
|
|
else {
|
|
|
|
mobileNo = countryCode + mobileNo
|
|
console.log(mobileNo);
|
|
}
|
|
}
|
|
$(input).val(mobileNo);
|
|
|
|
var maxLength = input.attr('maxLength');
|
|
if (mobileNo.length > maxLength) {
|
|
alert('Mobile No. Can allow input maximum ' + maxLength + ' digit only including +44');
|
|
/* return $(this).val('');*/
|
|
return false;
|
|
}
|
|
|
|
|
|
return true;
|
|
}
|
|
|
|
function ChangeOrganisationType() {
|
|
var customerType = $("#<% =ddlCustomerType.ClientID%>").val();
|
|
var clearInputFields = [];
|
|
|
|
if (customerType === '4701') {
|
|
$('.usedForOrganisation').show();
|
|
$('.hideForOrganisation').hide();
|
|
clearInputFields = ['.clearOnOrganisation'];
|
|
} else {
|
|
$('.usedForOrganisation').hide();
|
|
$('.hideForOrganisation').show();
|
|
clearInputFields = ['.clearOnIndividual'];
|
|
}
|
|
|
|
clearInputFields.forEach(function (item) {
|
|
$(item).val('');
|
|
});
|
|
}
|
|
|
|
function GetCustomerSearchType() {
|
|
var searchBy = $('#<%=ddlSearchBy.ClientID%>').val()
|
|
return searchBy;
|
|
}
|
|
|
|
function CallBackAutocomplete(id) {
|
|
var d = [GetItem("<%=txtSearchData.ClientID %>")[0], GetItem("<%=txtSearchData.ClientID %>")[1].split('|')[0]];
|
|
$('#<%=hdnCustomerId.ClientID%>').val(d[0]);
|
|
LoadcustomerData();
|
|
$('#<%=addEditPanel.ClientID%>').removeAttr('style');
|
|
}
|
|
|
|
function LoadcustomerData() {
|
|
var eid = $('#<%=hdnCustomerId.ClientID%>').val();
|
|
dataToSend = { MethodName: 'GetCustomerDetails', Id: eid };
|
|
$.post('', dataToSend, function (response) {
|
|
ParseCustomerData(response);
|
|
PopulateImage();
|
|
PopulateSignature();
|
|
|
|
//DisableFields();
|
|
ChangeOrganisationType();
|
|
}).fail(function () {
|
|
alert('Oops!!! something went wrong, please try again.');
|
|
});
|
|
}
|
|
function PopulateImage(undoId, isCropped) {
|
|
|
|
// debugger;
|
|
var dataToSend = {
|
|
MethodName: "GetImageUrl",
|
|
customerId: $('#<%=hdnCustomerId.ClientID%>').val(),
|
|
registerDate: $('#<%=hdnRegisterDate.ClientID%>').val(),
|
|
membershipId: $('#<%=txtMembershipId.ClientID%>').val()
|
|
<%-- cdid: $('#<%=txtMembershipId.ClientID%>').val(),--%>
|
|
};
|
|
$.post('', dataToSend, function (response) {
|
|
var data = JSON.parse(response);
|
|
|
|
var json = data.filter(item => item.isEkyc === false);
|
|
|
|
|
|
var url1 = json[0];
|
|
var url2 = json[1];
|
|
var url3 = json[2];
|
|
var url4 = json[3];
|
|
|
|
//$("#font").attr("src", url1);
|
|
//$("#back").attr("src", url2);
|
|
|
|
if (url1) {
|
|
$("#font").attr("src", url1.ImageUrl);
|
|
editFrontIdCrop.setAttribute('onclick', 'documentCrop( " ' + url1.FileName + ' ", " ' + url1.CdId + ' " , " ' + url1.FileType + ' ", this.id)');
|
|
$('#<%=hdnreg_front_idCdId.ClientID%>').val(url1.FileName + '|' + url1.CdId);
|
|
}
|
|
if (url2) {
|
|
$("#back").attr("src", url2.ImageUrl);
|
|
editBackIdCrop.setAttribute('onclick', 'documentCrop( " ' + url2.FileName + ' ", " ' + url2.CdId + ' " , " ' + url2.FileType + ' ", this.id)');
|
|
$('#<%=hdnreg_back_id_idCdId.ClientID%>').val(url2.FileName + '|' + url2.CdId);
|
|
}
|
|
|
|
if (undoId == "editFrontIdCrop" && isCropped == "Y") {
|
|
$('#undoFrontId').show();
|
|
undoFrontId.setAttribute('onclick', 'undoCrop( " ' + url1.FileName + ' ", " ' + url1.CdId + ' " , " ' + url1.FileType + ' ", " ' + undoId + ' ")');
|
|
}
|
|
if (undoId == "editBackIdCrop" && isCropped == "Y") {
|
|
$('#undoBackId').show();
|
|
undoBackId.setAttribute('onclick', 'undoCrop( " ' + url2.FileName + ' ", " ' + url2.CdId + ' " , " ' + url2.FileType + ' ", " ' + undoId + ' ")');
|
|
}
|
|
if (undoId == "editAdditionalIdCrop" && isCropped == "Y") {
|
|
$('#undoAdditionalId').show();
|
|
undoAdditionalId.setAttribute('onclick', 'undoCrop( " ' + url3.FileName + ' ", " ' + url3.CdId + ' " , " ' + url3.FileType + ' ", " ' + undoId + ' ")');
|
|
}
|
|
if (undoId == "editAdditionalId2Crop" && isCropped == "Y") {
|
|
$('#undoAdditionalId2').show();
|
|
undoAdditionalId2.setAttribute('onclick', 'undoCrop( " ' + url4.FileName + ' ", " ' + url4.CdId + ' " , " ' + url4.FileType + ' ", " ' + undoId + ' ")');
|
|
}
|
|
|
|
if (url3) {
|
|
// $("#additionalId").attr("src", url3);
|
|
$("#additionalId").attr("src", url3.ImageUrl);
|
|
editAdditionalIdCrop.setAttribute('onclick', 'documentCrop( " ' + url3.FileName + ' ", " ' + url3.CdId + ' " , " ' + url3.FileType + ' ", this.id)');
|
|
$("#divAdditional_id").show();
|
|
|
|
$('#<%=hdnreg_additional_idCdId.ClientID%>').val(url3.FileName + '|' + url3.CdId);
|
|
}
|
|
//else
|
|
// $("#divAdditional_id").hide();
|
|
|
|
if (url4) {
|
|
// $("#additionalId2").attr("src", url4);
|
|
$("#additionalId2").attr("src", url4.ImageUrl);
|
|
editAdditionalId2Crop.setAttribute('onclick', 'documentCrop( " ' + url4.FileName + ' ", " ' + url4.CdId + ' " , " ' + url4.FileType + ' " , this.id )');
|
|
$("#divAdditional_id2").show();
|
|
$('#<%=hdnreg_additional_id2CdId.ClientID%>').val(url4.FileName + '|' + url4.CdId);
|
|
}
|
|
else
|
|
$("#divAdditional_id2").hide();
|
|
|
|
debugger;
|
|
const filtered = data.filter(item => item.isEkyc === true);
|
|
|
|
if (filtered != null) {
|
|
|
|
var selfie = filtered.filter(item => item.DocumentName === "Customer Selfie")[0];
|
|
|
|
if (selfie) {
|
|
|
|
/* $("#customerSelfieDiv").show();*/
|
|
$("#imgselfieId").attr("src", selfie.ImageUrl);
|
|
editSelfieCrop.setAttribute('onclick', 'documentCrop( " ' + selfie.FileName + ' ", " ' + selfie.CdId + ' " , " ' + filtered.FileType + ' " , this.id )');
|
|
|
|
$('#<%=hdn_selfie.ClientID%>').val(selfie.FileName + '|' + selfie.CdId);
|
|
|
|
|
|
if (undoId == "editSelfieCrop" && isCropped == "Y") {
|
|
$('#undoeditSelfie').show();
|
|
undoeditSelfie.setAttribute('onclick', 'undoCrop( " ' + selfie.FileName + ' ", " ' + selfie.CdId + ' " , " ' + selfie.FileType + ' ", " ' + undoId + ' ")');
|
|
}
|
|
}
|
|
else
|
|
/*$("#customerSelfieDiv").hide();*/
|
|
|
|
|
|
var facePicture = filtered.filter(item => item.DocumentName === "Face Picture")[0];
|
|
if (facePicture) {
|
|
$("#FacePictureDiv").show();
|
|
|
|
$("#FacePictureId").attr("src", facePicture.ImageUrl);
|
|
editFacePictureCrop.setAttribute('onclick', 'documentCrop( " ' + facePicture.FileName + ' ", " ' + facePicture.CdId + ' " , " ' + facePicture.FileType + ' " , this.id )');
|
|
|
|
$('#<%=hdn_FacePicture.ClientID%>').val(facePicture.FileName + '|' + facePicture.CdId);
|
|
|
|
if (undoId == "editFacePictureCrop" && isCropped == "Y") {
|
|
$('#undoFacePicture').show();
|
|
undoFacePicture.setAttribute('onclick', 'undoCrop( " ' + facePicture.FileName + ' ", " ' + facePicture.CdId + ' " , " ' + facePicture.FileType + ' ", " ' + undoId + ' ")');
|
|
}
|
|
}
|
|
|
|
|
|
var AdditionalIDFront2 = filtered.filter(item => item.DocumentName === "Additional ID Front 2")[0];
|
|
if (AdditionalIDFront2) {
|
|
$("#AdditionalIDFront2Div").show();
|
|
|
|
$("#imgAdditionalIDFront2Id").attr("src", AdditionalIDFront2.ImageUrl);
|
|
editAdditionalIDFront2.setAttribute('onclick', 'documentCrop( " ' + AdditionalIDFront2.FileName + ' ", " ' + AdditionalIDFront2.CdId + ' " , " ' + AdditionalIDFront2.FileType + ' " , this.id )');
|
|
|
|
$('#<%=hdn_AdditionalIDFront2.ClientID%>').val(AdditionalIDFront2.FileName + '|' + AdditionalIDFront2.CdId);
|
|
|
|
if (undoId == "editAdditionalIDFront2" && isCropped == "Y") {
|
|
$('#undoAdditionalIDFront2Div').show();
|
|
undoAdditionalIDFront2Div.setAttribute('onclick', 'undoCrop( " ' + AdditionalIDFront2.FileName + ' ", " ' + AdditionalIDFront2.CdId + ' " , " ' + AdditionalIDFront2.FileType + ' ", " ' + undoId + ' ")');
|
|
}
|
|
}
|
|
|
|
var IDFrontFeature = filtered.filter(item => item.DocumentName === "ID Front feature")[0];
|
|
if (IDFrontFeature) {
|
|
$("#IDFrontFeatureDiv").show();
|
|
|
|
$("#imgIDFrontFeatureId").attr("src", IDFrontFeature.ImageUrl);
|
|
editIDFrontFeature.setAttribute('onclick', 'documentCrop( " ' + IDFrontFeature.FileName + ' ", " ' + IDFrontFeature.CdId + ' " , " ' + IDFrontFeature.FileType + ' " , this.id )');
|
|
|
|
$('#<%=hdn_AdditionalIDFront2.ClientID%>').val(facePicture.FileName + '|' + facePicture.CdId);
|
|
|
|
if (undoId == "editIDFrontFeature" && isCropped == "Y") {
|
|
$('#undoIDFrontFeature').show();
|
|
undoIDFrontFeature.setAttribute('onclick', 'undoCrop( " ' + IDFrontFeature.FileName + ' ", " ' + IDFrontFeature.CdId + ' " , " ' + IDFrontFeature.FileType + ' ", " ' + undoId + ' ")');
|
|
}
|
|
}
|
|
}
|
|
else {
|
|
// $("#customerSelfieDiv").hide();
|
|
//$("#FacePictureDiv").hide();
|
|
$("#AdditionalIDFront2Div").hide();
|
|
$("#IDFrontFeatureDiv").hide();
|
|
}
|
|
|
|
|
|
|
|
}).fail(function () {
|
|
alert('Oops!!! something went wrong, please try again.');
|
|
});
|
|
}
|
|
function PopulateSignature() {
|
|
var dataToSend = {
|
|
MethodName: "GetSignature",
|
|
customerId: $('#<%=hdnCustomerId.ClientID%>').val(),
|
|
registerDate: $('#<%=hdnRegisterDate.ClientID%>').val(),
|
|
membershipId: $('#<%=txtMembershipId.ClientID%>').val()
|
|
};
|
|
$.post('', dataToSend, function (response) {
|
|
var url1 = JSON.parse(response);
|
|
$("#signature").attr("src", url1);
|
|
}).fail(function () {
|
|
alert('Oops!!! something went wrong, please try again.');
|
|
});
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function ParseCustomerData(response) {
|
|
var dr = jQuery.parseJSON(response);
|
|
if (dr != null) {
|
|
debugger;
|
|
<%-- $('#<%=firstName.ClientID%>').attr('readonly', 'readonly');
|
|
$('#<%=middleName.ClientID%>').attr('readonly', 'readonly');
|
|
$('#<%=lastName.ClientID%>').attr('readonly', 'readonly');
|
|
$('#<%=dob.ClientID%>').attr('readonly', 'readonly');
|
|
$('#<%=dob.ClientID%>').datepicker('disable');--%>
|
|
|
|
|
|
$('#<%=hdnCustomerId.ClientID%>').val(dr[0].customerId);
|
|
$('#<%=hdnRegisterDate.ClientID%>').val(dr[0].createdDate);
|
|
$('#<%=hdnCreatedFrom.ClientID%>').val(dr[0].createdFrom);
|
|
$('#<%=hdnEkycSubmitted.ClientID%>').val(dr[0].ekycSubmitted);
|
|
|
|
|
|
$('#<%=firstName.ClientID%>').val(dr[0].firstName);
|
|
$('#<%=middleName.ClientID%>').val(dr[0].middleName);
|
|
$('#<%=lastName.ClientID%>').val(dr[0].lastName1);
|
|
$('#<%=txtCompanyName.ClientID%>').val(dr[0].firstName);
|
|
$('#<%=genderList.ClientID%>').val(dr[0].gender);
|
|
$('#<%=countryList.ClientID%>').val(dr[0].country);
|
|
<%--$('#<%=addressLine1.ClientID%>').val(dr[0].address);--%>
|
|
$('#<%=zipCode.ClientID%>').val(dr[0].zipCode);
|
|
$('#<%=city.ClientID%>').val(dr[0].city);
|
|
$('#<%=email.ClientID%>').val(dr[0].email);
|
|
$('#<%=hddOldEmailValue.ClientID%>').val(dr[0].email);
|
|
$('#<%=emailConfirm.ClientID%>').val(dr[0].email);
|
|
$('#<%=phoneNumber.ClientID%>').val(dr[0].telNo);
|
|
$('#<%=mobile.ClientID%>').val(dr[0].mobile.replaceAll('-', ''));
|
|
$('#<%=nativeCountry.ClientID%>').val(dr[0].nativeCountry);
|
|
$('#<%=nativeCountry.ClientID%>').val(dr[0].nativeCountryId);
|
|
$('#<%=dob.ClientID%>').val(dr[0].dob);
|
|
$('#<%=occupation.ClientID%>').val(dr[0].occupation);
|
|
$('#<%=IssueDate.ClientID%>').val(dr[0].idIssueDate);
|
|
$('#<%=ExpireDate.ClientID%>').val(dr[0].idExpiryDate);
|
|
$('#<%=idType.ClientID%>').val(dr[0].idType);
|
|
|
|
if (dr[0].idTypeValue == '11402') {
|
|
$("#<%=otherVerificationTypeNo.ClientID%>").addClass("required");
|
|
$("#otherVerificationTypeDiv").show();
|
|
|
|
} else {
|
|
$("#<%=otherVerificationTypeNo.ClientID%>").removeClass("required");
|
|
$("#otherVerificationTypeDiv").hide();
|
|
}
|
|
if (dr[0].ekycSubmitted == "N") {
|
|
$("#btnSendDoc").hide();
|
|
}
|
|
else {
|
|
$("#btnSendDoc").show();
|
|
}
|
|
|
|
$('#<%=verificationTypeNo.ClientID%>').val(dr[0].idNumber);
|
|
$('#<%=otherVerificationTypeNo.ClientID%>').val(dr[0].otherIdNumber);
|
|
|
|
$('#<%=hddIdNumber.ClientID%>').val(dr[0].homePhone);
|
|
$('#<%=txtMembershipId.ClientID%>').val(dr[0].membershipId);
|
|
$('#<%=hdnMembershipNo.ClientID%>').val(dr[0].membershipId);
|
|
$('#<%=txtMembershipId.ClientID%>').attr('readonly', true);
|
|
$('#<%=txtRegistrationType.ClientID%>').val(dr[0].registrationType);
|
|
$('#<%=txtRegistrationType.ClientID%>').attr('readonly', true);
|
|
$('#<%=txtRegistrationNo.ClientID%>').val(dr[0].registerationNo);
|
|
$('#<%=txtDateOfIncorporation.ClientID%>').val(dr[0].dateofIncorporation);
|
|
$('#<%=txtNameofAuthoPerson.ClientID%>').val(dr[0].nameOfAuthorizedPerson);
|
|
<%--$('#<%=txtStreet.ClientID%>').val(dr[0].street);--%>
|
|
$('#<%=address1.ClientID%>').val(dr[0].address);
|
|
$('#<%=txtAdditionalAddress.ClientID%>').val(dr[0].additionalAddress);
|
|
<%--$('#<%=txtsenderCityjapan.ClientID%>').val(dr[0].cityUnicode);
|
|
$('#<%=txtstreetJapanese.ClientID%>').val(dr[0].streetUnicode);--%>
|
|
$('#<%=txtNameofEmployeer.ClientID%>').val(dr[0].nameOfEmployeer);
|
|
|
|
$('#<%=rbRemitanceAllowed.ClientID%> input[value=' + (dr[0].remittanceAllowed == true ? "Enabled" : "Disabled") + ']').attr('checked', 'checked');
|
|
$('#<%=rbOnlineLogin.ClientID%> [value= ' + (dr[0].onlineUser == "Y" ? "Enabled" : "Disabled") + ']').attr('checked', 'checked');
|
|
$('#<%=rbMobileLogin.ClientID%> [value= ' + (dr[0].mobileUser == "Y" ? "Enabled" : "Disabled") + ']').attr('checked', 'checked');
|
|
$('#<%=txtRemarks.ClientID%>').val(dr[0].remarks);
|
|
<%--$('#<%=ddlSalary.ClientID%>').val(dr[0].monthlyIncome);--%>
|
|
$('#<%=ddlCustomerType.ClientID%>').val(dr[0].customerType);
|
|
$('#<%=ddlEmployeeBusType.ClientID%>').val(dr[0].employeeBusinessType);
|
|
$('#<%=ddlnatureOfCompany.ClientID%>').val(dr[0].natureOfCompany);
|
|
$('#<%=ddlOrganizationType.ClientID%>').val(dr[0].organizationType);
|
|
$('#<%=ddlPosition.ClientID%>').val(dr[0].position);
|
|
<%--$('#<%=ddlVisaStatus.ClientID%>').val(dr[0].visaStatus);--%>
|
|
<%-- $('#<%=ddlState.ClientID%>').val(dr[0].state);--%>
|
|
$('#<%=ddlStateHidden.ClientID%>').val(dr[0].state);
|
|
$('#<%=cityHidden.ClientID%>').val(dr[0].city);
|
|
$('#<%=verifyRemarks.ClientID%>').val(dr[0].verifyRemarks);
|
|
<%--$('#<%=txtIntroducer.ClientID%>').val(dr[0].introducer);--%>
|
|
|
|
$('#<%=email.ClientID%>').Enabled = (dr[0].isTxnMade == "Y") ? false : true;
|
|
$('#<%=emailConfirm.ClientID%>').Enabled = (dr[0].isTxnMade == "Y") ? false : true;
|
|
$('#<%=hddTxnsMade.ClientID%>').val(dr[0].isTxnMade);
|
|
$('#<%=ddlDocType.ClientID%>').val(dr[0].documentType);
|
|
if (dr[0].isTxnMade == "Y") {
|
|
$('#<%=msgDiv.ClientID%>').Visible = true;
|
|
$('#<%=msgLabel.ClientID%>').val("Note: The customer has already made transactions in JME system, so the email can not be modified. For more info please contact HO.");
|
|
}
|
|
if (dr[0].idType.split('|')[0] == "8008") {
|
|
$('#<%=expiryDiv.ClientID%>').addClass('hidden');
|
|
}
|
|
else {
|
|
$('#<%=expiryDiv.ClientID%>').removeClass('hidden');
|
|
}
|
|
$('#<%=membershipDiv.ClientID%>').show();
|
|
$('#<%=customerType.ClientID%>').show();
|
|
|
|
GetAddressByRowID(dr[0].district, dr[0].zipCode);
|
|
$('#<%=email.ClientID%>').attr('readonly', 'readonly');
|
|
if (parseInt(dr[0].occupation) === 11383) {
|
|
$('#divOccupation').show();
|
|
//$('#' + mId + 'occupationHidden').val(dr[0].occupation);
|
|
//$('#' + mId + 'occupationText').val(dr[0].occupationText);
|
|
$('#occupationHidden').val(dr[0].occupation);
|
|
$('#occupationText').val(dr[0].occupationText);
|
|
}
|
|
|
|
debugger;
|
|
|
|
$('#<%=hdnUseNFC.ClientID%>').val(dr[0].useNfc);
|
|
$('#<%=hdnRegistrationType.ClientID%>').val(dr[0].registrationType);
|
|
|
|
if (dr[0].useNfc === "Y") {
|
|
$('input:radio[name="rbNFC"][value="Y"]').attr('checked', true);
|
|
}
|
|
|
|
if (dr[0].registrationType === "EKYC") {
|
|
$('input:radio[name="rbKycType"][value="EKYC"]').attr('checked', true);
|
|
}
|
|
}
|
|
}
|
|
|
|
function getParameterValues(key) {
|
|
var pageURL = window.location.search.substring(1);
|
|
var urlQS = pageURL.split('&');
|
|
for (var i = 0; i < urlQS.length; i++) {
|
|
var paramName = urlQS[i].split('=');
|
|
if (paramName[0] == key) {
|
|
//replace the special char like "+","&" etc from value
|
|
var value = paramName[1].replace('%20', ' ').replace('%26', '&').replace('+', ' ');
|
|
return value;
|
|
}
|
|
}
|
|
}
|
|
|
|
function CheckValidatedCustomer() {
|
|
debugger
|
|
if (CheckFormValidation() === false) {
|
|
return false;
|
|
}
|
|
|
|
var ofacReason = $('#hdnOfacRes').val();
|
|
var remarksOfac = $('#remarksOFAC').val();
|
|
|
|
if (ofacReason != "" && (remarksOfac == null || remarksOfac == "")) {
|
|
alert('Please Insert Ofac Remarks.')
|
|
|
|
$('#remarksOFAC').focus();
|
|
return false;
|
|
}
|
|
|
|
if (!confirm('Are You Sure You Want To Proceed ?')) {
|
|
return false;
|
|
}
|
|
|
|
|
|
//var type = getParameterValues('type');
|
|
//if(type = 'Verify' && $('#verifyRemarks').val()!='' )
|
|
//{
|
|
// alert('Unable to proceed due to verify remarks!')
|
|
// $('#verifyRemarks').focus();
|
|
// return false;
|
|
//}
|
|
var reqField = "";
|
|
var val = $("#<% =hdnCustomerId.ClientID%>").val();
|
|
var customerType = $("#<% =ddlCustomerType.ClientID%>").val();
|
|
var input = $("#<%=mobile.ClientID%>");
|
|
var mobileNo = input.val();
|
|
if (mobileNo != null && mobileNo != "") {
|
|
|
|
var r = CheckForMobileNumber(input, 'Mobile No.');
|
|
if (!r)
|
|
return false;
|
|
}
|
|
// else {
|
|
// alert("Mobile No. is required!");
|
|
// return false;
|
|
// }
|
|
$(".required").each(function () {
|
|
if (customerType === "4700") {
|
|
if (!$(this).hasClass("clearOnIndividual")) {
|
|
reqField += $(this).attr('id') + ",";
|
|
}
|
|
}
|
|
if (customerType === "4701") {
|
|
if (!$(this).hasClass("clearOnOrganisation")) {
|
|
reqField += $(this).attr('id') + ",";
|
|
}
|
|
}
|
|
});
|
|
if ($('#<%=expiryDiv.ClientID%>').hasClass("hidden")) {
|
|
reqField = reqField.replace(",<%=ExpireDate.ClientID%>,", ",");
|
|
}
|
|
|
|
ChangeOrganisationType();
|
|
/* if ($("#" + mId + "occupation").val() === "11383") {*/
|
|
if ($("#occupation").val() === "11383") {
|
|
reqField += "<%=occupationText.ClientID%>,";
|
|
}
|
|
|
|
//if (ValidRequiredField(reqField) === false) {
|
|
// return false;
|
|
//}
|
|
|
|
//debugger;
|
|
if (ValidRequiredField(reqField) == true) {
|
|
$("#hdnValidatedCustomer").val('Y');
|
|
}
|
|
|
|
if (!$('#<%=expiryDiv.ClientID%>').hasClass("hidden")) {
|
|
var issueDate = $('#<%=IssueDate.ClientID%>').val();
|
|
var exipreDate = $('#<%=ExpireDate.ClientID%>').val();
|
|
if (issueDate != '' && exipreDate != '') {
|
|
if (issueDate > exipreDate) {
|
|
alert("Issue Date cannot be greater than Valid date");
|
|
return false;
|
|
}
|
|
}
|
|
}
|
|
return true;
|
|
}
|
|
function CheckFormValidation() {
|
|
debugger;
|
|
var reqField = "";
|
|
var val = $("#<% =hdnCustomerId.ClientID%>").val();
|
|
var customerType = $("#<% =ddlCustomerType.ClientID%>").val();
|
|
var input = $("#<%=mobile.ClientID%>");
|
|
var mobileNo = input.val();
|
|
if (mobileNo != null && mobileNo != "") {
|
|
|
|
var r = CheckForMobileNumber(input, 'Mobile No.');
|
|
if (!r)
|
|
return false;
|
|
}
|
|
else {
|
|
alert("Mobile No. is required!");
|
|
return false;
|
|
}
|
|
$(".required").each(function () {
|
|
if (customerType === "4700") {
|
|
if (!$(this).hasClass("clearOnIndividual")) {
|
|
reqField += $(this).attr('id') + ",";
|
|
}
|
|
}
|
|
if (customerType === "4701") {
|
|
if (!$(this).hasClass("clearOnOrganisation")) {
|
|
reqField += $(this).attr('id') + ",";
|
|
}
|
|
}
|
|
});
|
|
if ($('#<%=expiryDiv.ClientID%>').hasClass("hidden")) {
|
|
reqField = reqField.replace(",<%=ExpireDate.ClientID%>,", ",");
|
|
}
|
|
|
|
ChangeOrganisationType();
|
|
/* if ($("#" + mId + "occupation").val() === "11383") {*/
|
|
if ($("#occupation").val() === "11383") {
|
|
reqField += "<%=occupationText.ClientID%>,";
|
|
}
|
|
|
|
if (ValidRequiredField(reqField) === false) {
|
|
return false;
|
|
}
|
|
if (!$('#<%=expiryDiv.ClientID%>').hasClass("hidden")) {
|
|
var issueDate = $('#<%=IssueDate.ClientID%>').val();
|
|
var exipreDate = $('#<%=ExpireDate.ClientID%>').val();
|
|
if (issueDate != '' && exipreDate != '') {
|
|
if (issueDate > exipreDate) {
|
|
alert("Issue Date cannot be greater than Valid date");
|
|
return false;
|
|
}
|
|
}
|
|
}
|
|
<%-- var isdisplayDignature = $("#<%=isDisplaySignature.ClientID%>").val();
|
|
if (isdisplayDignature.toLowerCase() === 'true') {
|
|
return CheckSignatureCustomer();
|
|
}--%>
|
|
return true;
|
|
}
|
|
|
|
function loadImage(filePath, id) {
|
|
$('#' + id).attr('src', path);
|
|
}
|
|
|
|
function readURL(input, id) {
|
|
if (input.files && input.files[0]) {
|
|
var reader = new FileReader();
|
|
reader.onload = function (e) {
|
|
$('#' + id).attr('src', e.target.result);
|
|
}
|
|
reader.readAsDataURL(input.files[0]);
|
|
}
|
|
}
|
|
|
|
function showImage(param) {
|
|
var imgSrc = $(param).attr("src");
|
|
OpenInNewWindow(imgSrc);
|
|
}
|
|
|
|
function ManageDivs() {
|
|
if ($('#<%=idType.ClientID%>').val() == '8008') {
|
|
$("#<%=ExpireDate.ClientID%>").removeClass('required');
|
|
$('#<%=expiryDiv.ClientID%>').addClass('hidden');
|
|
}
|
|
else {
|
|
$('#<%=expiryDiv.ClientID%>').removeClass('hidden');
|
|
$("#<%=ExpireDate.ClientID%>").addClass('required');
|
|
}
|
|
$("#<%=ExpireDate.ClientID%>").val('');
|
|
IdTypeValidity();
|
|
}
|
|
|
|
function CheckCustomerId() {
|
|
customerId = $("#<%=hdnCustomerId.ClientID%>").val();
|
|
if (customerId !== null && customerId !== "") {
|
|
return true;
|
|
}
|
|
return false;
|
|
}
|
|
function SetMessageBox(msg, id) {
|
|
alert(msg);
|
|
}
|
|
|
|
function GetAddressByZipCode() {
|
|
debugger
|
|
var zipCodeValue = $("#<%=zipCode.ClientID%>").val();
|
|
$("#txtState").val('');
|
|
<%--$("#<%=txtStreet.ClientID%>").val('');--%>
|
|
$("#<%=city.ClientID%>").val('');
|
|
<%--$("#<%=txtsenderCityjapan.ClientID%>").val('');
|
|
$("#<%=txtstreetJapanese.ClientID%>").val('');--%>
|
|
<%--var zipCodePattern = /^\d{7}?$/;
|
|
test = zipCodePattern.test(zipCodeValue);
|
|
if (!test) {
|
|
$("#<%=zipCode.ClientID%>").val('');
|
|
$("#<%=zipCode.ClientID%>").focus();
|
|
$("#<%=zipCode.ClientID%>").attr("style", "display:block; background:#FFCCD2");
|
|
return alert("Please Enter Valid Zip Code(XXXXXXX)");
|
|
}--%>
|
|
var dataToSend = { MethodName: 'GetAddressDetailsByZipCode', zipCode: zipCodeValue };
|
|
// $.post('/AgentNew/Administration/CustomerSetup/CustomerRegistration/Manage.aspx', dataToSend, function (erd) {
|
|
$.post('/MobileRemit/Admin/Operation/EditCustomerForApproval.aspx', dataToSend, function (erd) {
|
|
if (erd !== null) {
|
|
var dr = jQuery.parseJSON(erd);
|
|
if (erd == false) {
|
|
<%-- $("#<%=ddlState.ClientID%>").val('');
|
|
$("#<%=txtStreet.ClientID%>").val('');--%>
|
|
$("#<%=city.ClientID%>").val('');
|
|
$("#<%=zipCode.ClientID%>").val(dr[0].ZIP_CODE);
|
|
$("#<%=address1.ClientID%>").val(dr[0].STREET_NAME);
|
|
<%-- $("#<%=zipCode.ClientID%>").focus();
|
|
$("#<%=zipCode.ClientID%>").attr("style", "display:block; background:#FFCCD2");
|
|
return alert("Please Enter Valid Zip Code(XXXXXXX)");--%>
|
|
}
|
|
|
|
//$("#tempAddress").html(erd);
|
|
if (dr[0].errorCode == '0') {
|
|
/* debugger;*/
|
|
<%-- $("#<%=ddlState.ClientID%>").val(dr[0].STATE_ID);--%>
|
|
$("#<%=ddlStateHidden.ClientID%>").val(dr[0].STATE_ID);
|
|
$("#<%=cityHidden.ClientID%>").val(dr[0].CITY_NAME);
|
|
$("#<%=city.ClientID%>").val(dr[0].CITY_NAME);
|
|
$("#<%=zipCode.ClientID%>").val(dr[0].ZIP_CODE);
|
|
$("#<%=address1.ClientID%>").val(dr[0].STREET_NAME);
|
|
/*PopulateAreaDDL(dr);*/
|
|
}
|
|
else {
|
|
<%-- $("#<%=ddlState.ClientID%>").val('');
|
|
$("#<%=txtStreet.ClientID%>").val('');--%>
|
|
$("#<%=city.ClientID%>").val('');
|
|
$("#<%=zipCode.ClientID%>").focus();
|
|
$("#<%=zipCode.ClientID%>").attr("style", "display:block; background:#FFCCD2");
|
|
return alert("Please Enter Valid Zip Code(XXXXXXX)");
|
|
}
|
|
}
|
|
}).fail(function () {
|
|
alert('Oops!!! something went wrong, please try again.');
|
|
});
|
|
}
|
|
|
|
function ShowIdTypeInfo() {
|
|
var idInfo = $('#<%=idType.ClientID%>').val();
|
|
if (idInfo == '' || idInfo == null) {
|
|
alert('Please select id type first!')
|
|
}
|
|
else {
|
|
alert(idInfo.split("|")[1]);
|
|
}
|
|
}
|
|
|
|
function GetAddressByRowID(rowId, zipCode) {
|
|
debugger
|
|
var dataToSend = { MethodName: 'GetAddressDetailsByZipCode', zipCode: zipCode, RowID: rowId };
|
|
$.post('', dataToSend, function (erd) {
|
|
if (erd !== null) {
|
|
var dr = jQuery.parseJSON(erd);
|
|
if (erd == false) {
|
|
<%--$("#<%=ddlState.ClientID%>").val('');
|
|
$("#<%=txtStreet.ClientID%>").val('');--%>
|
|
$("#<%=city.ClientID%>").val('');
|
|
$("#<%=address1.ClientID%>").val(dr[0].STREET_NAME);
|
|
<%--$("#<%=zipCode.ClientID%>").focus();
|
|
$("#<%=zipCode.ClientID%>").attr("style", "display:block; background:#FFCCD2");
|
|
return alert("Please Enter Valid Zip Code(XXXXXXX)");--%>
|
|
}
|
|
|
|
//$("#tempAddress").html(erd);
|
|
if (dr[0].errorCode == '0') {
|
|
<%-- $("#<%=ddlState.ClientID%>").val(dr[0].STATE_ID);--%>
|
|
$("#<%=ddlStateHidden.ClientID%>").val(dr[0].STATE_ID);
|
|
$("#<%=cityHidden.ClientID%>").val(dr[0].CITY_NAME);
|
|
<%--$("#<%=txtStreet.ClientID%>").val(dr[0].STREET_NAME);--%>
|
|
$("#<%=city.ClientID%>").val(dr[0].CITY_NAME);
|
|
$("#<%=address1.ClientID%>").val(dr[0].STREET_NAME);
|
|
$("#<%=zipCode.ClientID%>").val(dr[0].ZIP_CODE);
|
|
/*PopulateAreaDDL(dr, rowId);*/
|
|
}
|
|
else {
|
|
<%-- $("#<%=ddlState.ClientID%>").val('');
|
|
$("#<%=txtStreet.ClientID%>").val('');--%>
|
|
$("#<%=city.ClientID%>").val('');
|
|
$("#<%=zipCode.ClientID%>").focus();
|
|
$("#<%=zipCode.ClientID%>").attr("style", "display:block; background:#FFCCD2");
|
|
return alert("Please Enter Valid Zip Code(XXXXXXX)");
|
|
}
|
|
}
|
|
}).fail(function () {
|
|
alert('Oops!!! something went wrong, please try again.');
|
|
});
|
|
}
|
|
|
|
//function PopulateAreaDDL(data, selectedValue) {
|
|
// //debugger;
|
|
// var ddl = document.getElementById("txtStreet");
|
|
// $(ddl).empty();
|
|
|
|
// var option, selValue = '';
|
|
|
|
// if (selectedValue) {
|
|
// selValue = selectedValue;
|
|
// }
|
|
|
|
// if (data.length > 1) {
|
|
// option = document.createElement("option");
|
|
// option.text = 'Select Area';
|
|
// option.value = '';
|
|
// ddl.options.add(option);
|
|
// }
|
|
|
|
// for (var i = 0; i < data.length; i++) {
|
|
// option = document.createElement("option");
|
|
// option.text = data[i].STREET_NAME;
|
|
// option.value = data[i].ROW_ID;
|
|
// $('#txtstreetJapanese').val(data[i].STREET_NAME);
|
|
|
|
// if (selValue.toString() === option.value) {
|
|
// option.selected = true;
|
|
// }
|
|
|
|
// try {
|
|
// ddl.options.add(option);
|
|
// }
|
|
// catch (e) {
|
|
// alert(e);
|
|
// }
|
|
// }
|
|
//}
|
|
</script>
|
|
</head>
|
|
|
|
<body>
|
|
<form id="form1" runat="server">
|
|
<asp:HiddenField ID="cityHidden" runat="server" />
|
|
<asp:HiddenField ID="ddlStateHidden" runat="server" />
|
|
<asp:HiddenField ID="hdnTrackBy" runat="server" />
|
|
<asp:HiddenField ID="hdnOfacRes" runat="server" />
|
|
<asp:HiddenField ID="hdnOfacReason" runat="server" />
|
|
<div class="page-wrapper">
|
|
<div class="row">
|
|
<div class="col-sm-12">
|
|
<div class="page-title">
|
|
<h1></h1>
|
|
<ol class="breadcrumb">
|
|
<li><a href="/Front.aspx" target="mainFrame"><i class="fa fa-home"></i></a></li>
|
|
<li><a href="#" onclick="return LoadModule('account')">Admin</a></li>
|
|
<li><a href="#" onclick="return LoadModule('account')">Mobile Operations</a></li>
|
|
<li class="active"><a href="EditCustomerForApproval.aspx?customerId=<%=hdnCustomerId.Value %>">Approve Customer</a></li>
|
|
</ol>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="hidden">
|
|
<%--<asp:Button ID="populateDoc" runat="server" Text="click" OnClick="populateDoc_Click" />--%>
|
|
</div>
|
|
<div class="report-tab" runat="server" id="regUp">
|
|
<!-- Nav tabs -->
|
|
<ul class="nav nav-tabs" role="tablist">
|
|
<li role="presentation" class="active"><a href="EditCustomerForApproval.aspx">Customer Operation</a></li>
|
|
</ul>
|
|
<div class="tab-content">
|
|
<div role="tabpanel" class="tab-pane" id="List">
|
|
</div>
|
|
<div role="tabpanel" id="Manage">
|
|
<div class="">
|
|
<div class="register-form">
|
|
<div class="panel panel-default clearfix m-b-20">
|
|
<div id="divMatchedCustomer" runat="server" visible="false" style="width: 100%">
|
|
</div>
|
|
<div class="panel-heading">Customer Information</div>
|
|
<div class="panel-body">
|
|
<div class="col-sm-12" id="msgDiv" runat="server" visible="false" style="background-color: red;">
|
|
<asp:Label ID="msgLabel" runat="server" ForeColor="White"></asp:Label>
|
|
</div>
|
|
<div id="displayOnlyOnEdit" runat="server">
|
|
<div class="col-sm-3">
|
|
<label class="control-label">Search By</label>
|
|
<asp:DropDownList ID="ddlSearchBy" runat="server" CssClass="form-control" Style="margin-bottom: 5px;">
|
|
</asp:DropDownList>
|
|
</div>
|
|
<div class="col-sm-3">
|
|
<div class="form-group">
|
|
<label>Choose Customer :<span class="errormsg">*</span></label>
|
|
<uc1:SwiftTextBox ID="txtSearchData" runat="server" Category="remit-searchCustomer" CssClass="form-control required" Param1="@GetCustomerSearchType()" Title="Blank for All" />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="col-sm-3" id="customerType" runat="server">
|
|
<div class="form-group">
|
|
<label>Customer Type:<span class="errormsg">*</span></label>
|
|
<asp:DropDownList runat="server" ID="ddlCustomerType" onchange="ChangeOrganisationType(this)" name="customerList" CssClass="form-control">
|
|
</asp:DropDownList>
|
|
|
|
</div>
|
|
</div>
|
|
<div class="col-sm-3" id="Div2" runat="server" style="display: none">
|
|
<div class="form-group">
|
|
<label> </label>
|
|
<a class="form-control btn btn-primary" runat="server" id="testLink" href="PrintDetails.aspx?membershipId=CHI004728">test Link </a>
|
|
</div>
|
|
</div>
|
|
<div class="col-sm-3" id="linkDiv" runat="server" style="display: none">
|
|
<div class="form-group">
|
|
<label> </label>
|
|
<a class="form-control btn btn-primary" runat="server" id="printLink"> </a>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="col-sm-3 " id="membershipDiv" runat="server" hidden>
|
|
<div class="form-group">
|
|
<label>Membership No:</label>
|
|
<asp:TextBox ID="txtMembershipId" runat="server" CssClass="form-control" />
|
|
</div>
|
|
</div>
|
|
<div class="col-sm-3 " id="registrationType" runat="server" hidden>
|
|
<div class="form-group">
|
|
<label>Registration Type :</label>
|
|
<asp:TextBox ID="txtRegistrationType" runat="server" CssClass="form-control" />
|
|
</div>
|
|
</div>
|
|
<div class="col-md-4 col-sm-4" hidden>
|
|
<div class="form-group">
|
|
<label>Confirm E-Mail ID:<span class="errormsg">*</span></label>
|
|
<asp:TextBox ID="emailConfirm" runat="server" placeholder="Confirm Email" data-match="#email" CssClass="form-control clearOnIndividual" />
|
|
<asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" Display="Dynamic"
|
|
ErrorMessage="Invalid Email Id!" ForeColor="Red" SetFocusOnError="True" ValidationGroup="send"
|
|
ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" CssClass="inv"
|
|
ControlToValidate="emailConfirm"></asp:RegularExpressionValidator>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div id="addEditPanel" runat="server">
|
|
|
|
<div class="panel panel-default clearfix m-b-20">
|
|
<div class="panel-heading">Personal Information</div>
|
|
<div class="panel-body">
|
|
<div class="usedForOrganisation" hidden>
|
|
<div class="col-sm-4">
|
|
<div class="form-group">
|
|
<label>Name of Company:<span class="errormsg">*</span></label>
|
|
<asp:TextBox ID="txtCompanyName" runat="server" placeholder="Name of Company" CssClass="form-control clearOnIndividual required" />
|
|
</div>
|
|
</div>
|
|
<div class="col-sm-4">
|
|
<div class="form-group">
|
|
<label>Company Reg. No:<span class="errormsg">*</span></label>
|
|
<asp:TextBox ID="txtRegistrationNo" runat="server" placeholder="Company Reg. No" CssClass="form-control clearOnIndividual required" />
|
|
</div>
|
|
</div>
|
|
<div class="col-sm-4">
|
|
<div class="form-group">
|
|
<label>Organization Type:</label>
|
|
<asp:DropDownList runat="server" ID="ddlOrganizationType" name="ddlOrganizationType" CssClass="form-control clearOnIndividual">
|
|
</asp:DropDownList>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-4 col-sm-4">
|
|
<div id="Div1" runat="server" nowrap="nowrap" class="showHideIDExpDate">
|
|
</div>
|
|
<div class="form-group">
|
|
<label>Date Of Incorporation:</label>
|
|
<div class="form-inline">
|
|
<div class="input-group input-append date dpYears">
|
|
<asp:TextBox runat="server" ID="txtDateOfIncorporation" AutoComplete="off" placeholder="YYYY/MM/DD" onchange="return DateValidation('txtDateOfIncorporation')" MaxLength="10" CssClass="form-control date-field clearOnIndividual"></asp:TextBox>
|
|
<div class="input-group-addon"><i class="fa fa-calendar"></i></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-4 col-sm-4">
|
|
<div class="form-group">
|
|
<label>Nature Of Company:<span class="errormsg">*</span></label>
|
|
<asp:DropDownList runat="server" ID="ddlnatureOfCompany" name="ddlnatureOfCompany" CssClass="form-control clearOnIndividual required">
|
|
</asp:DropDownList>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-4 col-sm-4">
|
|
<div class="form-group">
|
|
<label>Name Of Authorized Person:<span class="errormsg">*</span></label>
|
|
<asp:TextBox ID="txtNameofAuthoPerson" runat="server" CssClass="form-control clearOnIndividual required"></asp:TextBox>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-4 col-sm-4">
|
|
<div class="form-group">
|
|
<label>Position:<span class="errormsg">*</span></label>
|
|
<asp:DropDownList runat="server" ID="ddlPosition" name="ddlnatureOfCompany" CssClass="form-control clearOnIndividual required">
|
|
</asp:DropDownList>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="hideForOrganisation">
|
|
<div class="col-md-4 col-sm-4">
|
|
<div class="form-group">
|
|
<label>First Name:<span class="errormsg">*</span></label>
|
|
<asp:TextBox ID="firstName" autocomplete="stopdoingthat" runat="server" placeholder="First Name" CssClass="form-control clearOnOrganisation required" />
|
|
</div>
|
|
</div>
|
|
<div class="col-md-4 col-sm-4">
|
|
<div class="form-group">
|
|
<label>Middle Name:</label>
|
|
<asp:TextBox ID="middleName" autocomplete="stopdoingthat" runat="server" placeholder="Middle Name" CssClass="form-control clearOnOrganisation" />
|
|
</div>
|
|
</div>
|
|
<div class="col-md-4 col-sm-4">
|
|
<div class="form-group">
|
|
<label>Last Name:<span class="errormsg">*</span></label>
|
|
<asp:TextBox ID="lastName" autocomplete="stopdoingthat" runat="server" placeholder="Last Name" CssClass="form-control clearOnOrganisation required" />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="col-md-4 col-sm-4">
|
|
<div class="form-group">
|
|
<label>Country:<span class="errormsg">*</span></label>
|
|
<asp:DropDownList runat="server" ID="countryList" name="countryList" CssClass="form-control required">
|
|
</asp:DropDownList>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-4 col-sm-4">
|
|
<div class="form-group">
|
|
<label>Post Code:<span class="errormsg">*</span> </label>
|
|
<asp:TextBox ID="zipCode" runat="server" placeholder="XXXXXXX" MaxLength="7" CssClass="form-control required" onchange="return GetAddressByZipCode();" />
|
|
</div>
|
|
</div>
|
|
<%--<div class="col-md-4 col-sm-4">
|
|
<div class="form-group">
|
|
<label>State:<span class="errormsg">*</span></label>
|
|
<asp:DropDownList runat="server" ID="ddlState" disabled="disabled" CssClass="form-control required">
|
|
</asp:DropDownList>
|
|
</div>
|
|
</div>--%>
|
|
|
|
<%--<div class="col-md-4 col-sm-4" style="display: none;">
|
|
<div class="form-group">
|
|
<label>Street/Street[Japanese]:</label>
|
|
<asp:TextBox ID="txtstreetJapanese" autocomplete="stopdoingthat" runat="server" placeholder="Street[Japanese]" CssClass="form-control" />
|
|
</div>
|
|
</div>--%>
|
|
<div class="col-md-4 col-sm-4">
|
|
<div class="form-group">
|
|
<label>City:<span class="errormsg">*</span></label>
|
|
<asp:TextBox ID="city" runat="server" placeholder="City" CssClass="form-control required" />
|
|
</div>
|
|
</div>
|
|
<%--<div class="col-md-4 col-sm-4">
|
|
<div class="form-group">
|
|
<label>Area:<span class="errormsg">*</span> </label>
|
|
<asp:DropDownList ID="txtStreet" runat="server" placeholder="Street" CssClass="form-control required" />
|
|
</div>
|
|
</div>--%>
|
|
<%--<div class="col-md-4 col-sm-4" style="display: none;">
|
|
<div class="form-group">
|
|
<label>Sender City-Japan:</label>
|
|
<asp:TextBox ID="txtsenderCityjapan" runat="server" placeholder="Sender City Japan" CssClass="form-control" />
|
|
</div>
|
|
</div>--%>
|
|
<div class="col-md-4 col-sm-4">
|
|
<div class="form-group">
|
|
<label>Address 1:<span class="errormsg">*</span> </label>
|
|
<input style="display: none" type="text" name="txtAdditionalAddress1" />
|
|
<asp:TextBox name="address1" ID="address1" runat="server" placeholder="Address 1" CssClass="form-control required" />
|
|
</div>
|
|
</div>
|
|
<div class="col-md-4 col-sm-4">
|
|
<div class="form-group">
|
|
<label>Address 2:</label>
|
|
<input style="display: none" type="text" name="txtAdditionalAddress2" />
|
|
<asp:TextBox name="txtAdditionalAddress" ID="txtAdditionalAddress" runat="server" placeholder="Address 2" CssClass="form-control" />
|
|
</div>
|
|
</div>
|
|
|
|
<div class="col-md-4 col-sm-4 hideForOrganisation">
|
|
<div class="form-group">
|
|
<label>Gender:<span class="errormsg">*</span> </label>
|
|
<asp:DropDownList runat="server" ID="genderList" name="genderList" CssClass="form-control clearOnOrganisation required">
|
|
</asp:DropDownList>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-4 col-sm-4">
|
|
<div class="form-group">
|
|
<label>Native Country:<span class="errormsg">*</span></label>
|
|
<asp:DropDownList runat="server" ID="nativeCountry" CssClass="form-control required"></asp:DropDownList>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-4 col-sm-4 hideForOrganisation">
|
|
<div id="tdSenExpDateTxt" runat="server" nowrap="nowrap" class="showHideIDExpDate">
|
|
</div>
|
|
<div class="form-group">
|
|
<label>Date of Birth:<span class="errormsg">*</span></label>
|
|
<div class="form-inline">
|
|
<div class="input-group input-append date dpYears">
|
|
|
|
<asp:TextBox runat="server" ID="dob" placeholder="YYYY/MM/DD" onchange="return DateValidation('dob','dobnew')" MaxLength="10" AutoComplete="off" CssClass="form-control clearOnOrganisation required"></asp:TextBox>
|
|
<div class="input-group-addon"><i class="fa fa-calendar"></i></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-4 col-sm-4">
|
|
<div class="form-group">
|
|
<label>E-Mail ID:</label>
|
|
<asp:TextBox ID="email" autocomplete="stopdoingthat" runat="server" placeholder="Email" CssClass="form-control" />
|
|
<asp:RegularExpressionValidator ID="rev1" runat="server" Display="Dynamic"
|
|
ErrorMessage="Invalid Email Id!" ForeColor="Red" SetFocusOnError="True" ValidationGroup="send"
|
|
ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" CssClass="inv"
|
|
ControlToValidate="email"></asp:RegularExpressionValidator>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="col-md-4 col-sm-4">
|
|
<div class="form-group">
|
|
<label>Telephone No.:</label>
|
|
<asp:TextBox ID="phoneNumber" autocomplete="stopdoingthat" runat="server" placeholder="Phone Number" MaxLength="15" CssClass="form-control" onchange="CheckForPhoneNumber(this, 'Phone No.');" />
|
|
</div>
|
|
</div>
|
|
<div class="col-md-4 col-sm-4">
|
|
<div class="form-group" style="overflow: initial;">
|
|
<label>Mobile No.:</label><br />
|
|
<asp:TextBox runat="server" autocomplete="stopdoingthat" MaxLength="13" ID="mobile" placeholder="Mobile No" CssClass="form-control" />
|
|
</div>
|
|
</div>
|
|
|
|
<%--<div class="col-md-4 col-sm-4 hideForOrganisation">
|
|
<div class="form-group">
|
|
<label>Visa Status<span class="errormsg">*</span></label>
|
|
<asp:DropDownList runat="server" ID="ddlVisaStatus" name="ddlVisaStatus" CssClass="form-control clearOnOrganisation required">
|
|
</asp:DropDownList>
|
|
</div>
|
|
</div>--%>
|
|
<div class="col-md-4 col-sm-4 hideForOrganisation">
|
|
<div class="form-group">
|
|
<label>Employment Business Type:</label>
|
|
<asp:DropDownList runat="server" ID="ddlEmployeeBusType" name="genderList" CssClass="form-control clearOnOrganisation">
|
|
</asp:DropDownList>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-4 col-sm-4 hideForOrganisation">
|
|
<div class="form-group">
|
|
<label>Name of Employer:</label>
|
|
<asp:TextBox runat="server" autocomplete="stopdoingthat" ID="txtNameofEmployeer" placeholder="Name Of Employer" CssClass="form-control clearOnOrganisation" />
|
|
</div>
|
|
</div>
|
|
<div class="col-md-4 col-sm-4 hideForOrganisation">
|
|
<div class="form-group">
|
|
<label>Occupation:</label>
|
|
<asp:DropDownList runat="server" ID="occupation" CssClass="form-control clearOnOrganisation "></asp:DropDownList>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-4 col-sm-4" id="divOccupation" hidden style="display: none;">
|
|
<div class="form-group">
|
|
<label>Occupation (If Other only):<span class="errormsg">*</span></label>
|
|
<asp:TextBox runat="server" ID="occupationText" CssClass="form-control clearOnOrganisation"></asp:TextBox>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-4 col-sm-4" style="display: none;">
|
|
<div class="form-group">
|
|
<label>Source of Fund:<span class="">*</span></label>
|
|
<asp:DropDownList runat="server" ID="ddSourceOfFound" CssClass=""></asp:DropDownList>
|
|
</div>
|
|
</div>
|
|
<%--<div class="col-md-4 col-sm-4 hideForOrganisation">
|
|
<div class="form-group">
|
|
<label>Monthly Income:</label>
|
|
<asp:TextBox ID="ddlSalary" runat="server" CssClass="form-control clearOnOrganisation"></asp:TextBox>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-4 col-sm-4 hideForOrganisation">
|
|
<div class="form-group">
|
|
<label>Introducer:</label>
|
|
<asp:TextBox ID="txtIntroducer" ReadOnly="true" runat="server" CssClass="form-control clearOnOrganisation"></asp:TextBox>
|
|
</div>
|
|
</div>--%>
|
|
</div>
|
|
</div>
|
|
<div class="panel panel-default clearfix m-b-20">
|
|
<div class="panel-heading">Security Information</div>
|
|
<div class="panel-body">
|
|
<div style="margin-left: 15px">
|
|
<div class="row">
|
|
<div class="col-md-4 col-sm-4">
|
|
<div class="form-group">
|
|
<label>Verification Id Type:<span class="errormsg">*</span></label>
|
|
<asp:DropDownList runat="server" ID="idType" CssClass="form-control required" onchange="ManageDivs();"></asp:DropDownList>
|
|
</div>
|
|
</div>
|
|
<div class="col-sm-4 col-xs-12" runat="server" id="otherVerificationTypeDiv">
|
|
<div class="form-group">
|
|
<label id="otherVerificationType">Other Verification Id Type:<span class="errormsg">*</span></label>
|
|
<div class="input-group input-append date dpYears">
|
|
<asp:TextBox ID="otherVerificationTypeNo" runat="server" placeholder="Other Verification Type Number" MaxLength="14" CssClass="form-control required" />
|
|
<div class="input-group-addon" onclick="ShowIdTypeInfo();"><i class="fa fa-info"></i></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-4 col-sm-4">
|
|
<div class="form-group">
|
|
<label id="verificationType">Verification Type No.:<span class="errormsg">*</span></label>
|
|
<div class="input-group input-append date dpYears">
|
|
<asp:TextBox ID="verificationTypeNo" runat="server" placeholder="Verification Type Number" MaxLength="14" CssClass="form-control required" />
|
|
<div class="input-group-addon" onclick="ShowIdTypeInfo();"><i class="fa fa-info"></i></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-4 col-sm-4">
|
|
<div class="form-group">
|
|
<label>Issue Date:<span class="errormsg">*</span></label>
|
|
<div class="form-inline">
|
|
<div class="input-group input-append date">
|
|
|
|
<asp:TextBox runat="server" ID="IssueDate" onchange="return DateValidation('IssueDate','i')" MaxLength="10" AutoComplete="off" placeholder="YYYY/MM/DD" CssClass="form-control date-field required"></asp:TextBox>
|
|
<div class="input-group-addon "><i class="fa fa-calendar"></i></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-4 col-sm-4" id="expiryDiv" runat="server">
|
|
<div class="form-group">
|
|
<label>Valid Date:<span class="errormsg" id="expireRequired">*</span></label>
|
|
<div class="form-inline">
|
|
<div class="input-group input-append date">
|
|
<input style="display: none" type="text" name="hidden" />
|
|
<input style="opacity: 0; position: absolute;" />
|
|
<input type="password" style="opacity: 0; position: absolute;" />
|
|
<asp:TextBox runat="server" name="ExpireDate" ID="ExpireDate" onchange="return DateValidation('ExpireDate','f')" MaxLength="10" TextMode="Search" AutoCompleteType="Disabled" autocomplete="nope" placeholder="YYYY/MM/DD" CssClass="form-control date-field required"></asp:TextBox>
|
|
<div class="input-group-addon"><i class="fa fa-calendar"></i></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-4 col-sm-4 hideForOrganisation">
|
|
<div class="form-group">
|
|
<label>Remitance Allowed:<span class="errormsg">*</span></label>
|
|
<asp:RadioButtonList ID="rbRemitanceAllowed" runat="server" CssClass="clearOnOrganisation"
|
|
RepeatDirection="Horizontal" RepeatLayout="Table">
|
|
<asp:ListItem Text="Enabled" Value="Enabled" Selected="True" />
|
|
<asp:ListItem Text="Disabled" Value="Disabled" />
|
|
</asp:RadioButtonList>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-4 col-sm-4 hideForOrganisation">
|
|
<div class="form-group">
|
|
<label>Online Login Allowed:<span class="errormsg">*</span></label>
|
|
<asp:RadioButtonList ID="rbOnlineLogin" runat="server" CssClass="clearOnOrganisation"
|
|
RepeatDirection="Horizontal">
|
|
<asp:ListItem Text="Enabled" Value="Enabled" Selected="True" />
|
|
<asp:ListItem Text="Disabled" Value="Disabled" />
|
|
</asp:RadioButtonList>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-4 col-sm-4 hideForOrganisation">
|
|
<div class="form-group">
|
|
<label>Mobile Login Allowed:<span class="errormsg">*</span></label>
|
|
<asp:RadioButtonList ID="rbMobileLogin" runat="server" CssClass="clearOnOrganisation"
|
|
RepeatDirection="Horizontal">
|
|
<asp:ListItem Text="Enabled" Value="Enabled" Selected="True" />
|
|
<asp:ListItem Text="Disabled" Value="Disabled" />
|
|
</asp:RadioButtonList>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-6">
|
|
<div class="form-group">
|
|
<label>Additional Address Verification Document Collected (Mandatory for NON-FACE TO FACE customers):</label>
|
|
<asp:DropDownList ID="ddlDocType" runat="server" CssClass="form-control"></asp:DropDownList>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-sm-12 hideForOrganisation">
|
|
<div class="form-group">
|
|
<label>Remarks:</label>
|
|
<asp:TextBox autocomplete="stopdoingthat" runat="server" ID="txtRemarks" TextMode="MultiLine" placeholder="Remarks" CssClass="form-control clearOnOrganisation" />
|
|
</div>
|
|
</div>
|
|
<div class="col-md-4 col-sm-4" runat="server" id="displayCounterVisit" style="display: none">
|
|
<div class="form-group">
|
|
<label class="checkbox-ui">
|
|
<input type="checkbox" runat="server" class="custom-control-input" id="customerCounterVisit" />
|
|
<small class="custom-control-label">Counter Visit</small>
|
|
</label>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="row" id="rowTblDocument" style="display: none;">
|
|
<div class="panel-heading"><b>Trust Doc Information</b></div>
|
|
<div class="col-xs-12" style="overflow-y: scroll; max-height: 250px;">
|
|
|
|
<div class="panel-body">
|
|
<table class="table table-responsive table-bordered table-condensed tbl-border-black" id="trustDocTableSummary">
|
|
</table>
|
|
<table class="table table-responsive table-bordered table-condensed tbl-border-black" id="trustDocTable">
|
|
<thead style="background-color: #EEEEEE;">
|
|
<tr>
|
|
<th>SN.</th>
|
|
<th>Trustdoc Id</th>
|
|
<th>Verification State</th>
|
|
<th>Verification Result</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="row" id="signatureDiv" runat="server" style="display: none">
|
|
<div class="col-md-6">
|
|
<label class="control-label">Customer Signature:</label>
|
|
<div id="signature-pad" class="signature-pad">
|
|
<div class="signature-pad--body">
|
|
<canvas></canvas>
|
|
</div>
|
|
<div class="signature-pad--footer">
|
|
<div class="description">Sign above</div>
|
|
<div class="signature-pad--actions">
|
|
<div class="form-group">
|
|
<button type="button" class="btn btn-primary clear" data-action="clear">Clear</button>
|
|
|
|
<button type="button" class="btn btn-primary" data-action="undo">Undo</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-6" style="display: none">
|
|
<label class="control-label">Customer Password:</label>
|
|
<div>
|
|
<asp:TextBox autocomplete="stopdoingthat" TextMode="Password" ID="customerPassword" runat="server" CssClass="form-control" MaxLength="20"></asp:TextBox>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="panel panel-default clearfix m-b-20">
|
|
<div class="panel-heading">Document Information</div>
|
|
<div class="panel-body">
|
|
<div class="col-md-6" id="divreg_front_id" >
|
|
<div class="form-group">
|
|
<label id="lblreg_front_id">
|
|
<asp:Localize runat="server" meta:resourcekey="Register_040" Text="ID Front"></asp:Localize></label>
|
|
<%--<button id="editFrontId" ="button" class="btn btn-primary" data-action="undo">Edit ID Front</button>--%>
|
|
<input type="button" id="editFrontId" class="btn btn-info" value="Edit ID Front" />
|
|
<input type="button" id="editFrontIdCrop" class="btn btn-warning" value="Crop" />
|
|
<input type="button" id="undoFrontId" style="display: none;" class="btn btn-primary" value="Undo" />
|
|
<div>
|
|
<label>
|
|
<asp:Localize runat="server" meta:resourcekey="Register_041"></asp:Localize></label>
|
|
<div class="samp-control">
|
|
<img class="doc" onclick="ShowImageDetail(this)" id="font" src="../../../Images/na.gif">
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div id="uploadFrontIdDiv">
|
|
<div class="file-upload" id="frontNew">
|
|
<asp:FileUpload ID="reg_front_id" type="file" runat="server" class="uploadbutton" accept="image/*" meta:resourcekey="reg_front_idResource1" />
|
|
<%--<input type="file" name="reg-front-id" id="reg-front-id" required="required" class="uploadbutton" accept="image/*" />--%>
|
|
<<span>
|
|
<asp:Localize runat="server" meta:resourcekey="Register_042" Text="Drag and drop your file here or "></asp:Localize><span class="primary-c"><asp:Localize runat="server" meta:resourcekey="Register_043" Text="Browse"></asp:Localize></span>
|
|
<asp:Localize runat="server" meta:resourcekey="Register_044" Text=" for a document to upload"></asp:Localize>
|
|
</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="col-md-6" id="divreg_back_id">
|
|
<div class="form-group">
|
|
<label>
|
|
<asp:Localize runat="server" meta:resourcekey="Register_045" Text="ID Back"></asp:Localize></label>
|
|
<input type="button" id="editBackId" class="btn btn-info" value="Edit Id Back" />
|
|
<input type="button" id="editBackIdCrop" class="btn btn-warning" value="Crop" />
|
|
<input type="button" id="undoBackId" style="display: none;" class="btn btn-primary" value="Undo" />
|
|
<div>
|
|
<label>
|
|
<asp:Localize runat="server" meta:resourcekey="Register_041"></asp:Localize></label>
|
|
<div class="samp-control">
|
|
<img class="doc" onclick="ShowImageDetail(this)" id="back" src="../../../Images/na.gif">
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="form-group" id="uploadBackIdDiv">
|
|
<div class="file-upload" id="backNew">
|
|
<asp:FileUpload ID="reg_back_id" type="file" runat="server" class="uploadbutton" accept="image/*" meta:resourcekey="reg_back_idResource1" />
|
|
<%--<input type="file" name="reg-back-id" id="reg-back-id" required="required" class="uploadbutton" accept="image/*" />--%>
|
|
<span>
|
|
<asp:Localize runat="server" meta:resourcekey="Register_042" Text="Drag and drop your file here or "></asp:Localize><span class="primary-c"><asp:Localize runat="server" meta:resourcekey="Register_043" Text="Browse"></asp:Localize></span><asp:Localize runat="server" meta:resourcekey="Register_044" Text=" for a document to upload"></asp:Localize></span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-6" id="divAdditional_id">
|
|
<div class="form-group">
|
|
<label>
|
|
<asp:Localize runat="server" meta:resourcekey="Register_045" Text="Additional ID Front"></asp:Localize></label>
|
|
<input type="button" id="editAdditionalId" class="btn btn-info" value="Edit Additional Id Front" />
|
|
<input type="button" id="editAdditionalIdCrop" class="btn btn-warning" value="Crop" />
|
|
<input type="button" id="undoAdditionalId" style="display: none;" class="btn btn-primary" value="Undo" />
|
|
<div>
|
|
<label>
|
|
<asp:Localize runat="server" meta:resourcekey="Register_041"></asp:Localize></label>
|
|
<div class="samp-control">
|
|
<img class="doc" onclick="ShowImageDetail(this)" id="additionalId" src="../../../Images/na.gif">
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="form-group" id="uploadAdditionalIdDiv">
|
|
<div class="file-upload" id="additional_id">
|
|
<asp:FileUpload ID="reg_additional_id" type="file" runat="server" class="uploadbutton" accept="image/*" meta:resourcekey="reg_back_idResource1" />
|
|
<%--<input type="file" name="reg-back-id" id="reg-back-id" required="required" class="uploadbutton" accept="image/*" />--%>
|
|
<span>
|
|
<asp:Localize runat="server" meta:resourcekey="Register_042" Text="Drag and drop your file here or "></asp:Localize><span class="primary-c"><asp:Localize runat="server" meta:resourcekey="Register_043" Text="Browse"></asp:Localize></span><asp:Localize runat="server" meta:resourcekey="Register_044" Text=" for a document to upload"></asp:Localize></span>
|
|
</div>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
<div class="col-md-6" id="divAdditional_id2">
|
|
<div class="form-group">
|
|
<label>
|
|
<asp:Localize runat="server" meta:resourcekey="Register_045" Text="Additional ID Back"></asp:Localize></label>
|
|
<input type="button" id="editAdditionalId2" class="btn btn-info" value="Edit Additional Id Back" />
|
|
<input type="button" id="editAdditionalId2Crop" class="btn btn-warning" value="Crop" />
|
|
<input type="button" id="undoAdditionalId2" style="display: none;" class="btn btn-primary" value="Undo" />
|
|
<div>
|
|
<label>
|
|
<asp:Localize runat="server" meta:resourcekey="Register_041"></asp:Localize></label>
|
|
<div class="samp-control">
|
|
<img class="doc" alt="./../../Images/na.gif" onclick="ShowImageDetail(this)" id="additionalId2" src="../../../Images/na.gif">
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="form-group" id="uploadAdditionalIdDiv2">
|
|
<div class="file-upload" id="additional_id2">
|
|
<asp:FileUpload ID="reg_additional_id2" type="file" runat="server" class="uploadbutton" accept="image/*" meta:resourcekey="reg_back_idResource1" />
|
|
<%--<input type="file" name="reg-back-id" id="reg-back-id" required="required" class="uploadbutton" accept="image/*" />--%>
|
|
<span>
|
|
<asp:Localize runat="server" meta:resourcekey="Register_042" Text="Drag and drop your file here or "></asp:Localize><span class="primary-c"><asp:Localize runat="server" meta:resourcekey="Register_043" Text="Browse"></asp:Localize></span><asp:Localize runat="server" meta:resourcekey="Register_044" Text=" for a document to upload"></asp:Localize></span>
|
|
</div>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
<div class="col-md-6" style="display: none;" id="AdditionalIDFront2Div">
|
|
<div class="form-group">
|
|
<label>Additional ID Front </label>
|
|
<%-- <input type="button" id="editSelfie" class="btn btn-info" value="Edit Selfie" />--%>
|
|
<input type="button" id="editAdditionalIDFront2" class="btn btn-warning" value="Crop" style="display: none;" />
|
|
<input type="button" id="undoAdditionalIDFront2Div" style="display: none;" class="btn btn-primary" value="Undo" />
|
|
<div>
|
|
|
|
<div class="samp-control">
|
|
<img class="doc" alt="./../../Images/na.gif" onclick="ShowImageDetail(this)" id="imgAdditionalIDFront2Id" src="../../../Images/na.gif">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-6" style="display: none;" id="IDFrontFeatureDiv">
|
|
<div class="form-group">
|
|
<label>Id Front Feature</label>
|
|
<%-- <input type="button" id="editSelfie" class="btn btn-info" value="Edit Selfie" />--%>
|
|
<input type="button" id="editIDFrontFeature" class="btn btn-warning" value="Crop" />
|
|
<input type="button" id="undoIDFrontFeature" style="display: none;" class="btn btn-primary" value="Undo" />
|
|
<div>
|
|
|
|
<div class="samp-control">
|
|
<img class="doc" alt="./../../Images/na.gif" onclick="ShowImageDetail(this)" id="imgIDFrontFeatureId" src="../../../Images/na.gif">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="col-md-6" id="customerSelfieDiv">
|
|
<div class="form-group">
|
|
<label>Customer Selfie</label>
|
|
<input type="button" id="editSelfie" class="btn btn-info" value="Edit Selfie" />
|
|
<input type="button" id="editSelfieCrop" class="btn btn-warning" tyle="display: none;" value="Crop" />
|
|
<input type="button" id="undoeditSelfie" style="display: none;" class="btn btn-primary" value="Undo" />
|
|
<div>
|
|
|
|
<div class="samp-control">
|
|
<img class="doc" alt="./../../Images/na.gif" onclick="ShowImageDetail(this)" id="imgselfieId" src="../../../Images/na.gif">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="form-group" id="uploadcustomerSelfieDiv2">
|
|
<div class="file-upload" id="facePictureId">
|
|
<asp:FileUpload ID="reg_customerSelfie" type="file" runat="server" class="uploadbutton" accept="image/*" meta:resourcekey="reg_back_idResource1" />
|
|
<%--<input type="file" name="reg-back-id" id="reg-back-id" required="required" class="uploadbutton" accept="image/*" />--%>
|
|
<span>
|
|
<asp:Localize runat="server" meta:resourcekey="Register_042" Text="Drag and drop your file here or "></asp:Localize><span class="primary-c"><asp:Localize runat="server" meta:resourcekey="Register_043" Text="Browse"></asp:Localize></span><asp:Localize runat="server" meta:resourcekey="Register_044" Text=" for a document to upload"></asp:Localize></span>
|
|
</div>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
<div class="col-md-6" style="display: none;" id="FacePictureDiv">
|
|
<div class="form-group">
|
|
<label>Customer Face Picture</label>
|
|
<input type="button" id="editFacePicture" style="display: none;" class="btn btn-info" value="Edit Face Picture" />
|
|
<input type="button" id="editFacePictureCrop" class="btn btn-warning" value="Crop" />
|
|
<input type="button" id="undoFacePicture" style="display: none;" class="btn btn-primary" value="Undo" />
|
|
<div>
|
|
|
|
<div class="samp-control">
|
|
<img class="doc" alt="./../../Images/na.gif" onclick="ShowImageDetail(this)" id="FacePictureId" src="../../../Images/na.gif">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
<div class="panel panel-default clearfix m-b-20">
|
|
<asp:Panel ID="pnlOFAC" runat="server" Visible="false" EnableViewState="false">
|
|
<%--<div class="headers">OFAC </div>--%>
|
|
<label>OFAC</label>
|
|
<div id="divOfac" style="clear: both;" class="panels">
|
|
<div id="displayOFAC" runat="server" style="overflow: auto;" enableviewstate="false"></div>
|
|
<br />
|
|
<div id="ofacApproveRemarks" runat="server">
|
|
<b>OFAC Approved Remarks</b><span class="ErrMsg">*</span>
|
|
<br />
|
|
<asp:TextBox runat="server" ID="remarksOFAC" TextMode="MultiLine"
|
|
Height="50px" Width="750px"></asp:TextBox>
|
|
<br />
|
|
<br />
|
|
</div>
|
|
</div>
|
|
</asp:Panel>
|
|
</div>
|
|
<div class="panel panel-default clearfix m-b-20">
|
|
<asp:Panel ID="pnlTrustDoc" runat="server" Visible="false" EnableViewState="false">
|
|
<%--<div class="headers">OFAC </div>--%>
|
|
<label>OFAC</label>
|
|
<div id="divTrustDoc" style="clear: both;" class="panels">
|
|
<div id="displayTrustDoc" runat="server" style="overflow: auto;" enableviewstate="false"></div>
|
|
<br />
|
|
</div>
|
|
</asp:Panel>
|
|
</div>
|
|
<div class="panel panel-default clearfix m-b-20">
|
|
|
|
<div id="divVerifyRemark" class="row" runat="server" visible="false">
|
|
<div class="form-group">
|
|
<label>Pending Remarks:</label>
|
|
<asp:TextBox autocomplete="stopdoingthat" Style="width: 80%;" runat="server" ID="verifyRemarks" TextMode="MultiLine" placeholder="Remarks" CssClass="form-control clearOnOrganisation" />
|
|
</div>
|
|
</div>
|
|
|
|
<div class="row" runat="server">
|
|
<div class="form-group">
|
|
<asp:Button ID="SaveEditedData" runat="server" CssClass="btn btn-primary m-t-25" Text="Save And Approve" OnClientClick="return CheckValidatedCustomer();" OnClick="register_Click" />
|
|
<asp:Button ID="RejectCustomer" runat="server" CssClass="btn btn-primary m-t-25" Text="Reject Customer" OnClientClick="return confirm('Are you sure you want reject?');" OnClick="reject_Click" />
|
|
<input id="btnBack" type="button" class="btn btn-primary" value="Cancel" onclick=" Javascript: history.back(); " />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!--Terms Modal -->
|
|
<div class="modal fade" id="termsAndCondition" tabindex="-1" role="dialog" aria-labelledby="exampleModalLongTitle" aria-hidden="true">
|
|
<div class="modal-dialog modal-lg" role="document">
|
|
<div class="modal-content">
|
|
<div class="modal-header">
|
|
<h3 class="modal-title" id="exampleModalLongTitle">JME 小外国送金サービス 利用規約
|
|
<asp:Localize runat="server" meta:resourcekey="Terms_006" Text="(User Agreement)"></asp:Localize></h3>
|
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
|
<span aria-hidden="true">×</span>
|
|
</button>
|
|
</div>
|
|
<div class="modal-body">
|
|
<div class="tc-pp-bg">
|
|
<ol>
|
|
<li>
|
|
<!------------1-------------->
|
|
<b>Customer Registration</b><br />
|
|
Firstly, the customer shall make an agreement with JME either
|
|
by in person visit, post, e-mail or fax. The applicant is required to submit the
|
|
Application for Remittance as prescribed by JME and place the applicant's signature or
|
|
affixing the applicant's name and seal.<br />
|
|
<br />
|
|
</li>
|
|
<li>
|
|
<!------------2-------------->
|
|
<b>Identity verification documents</b><br />
|
|
<ol type="i">
|
|
<li>For Japanese: Passport, Driver's License, Insurance Card, and Residence Certificate</li>
|
|
<li>For Foreigner: Passport with visa information, Valid Alien Registration Card with Photo</li>
|
|
<li>Provide My Numbers<br />
|
|
<br />
|
|
</li>
|
|
</ol>
|
|
</li>
|
|
<li>
|
|
<!------------3-------------->
|
|
<b>Application for Remittance </b>
|
|
<br />
|
|
State the purpose for remittance and any other required
|
|
information in the Application for Remittance.<br />
|
|
<br />
|
|
How to remit money<br />
|
|
Beneficially is able to receive money either following ways.
|
|
<ol type="i">
|
|
<li>Bank Transfer</li>
|
|
<li>Cash Pick-up</li>
|
|
</ol>
|
|
Foreign remittance limit amount: JPY 1,000,000 (One Million per one transaction)
|
|
<br />
|
|
<br />
|
|
</li>
|
|
|
|
<li>
|
|
<!------------4-------------->
|
|
<b>Bank Transfer</b><br />
|
|
Once JME confirms the money received, the fund shall be transferred
|
|
to the desired bank account. After completing the transactions, the beneficially is
|
|
able to receive money on the same day. However it depends on business hours in both countries.
|
|
<br />
|
|
<br />
|
|
</li>
|
|
<li>
|
|
<!------------5-------------->
|
|
<b>Cash Pick-up</b><br />
|
|
Once JME confirms the money received, JME inform the sender of the
|
|
reference number for each transaction by telephone after completing the transactions,
|
|
beneficially is able to receive money at the desired office. However it depends on
|
|
business hours in both countries. When the beneficially cash pick-up, they shall show
|
|
the reference number over the office counter.
|
|
<br />
|
|
<br />
|
|
</li>
|
|
<li>
|
|
<!------------6-------------->
|
|
<b>Exchange Rate</b><br />
|
|
JME publish the exchange rate between receiving country currency and
|
|
Japanese Yen every business day in JME's office counter and home page. When receiving
|
|
the request for remittance, JME shall apply JME’s applicable foreign exchange rate at
|
|
the time when the actual calculation is made by JME. Exchange rate is updated at 10:00,
|
|
11:00 14:00, and 16:00 every business day. JME give out a receipt to the customer (sender).
|
|
</br>
|
|
<br />
|
|
</li>
|
|
<li>
|
|
<!------------7-------------->
|
|
<b>Remittance charge</b><br />
|
|
please refer to our official web page link<br />
|
|
<a href="http://www.japanremit.com">http://www.japanremit.com</a>
|
|
<br />
|
|
<br />
|
|
</li>
|
|
<li>
|
|
<!------------8-------------->
|
|
<b>How to remit to JME's bank account?</b><br />
|
|
The sender remits the fund in Japanese yen to JME designated account.
|
|
<br />
|
|
<br />
|
|
</li>
|
|
<li>
|
|
<!------------9-------------->
|
|
<b>JME Business Hours</b><br />
|
|
Everyday 9:00 AM - 18:00 PM
|
|
<br />
|
|
<br />
|
|
</li>
|
|
<li>
|
|
<!------------10-------------->
|
|
<b>Contact for Notices and Inquiries</b><br />
|
|
In the case JME fives notices to or makes an inquiry
|
|
with the applicant in respect to this transaction, the address and telephone number stated
|
|
in the Application for Remittance shall be used.
|
|
<br />
|
|
<br />
|
|
</li>
|
|
<li>
|
|
<!------------11-------------->
|
|
<b>Force Majeure</b><br />
|
|
JME shall not be responsible for any losses or damages arising out of any of the following:
|
|
<ol type="A">
|
|
<li>An unavoidable event such as calamities, incidents, wars, accidents during transit, restrictions by
|
|
laws and regulations, and certain actions taken by the governments, courts or other public authorities;
|
|
</li>
|
|
<li>Any failure or malfunction of terminals, communication circuits, computers or other equipment;
|
|
or any mutilation, error or omission in the text resulting from such, which occurred despite
|
|
reasonable security measures taken by JME.
|
|
</li>
|
|
</ol>
|
|
<br />
|
|
<br />
|
|
</li>
|
|
<li>
|
|
<b>Prohibition of Transfer or Pledge</b><br />
|
|
The applicant shall not be allowed to transfer or pledge
|
|
rights under the transactions made herein.
|
|
<br />
|
|
<br />
|
|
</li>
|
|
<li>
|
|
<b>Conflict</b><br />
|
|
The problems caused by the meaning of terms used herein shall be judged by Japanese descriptive sentence.
|
|
If any conflict and controversy or claim aroused relating to any brochure, guide and agreement either in Nepali,
|
|
Japanese or English version, they shall be construed and governed by Japanese version.
|
|
<br />
|
|
<br />
|
|
</li>
|
|
<li>Customer care department shall be in charge of safeguard for our customers.
|
|
If any opinions, inquiry and complains, please inform this department.
|
|
<br />
|
|
<br />
|
|
</li>
|
|
</ol>
|
|
</div>
|
|
</div>
|
|
<div class="modal-footer">
|
|
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
|
|
<button type="button" id="btnIAgree" data-dismiss="modal" class="btn btn-primary">I agree</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div id="tempAddress" hidden></div>
|
|
<asp:HiddenField runat="server" ID="hdnTrustDocId" />
|
|
<asp:HiddenField runat="server" ID="hdnEkycSubmitted" />
|
|
<asp:HiddenField runat="server" ID="hdnValidatedCustomer" />
|
|
<asp:HiddenField runat="server" ID="hdnVerifyDoc1" />
|
|
<asp:HiddenField runat="server" ID="hdnVerifyDoc2" />
|
|
<asp:HiddenField runat="server" ID="hdnVerifyDoc4" />
|
|
<asp:HiddenField runat="server" ID="hdnVerifyDoc3" />
|
|
<asp:HiddenField runat="server" ID="hdnCreatedFrom" />
|
|
<asp:HiddenField runat="server" ID="hdnCreatedFroms" />
|
|
<asp:HiddenField runat="server" ID="hdnCustomerId" />
|
|
<asp:HiddenField runat="server" ID="hdnRegisterDate" />
|
|
<asp:HiddenField runat="server" ID="hddIdNumber" />
|
|
<asp:HiddenField runat="server" ID="hdnMembershipNo" />
|
|
<asp:HiddenField runat="server" ID="hddOldEmailValue" />
|
|
<asp:HiddenField runat="server" ID="hddTxnsMade" />
|
|
<asp:HiddenField ID="isDisplaySignature" runat="server" />
|
|
<asp:HiddenField ID="hddImgURL" runat="server" />
|
|
<asp:HiddenField ID="hdnDocument" runat="server" />
|
|
<asp:HiddenField runat="server" ID="hdnreg_front_idCdId" />
|
|
<asp:HiddenField runat="server" ID="hdnreg_back_id_idCdId" />
|
|
<asp:HiddenField runat="server" ID="hdnreg_additional_idCdId" />
|
|
<asp:HiddenField runat="server" ID="hdnreg_additional_id2CdId" />
|
|
<asp:HiddenField runat="server" ID="hdn_selfie" />
|
|
<asp:HiddenField runat="server" ID="hdn_FacePicture" />
|
|
<asp:HiddenField runat="server" ID="hdn_IDFrontFeature" />
|
|
<asp:HiddenField runat="server" ID="hdn_AdditionalIDFront2" />
|
|
<asp:HiddenField runat="server" ID="hdnFirstName" />
|
|
<asp:HiddenField runat="server" ID="hdnMiddleName" />
|
|
<asp:HiddenField runat="server" ID="hdnLastName" />
|
|
<asp:HiddenField runat="server" ID="hdnUseNFC" />
|
|
<asp:HiddenField runat="server" ID="hdnRegistrationType" />
|
|
</div>
|
|
<%-- <script src="../../js/SendTxnTab/CustomerSignature.js"></script>--%>
|
|
<script type="text/javascript">
|
|
$(document).ready(function () {
|
|
$('#reg_front_id').on('change', function (e) {
|
|
$('.loadImg').remove();
|
|
// console.log(e.target, 'e')
|
|
for (var i = 0; i < e.target.files.length; i++) {
|
|
var tmppath = URL.createObjectURL(e.target.files[i]);
|
|
$(this).after('<span class="loadImg"><img src="' + tmppath + '" alt=""></span>');
|
|
$(".loadImg img").fadeIn("fast");
|
|
}
|
|
});
|
|
})
|
|
// Image upload for back id
|
|
$('#reg_back_id').on('change', function (e) {
|
|
$('.loadImg2').remove();
|
|
// console.log(e.target, 'e')
|
|
|
|
for (var i = 0; i < e.target.files.length; i++) {
|
|
var tmppath = URL.createObjectURL(e.target.files[i]);
|
|
$(this).after('<span class="loadImg2"><img src="' + tmppath + '" alt=""></span>');
|
|
$(".loadImg2 img").fadeIn("fast");
|
|
}
|
|
});
|
|
// Image upload for add back id
|
|
$('#reg_additional_id').on('change', function (e) {
|
|
$('.loadImg3').remove();
|
|
// console.log(e.target, 'e')
|
|
|
|
for (var i = 0; i < e.target.files.length; i++) {
|
|
var tmppath = URL.createObjectURL(e.target.files[i]);
|
|
$(this).after('<span class="loadImg3"><img src="' + tmppath + '" alt=""></span>');
|
|
$(".loadImg3 img").fadeIn("fast");
|
|
}
|
|
});
|
|
// Image upload for add back id2
|
|
$('#reg_additional_id2').on('change', function (e) {
|
|
|
|
/* $(this).closest('span').find('.loadImg1').remove();*/
|
|
$('.loadImg4').remove();
|
|
// console.log(e.target, 'e')
|
|
|
|
for (var i = 0; i < e.target.files.length; i++) {
|
|
var tmppath = URL.createObjectURL(e.target.files[i]);
|
|
$(this).after('<span class="loadImg4"><img src="' + tmppath + '" alt=""></span>');
|
|
$(".loadImg4 img").fadeIn("fast");
|
|
}
|
|
});
|
|
|
|
// Image upload for add back id2
|
|
$('#reg_customerSelfie').on('change', function (e) {
|
|
|
|
/* $(this).closest('span').find('.loadImg1').remove();*/
|
|
$('.loadImg5').remove();
|
|
// console.log(e.target, 'e')
|
|
|
|
for (var i = 0; i < e.target.files.length; i++) {
|
|
var tmppath = URL.createObjectURL(e.target.files[i]);
|
|
$(this).after('<span class="loadImg5"><img src="' + tmppath + '" alt=""></span>');
|
|
$(".loadImg5 img").fadeIn("fast");
|
|
}
|
|
});
|
|
function ShowImageDetail(id) {
|
|
OpenInNewWindow(id.src);
|
|
}
|
|
</script>
|
|
</form>
|
|
</body>
|
|
</html>
|
|
|