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.
 
 
 
 
 

2014 lines
135 KiB

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Manage.aspx.cs" EnableEventValidation="false" Inherits="Swift.web.Remit.Administration.CustomerRegistration.Manage" %>
<%@ 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>Customer Registration</title>
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/12.1.3/css/intlTelInput.css" />
<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="/AgentNew/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="/js/swift_calendar.js" type="text/javascript"></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>
<script src="/AgentNew/js/swift_calender.js"></script>
<script src="/AgentNew/js/signature_pad.umd.js"></script>
<script src="/js/CustomerSignatureForAdmin.js"></script>
<script src="/ui/js/Editable/jquery-editable-select.min.js"></script>
<link href="/ui/js/Editable/jquery-editable-select.min.css" rel="stylesheet" />
<style>
.submitBtn {
margin-top: 15px;
margin-left: 15px;
}
#form1 {
margin-right: 20px !important
}
.errormsg1 {
font-size: 12px;
color: #FA4345;
}
.lowercase {
text-transform: lowercase !important;
}
.doc {
height: 300px;
width: 400px
}
</style>
<script type="text/javascript">
$(document).ready(function () {
$('#btnSearch').click(function () {
clearPopupData();
var zipCode = $('#zipCode').val();
if (zipCode == "" || zipCode == null) {
alert("Post Code cannot be empty");
return;
}
debugger;
$.ajax({
type: 'POST',
contentType: 'application/json; charset=utf-8',
url: 'Manage.aspx/GetAddressByPostCode',
data: JSON.stringify({ zipCode: zipCode }),
dataType: 'json',
success: function (response) {
var data = JSON.parse(response.d);
$('#apiDataPopup').modal({ backdrop: 'static', keyboard: false }, 'show');
$('#apiDataBody tbody').empty();
if (data && data.Data && data.Data.Addresses) {
var addresses = data.Data.Addresses;
addresses.forEach(function (item, index) {
var row = $('<tr>');
row.append($('<td>').text(index + 1));
row.append($('<td>').text(item.Address1));
row.append($('<td>').text(item.Address2));
//var selectButton = $('<button>')
// .addClass('btn btn-primary')
// .text('Select')
// .click(function () {
// var selectedAddress1 = item.Address1;
// var selectedAddress2 = item.Address2;
// $('#txtAdditionalAddress').val(item.Address1);
// $('#city').val(item.Address2);
// $('#apiDataPopup').modal('hide');
// });
var selectButton = $('<button>')
.addClass('btn btn-primary')
.text('Select')
.click(function (e) {
var additionalAddress = item.Address1;
var city = item.Address2;
$('#hdnAdditionalAddress').val(additionalAddress);
$('#cityHidden').val(city);
$('#address1').val(additionalAddress);
$('#city').val(city);
$('#apiDataPopup').modal('hide');
e.preventDefault();
});
row.append($('<td>').append(selectButton));
$('#apiDataBody').append(row);
});
$('#apiDataPopup').modal('show');
} else {
console.error("Invalid response.");
}
},
error: function (error) {
console.error(error);
}
});
});
});
$(document).ready(function () {
$("#<%=verificationTypeNo.ClientID%>").on("change", function () {
var idtype = $("#<%=idType.ClientID%>").val();
if (idtype.split('|')[0] == 11168 && idtype != '') {
var idNumber = $("#<%=verificationTypeNo.ClientID%>").val();
var idNUmberRegex = '^[A-Za-z]{2}[0-9]{8}[A-Za-z]{2}';
var matchedOrNOt = idNumber.match(idNUmberRegex);
if (matchedOrNOt != null && idNumber.length == 12) {
return true;
} else {
$("#<%=verificationTypeNo.ClientID%>").val('');
alert("Please enter proper Id Number format!!!!");
return false;
}
}
});
$('#chkSkip').click(function () {
if ($(this).is(':checked')) {
$("#<%=email.ClientID%>").removeClass("required");
$("#skipRequired").hide();
} else {
$("#<%=email.ClientID%>").addClass("required");
$("#skipRequired").show();
}
});
$("#<%=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();
}
});
//$("#occupation").prop("disabled", true);
$("#<%=ExpireDate.ClientID%>").click(function () {
$("#<%=ExpireDate.ClientID%>").val('');
});
$("#<%=zipCode.ClientID%>").keyup(function () {
var len = $(this).val().length;
if (len == '7') {
GetAddressByPostCode();
}
});
$('#<%=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() %>
});
$('#<%=occupation.ClientID%>').change(function () {
$('#divOccupation').hide();
if ($('#<%=occupation.ClientID%>').val() === '11383') {
$('#divOccupation').show();
}
$('#occupationHidden').val($('#<%=occupation.ClientID%>').val());
$('#occupation').val($('#<%=occupation.ClientID%>').val());
});
$(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('');
}
});
$("#uploadFrontIdDiv").hide();
$("#uploadBackIdDiv").hide();
$("#uploadAdditionalIdDiv").hide();
$("#uploadAdditionalIdDiv2").hide();
$("#editFrontId").click(function () {
$("#uploadFrontIdDiv").show();
});
$("#editBackId").click(function () {
$("#uploadBackIdDiv").show();
});
$("#editAdditionalId").click(function () {
$("#uploadAdditionalIdDiv").show();
});
$("#editAdditionalId2").click(function () {
$("#uploadAdditionalIdDiv2").show();
});
// mobile country code added
$("#<%=mobile.ClientID%>").intlTelInput({
nationalMode: true,
onlyCountries: ["gb"],
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 () {
var input = $("#<%=mobile.ClientID%>");
var countryCode = $('.dial-code').text();
var mobileNo = input.val();
var maxLength = input.attr('maxLength');
//if (mobileNo.length > 10) {
// alert('Mobile No. Can allow input maximum 10 digit only');
// return $(this).val('');
//}
//if (mobileNo.indexOf(countryCode) < 0) {
// mobileNo = countryCode + mobileNo;
//}
if (mobileNo.length > 13) {
alert('Mobile No. Can allow input maximum ' + maxLength + ' digit only');
return $(this).val('');
}
$(this).val(mobileNo);
CheckForMobileNumber(this, 'Mobile No.');
});
$('#<%=countryList.ClientID%>').on('change', function () {
$("#<%=mobile.ClientID%>").val('');
var country = $("#<%=countryList.ClientID%> option:selected").text();
if (country.toLowerCase() == 'united kingdom') {
$("#<%=mobile.ClientID%>").intlTelInput('setCountry', 'gb');
}
});
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();
$('#agreement').click(function () {
if ($(this).is(':checked')) {
$('#<%=register.ClientID%>').removeAttr('disabled');
} else {
$('#<%=register.ClientID%>').attr('disabled', 'disabled');
}
});
$('#btnIAgree').on("click", function () {
$('input[name=agreement]').prop("checked", true);
$('#<%=register.ClientID%>').removeAttr('disabled');
});
CustomerSignatureFromAdmin();
});
function clearPopupData() {
debugger;
$('#apiDataBody').empty();
/*$('#apiDataBody').html('');*/
$('#address1').val('');
$('#city').val('');
}
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) {
var numberPattern = /^[+]?[0-9]{6,16}$/;
test = numberPattern.test(nField.value);
if (!test) {
alert(fieldName + ' Is Not Valid !');
nField.value = '';
return false
}
return true;
}
function CheckForPhoneNumber(nField, fieldName) {
var numberPattern = /^[+]?[0-9]{6,15}$/;
test = numberPattern.test(nField.value);
if (!test) {
alert(fieldName + ' Is Not Valid !');
nField.value = '';
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();
if ($('#<%=occupation.ClientID%>').val() !== '11383') {
$('#divOccupation').hide();
}
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');
$('#<%=register.ClientID%>').removeAttr('disabled');
}
function CallFromListPage(customerId) {
$('#<%=hdnCustomerId.ClientID%>').val(customerId);
LoadcustomerData();
$('#<%=addEditPanel.ClientID%>').removeAttr('style');
$('#<%=register.ClientID%>').removeAttr('disabled');
}
function LoadcustomerData() {
debugger
var eid = $('#<%=hdnCustomerId.ClientID%>').val();
dataToSend = { MethodName: 'GetCustomerDetails', Id: eid };
$.post('/Remit/Administration/CustomerRegistration/Manage.aspx', dataToSend, function (response) {
ParseCustomerData(response);
PopulateImage();
//DisableFields();
ChangeOrganisationType();
}).fail(function () {
alert('Oops!!! something went wrong, please try again.');
});
}
function ParseCustomerData(response) {
debugger;
$(".errormsg1").hide();
$("#referralText_aText").attr("disabled", "disabled");
var dr = jQuery.parseJSON(response);
if (dr != null) {
$('#<%=hdnCustomerId.ClientID%>').val(dr[0].customerId);
$('#<%=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);
$('#<%=nativeCountry.ClientID%>').val(dr[0].nativeCountry);
$('#<%=nativeCountry.ClientID%>').val(dr[0].nativeCountryId);
$('#<%=dob.ClientID%>').val(dr[0].dob);
$('#<%=occupation.ClientID%>').val(dr[0].occupation);
$('#<%=occupationHidden.ClientID%>').val(dr[0].occupation);
if (parseInt(dr[0].occupation) === 11383) {
$('#divOccupation').show();
$('#<%=occupationHidden.ClientID%>').val(dr[0].occupation);
$('#<%=occupationText.ClientID%>').val(dr[0].occupationText);
}
$('#<%=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();
}
$('#<%=hdnRegisterDate.ClientID%>').val(dr[0].createdDate);
$('#<%=verificationTypeNo.ClientID%>').val(dr[0].idNumber);
$('#<%=otherVerificationTypeNo.ClientID%>').val(dr[0].otherIdNumber);
$('#<%=hddVerificationTypeNo.ClientID%>').val(dr[0].idNumber);
$('#<%=hddIdNumber.ClientID%>').val(dr[0].homePhone);
$('#<%=txtMembershipId.ClientID%>').val(dr[0].membershipId);
$('#<%=hdnMembershipNo.ClientID%>').val(dr[0].membershipId);
$('#<%=txtMembershipId.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);
$('#<%=txtSSnNo.ClientID%>').val(dr[0].SSNNO);
<%-- $('#<%=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);--%>
$('#<%=ddSourceOfFound.ClientID%>').val(dr[0].sourceOfFund);
<%-- $('#<%=ddlState.ClientID%>').val(dr[0].state);--%>
$('#<%=ddlStateHidden.ClientID%>').val(dr[0].state);
$('#<%=cityHidden.ClientID%>').val(dr[0].city);
$('#<%=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();
//logic to disable email update if created from mobile
$('#<%=email.ClientID%>').removeAttr('readonly');
if (dr[0].allowEditEmail === 'N') {
$('#<%=email.ClientID%>').attr('readonly', 'readonly');
}
//if edit customer the hide the option to select weather to create mobile user or not
//$("#chkSkipSpan").hide();
$("#<%=email.ClientID%>").addClass("required");
$("#skipRequired").show();
if (dr[0].serviceUsedFor === 'C') {
$("#skipRequired").hide();
$("#<%=email.ClientID%>").removeClass("required");
}
if (dr[0].createdFrom === 'M') {
$("#chkSkipSpan").hide();
$('#lblCreatedFrom').text('Mobile');
}
else if (dr[0].createdFrom === 'O')
$('#lblCreatedFrom').text('Online');
else
$('#lblCreatedFrom').text('Counter');
if (dr[0].registrationType === "EKYC") {
$('input:radio[name="rbKycType"][value="EKYC"]').attr('checked', true);
}
else {
$('input:radio[name="rbKycType"][value="MKYC"]').attr('checked', true);
}
/*GetAddressByRowID(dr[0].district, dr[0].zipCode);*/
$("#referralText_aText").val(dr[0].REFERRAL_NAME);
$("#referralText_aValue").val(dr[0].REFERRAL_CODE);
}
}
function CheckFormValidation() {
debugger
var reqField = "";
if ($('#<%=occupation.ClientID%>').val() !== '11383') {
reqField = reqField.replace(",<%=occupationText.ClientID%>,", ",");
}
var val = $("#<% =hdnCustomerId.ClientID%>").val();
var customerType = $("#<% =ddlCustomerType.ClientID%>").val();
var input = $("#<%=mobile.ClientID%>");
var mobileNo = input.val();
if (mobileNo != null && mobileNo != "") {
var countryCode = $('.dial-code').text();
var maxLength = input.attr('maxLength');
if (mobileNo.length > 13) {
alert('Mobile No. Can allow input maximum ' + maxLength + ' digit only');
return $(this).val('');
}
$("#<%=mobile.ClientID%>").val(mobileNo);
}
$(".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%>,", ",");
}
if ($('#<%=occupation.ClientID%>').val() !== '11383') {
reqField = reqField.replace(",<%=occupationText.ClientID%>,", ",");
}
var customerId = $('#<%=hdnCustomerId.ClientID%>').val();
var previousVerificationId = $("#<%=hddVerificationTypeNo.ClientID%>").val().toLowerCase();
var currentVerificationId = $("#<%=verificationTypeNo.ClientID%>").val().toLowerCase();
<%--if (customerId != '') {
reqField = reqField.replace(",<%=reg_form.ClientID%>,", "")
if (previousVerificationId == currentVerificationId) {
$(".errormsg1").show();
reqField = reqField.replace(",<%=reg_front_id.ClientID%>,", "")
reqField = reqField.replace(",<%=reg_back_id.ClientID%>,", "")
}
}--%>
ChangeOrganisationType();
if (ValidRequiredFieldWithDocNewForAdmin(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 CheckSignatureCustomerFromAdmin();
}
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 ShowIdTypeInfo() {
var idInfo = $('#<%=idType.ClientID%>').val();
if (idInfo == '' || idInfo == null) {
alert('Please select id type first!')
}
else {
alert(idInfo.split("|")[1]);
}
}
function linkClicked() {
parent.AgreementModalPopup();
}
function CheckRequiredOrNot() {
var previousVerificationId = $("#<%=hddVerificationTypeNo.ClientID%>").val().toLowerCase();
var currentVerificationId = $("#<%=verificationTypeNo.ClientID%>").val().toLowerCase();
if (previousVerificationId != currentVerificationId) {
$(".errormsg1").show();
} else {
$(".errormsg1").hide();
}
}
//function pageLoad() {
// alert('');
// $('#btnSearch').click(function () {
// alert('');
// var zipCode = $('#zipCode').val();
// if (zipCode == "" || zipCode == null) {
// alert("Post Code cannot be empty");
// return;
// }
// debugger;
// $.ajax({
// type: 'POST',
// contentType: 'application/json; charset=utf-8',
// url: 'Manage.aspx/GetAddressByPostCode',
// data: JSON.stringify({ zipCode: zipCode }),
// //data: "{'zipCode':'" + zipCode + "'}",
// dataType: 'json',
// success: function (response) {
// //var dt = JSON.parse(data.d);
// $('#apiDataPopup').modal('show');
// $('#apiDataBody tbody').empty();
// if (data.d) {
// $('#apiDataPopup').modal('show');
// var addresses = response.d.Data.Addresses;
// addresses.forEach(function (item, index) {
// var row = $('<tr>');
// row.append($('<td>').text(index + 1));
// row.append($('<td>').text(item.Address2));
// row.append($('<td>').text(item.Address1));
// row.append($('<td>').text(item.City));
// var selectButton = $('<button>')
// .addClass('btn btn-primary')
// .text('Select')
// .click(function () {
// $('#city').val(item.Address1);
// $('#txtAdditionalAddress').val(item.Address2);
// $('#apiDataPopup').modal('hide');
// });
// row.append($('<td>').append(selectButton));
// $('#apiDataBody').append(row);
// });
// $('#apiDataPopup').modal('show');
// } else {
// console.error("Invalid response.");
// }
// },
// error: function (error) {
// console.error(error);
// }
// });
// });
//}
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 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 + ' ")');
}
}
<%--var facePicture = filtered.filter(item => item.DocumentName === "Face Picture")[0];
if (facePicture) {
$("#FacePictureDiv").show();
$("#FacePictureId").attr("src", facePicture.ImageUrl);
editFacePicture.setAttribute('onclick', 'documentCrop( " ' + facePicture.FileName + ' ", " ' + facePicture.CdId + ' " , " ' + facePicture.FileType + ' " , this.id )');
$('#<%=hdn_FacePicture.ClientID%>').val(facePicture.FileName + '|' + facePicture.CdId);
if (undoId == "editFacePicture" && 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.');
});
}
$(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
$('#add_id_front').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
$('#add_back_front').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");
}
});
function ShowImageDetail(id) {
OpenInNewWindow(id.src);
}
</script>
<style>
.intl-tel-input {
width: 100% !important;
}
input, textarea {
text-transform: uppercase;
}
table#ContentPlaceHolder1_rbRemitanceAllowed tbody tr td {
padding-left: 10px;
}
table#ContentPlaceHolder1_rbOnlineLogin tbody tr td {
padding-left: 10px;
}
table#ContentPlaceHolder1_rbMobileLogin tbody tr td {
padding-left: 10px;
}
.signature-pad--body {
min-height: 180px;
}
</style>
</head>
<body>
<form id="form1" runat="server">
<asp:HiddenField ID="hf_editable_townArea" runat="server" />
<asp:HiddenField ID="occupationHidden" 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')">Administration</a></li>
<li><a href="#" onclick="return LoadModule('account')">Customer Registration</a></li>
<li class="active"><a href="Manage.aspx?customerId=<%=hdnCustomerId.Value %>">Manage</a></li>
</ol>
</div>
</div>
</div>
<div class="hidden">
<asp:Button ID="clickBtnForGetCustomerDetails" runat="server" Text="click" OnClick="clickBtnForGetCustomerDetails_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="Manage.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 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-4">
<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="referral" runat="server">
<div class="form-group">
<label>Referral (If Any):</label>
<uc1:SwiftTextBox ID="referralText" runat="server" Category="remit-referralCode" CssClass="form-control required" Title="Blank for All" />
</div>
</div>
<div class="col-sm-3" id="linkDiv" runat="server">
<div class="form-group">
<label>&nbsp</label>
<a class="form-control btn btn-primary" runat="server" id="printLink">&nbsp</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="Div3" runat="server">
<div class="form-group">
<label>Registered From:</label><br />
<label id="lblCreatedFrom" class="form-control" readonly="readonly"></label>
</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" 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" 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" 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>
<div class="input-group">
<asp:TextBox ID="zipCode" runat="server" placeholder="XXXXXXX" MaxLength="8" CssClass="form-control required" />
<span class="input-group-btn">
<button id="btnSearch" class="btn btn-primary m-t-25" type="button">Search</button>
</span>
</div>
</div>
</div>
<%--<div class="col-md-4 col-sm-4">
<div class="form-group">
<label>Prefecture:<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" 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" style="display: none;">
<div class="form-group">
<label>Town 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>
<asp:TextBox 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>
<asp:TextBox 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:<span class="errormsg" id="skipRequired">*</span>&nbsp;&nbsp;&nbsp;&nbsp;<span id="chkSkipSpan">(<label for="chkSkip">Skip Mobile Registration:</label>&nbsp;<input id="chkSkip" name="chkSkip" type="checkbox" />)</span> </label>
<asp:TextBox ID="email" runat="server" placeholder="Email" CssClass="form-control lowercase" />
<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" hidden>
<div class="form-group">
<label>Address:</label>
<asp:TextBox ID="addressLine1" runat="server" placeholder="Address" CssClass="form-control" />
</div>
</div>
<div class="col-md-4 col-sm-4">
<div class="form-group">
<label>Telephone No.:</label>
<asp:TextBox ID="phoneNumber" 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" ID="mobile" placeholder="8012344567" 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" ID="txtNameofEmployeer" placeholder="Name Of Employer" CssClass="form-control clearOnOrganisation" />
</div>
</div>
<div class="col-md-4 col-sm-4" style="display: none">
<div class="form-group">
<label>SSN No:</label>
<asp:TextBox runat="server" ID="txtSSnNo" placeholder="SSN No" 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 hideForOrganisation" id="divOccupation" 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 required"></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="errormsg">*</span></label>
<asp:DropDownList runat="server" ID="ddSourceOfFound" CssClass="form-control"></asp:DropDownList>
</div>
</div>
<%--<div class="col-md-4 col-sm-4 hideForOrganisation">
<div class="form-group">
<label>Monthly Income:</label>
<asp:TextBox runat="server" ID="ddlSalary" CssClass="form-control clearOnOrganisation"></asp:TextBox>
</div>
</div>--%>
</div>
<div id="apiDataPopup" class="modal fade" role="dialog">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title">Address List</h4>
</div>
<div class="modal-body">
<table class="table table-bordered">
<thead>
<tr>
<th>SN</th>
<th>Address1</th>
<th>Address2</th>
<th>Action</th>
</tr>
</thead>
<tbody id="apiDataBody">
</tbody>
</table>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-primary" data-bs-dismiss="modal">Close</button>
</div>
</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-md-4 col-sm-4" id="otherVerificationTypeDiv" style="display: none">
<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 Id Type" MaxLength="14" CssClass="form-control" />
<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" id="verificationTypeDiv">
<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" onchange="CheckRequiredOrNot()" 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 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">
<asp:TextBox runat="server" ID="ExpireDate" onchange="return DateValidation('ExpireDate','f')" 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-3 col-sm-3 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-3 col-sm-3 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-3 col-sm-3 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 class="col-md-3 col-sm-3 hideForOrganisation">
<div class="form-group">
<label>KYC Type:<span class="errormsg">*</span></label>
<asp:RadioButtonList ID="rbKycType" runat="server" CssClass="clearOnOrganisation"
RepeatDirection="Horizontal">
<asp:ListItem Text="EKYC(Trust Doc)" Value="EKYC" style="margin-right: 10px;" />
<asp:ListItem Text="MKYC(Manual KYC)" Value="MKYC" Selected="True" />
</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 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="divUploadImage" runat="server">
<div class="col-md-6">
<div class="form-group">
<label id="lblreg_front_id">
<asp:Localize runat="server" meta:resourcekey="Register_040" Text="ID Front"></asp:Localize><span class="errormsg1">*</span></label>
<div class="img-sample">
<label>
<asp:Localize runat="server" meta:resourcekey="Register_041" Text="Sample Image"></asp:Localize></label>
<div class="samp-control">
<img src="/AgentNew/Img/alien-reg-front.jpg" alt="sample image" id="idImg1" />
<div class="enlarge">
<img src="/AgentNew/Img/alien-reg-front.jpg" alt="sample image" id="idImg2" />
</div>
</div>
</div>
<div class="file-upload" id="front">
<asp:FileUpload ID="reg_front_id" type="file" runat="server" class="uploadbutton required" accept="image/capture" capture="camera" />
<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><span class="errormsg1">*</span></label>
<div class="img-sample">
<label>
<asp:Localize runat="server" meta:resourcekey="Register_041" Text="Sample Image"></asp:Localize></label>
<div class="samp-control">
<img src="/AgentNew/Img/Alien-reg-back.jpg" alt="sample image" />
<div class="enlarge">
<img src="/AgentNew/Img/Alien-reg-back.jpg" alt="sample image" />
</div>
</div>
</div>
<div class="file-upload" id="back">
<asp:FileUpload ID="reg_back_id" type="file" runat="server" class="uploadbutton required" accept="image/capture" capture="camera" />
<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">
<div class="form-group">
<label id="lblreg_add_front_id">
Additional ID Front</label>
<div class="file-upload" id="add_front">
<asp:FileUpload ID="add_id_front" type="file" runat="server" class="uploadbutton" accept="image/capture" capture="camera" />
<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_add_back_id">
<div class="form-group">
<label>
Additional ID Back</label>
<div class="file-upload" id="add_back">
<asp:FileUpload ID="add_id_back" type="file" runat="server" class="uploadbutton" accept="image/capture" capture="camera" />
<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_other_id">
<div class="form-group">
<label>
Other Document (If any)</label>
<div class="file-upload" id="other_doc">
<asp:FileUpload ID="other_document" type="file" runat="server" class="uploadbutton" accept="image/capture" capture="camera" />
<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_reg_form">
<div class="form-group">
<label>
Registration Form <span class="errormsg1">*</span></label>
<div class="file-upload" id="reg_Form">
<asp:FileUpload ID="reg_form" type="file" runat="server" class="uploadbutton required" accept="image/capture" capture="camera" />
<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>--%>
<div class="row" id="divUploadImage" runat="server">
<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">
<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="add_id_front" 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="add_id_back" 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" style="display: none;" 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" 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>
<div class="col-md-6" style="display: none;" id="FacePictureDiv">
<div class="form-group">
<label>Customer Face Picture</label>
<input type="button" id="editFacePicture" 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>
<div class="row" id="agreementDiv" runat="server">
<div class="col-sm-8 form-group" style="left: 0px; top: 15px">
<label class="checkbox-ui">
<input type="checkbox" id="agreement" name="agreement" required="required" />
<small>
<asp:Localize runat="server" meta:resourcekey="Register_048" Text="By submitting of this form, I hereby understand and aggree the Terms & Condition with Japan Money Express Co. Ltd."></asp:Localize><br />
</small>
</label>
<a data-toggle="modal" data-target="#termsAndCondition">
<small><span class="primary-c">
<asp:Localize runat="server" meta:resourcekey="Register_049" Text="User Agreement"></asp:Localize>
</span></small>
</a>
</div>
</div>
<div class="row" id="signatureDiv" runat="server">
<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>
&nbsp;&nbsp;&nbsp;
<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 TextMode="Password" ID="customerPassword" runat="server" CssClass="form-control" MaxLength="20"></asp:TextBox>
</div>
</div>
</div>
<div class="row">
<asp:Button ID="register" runat="server" CssClass="btn btn-primary m-t-25 submitBtn" disabled="disabled" Text="Submit" OnClientClick="return CheckFormValidation()" OnClick="register_Click" />
</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">&times;</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="hdnVerifyDoc1" />
<asp:HiddenField runat="server" ID="hdnVerifyDoc2" />
<asp:HiddenField runat="server" ID="hdnVerifyDoc4" />
<asp:HiddenField runat="server" ID="hdnVerifyDoc3" />
<asp:HiddenField runat="server" ID="hdnCustomerId" />
<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="cityHidden" runat="server" />
<asp:HiddenField ID="ddlStateHidden" runat="server" />
<asp:HiddenField runat="server" ID="hddVerificationTypeNo" />
<asp:HiddenField ID="hdnAdditionalAddress" 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_AdditionalIDFront2" />
<asp:HiddenField runat="server" ID="hdnRegisterDate" />
</div>
</form>
</body>
</html>