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.
1307 lines
83 KiB
1307 lines
83 KiB
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="EditCustomerForActivation.aspx.cs" Inherits="Swift.web.MobileRemit.Admin.Operation.EditCustomerForActivation" EnableEventValidation="false" %>
|
|
|
|
<!DOCTYPE html>
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head runat="server">
|
|
<title></title>
|
|
<base id="Base1" target="_self" runat="server" />
|
|
<link href="/ui/bootstrap/css/bootstrap.min.css" rel="stylesheet" />
|
|
<link href="/ui/bootstrap/css/bootstrap.min.css" rel="stylesheet" />
|
|
<link href="/ui/bootstrap/css/bootstrap.min.css" rel="stylesheet" />
|
|
<link href="/ui/css/style.css" rel="stylesheet" />
|
|
<link href="/ui/font-awesome/css/font-awesome.min.css" rel="stylesheet" />
|
|
<link href="/js/jQuery/jquery-ui.css" rel="stylesheet" />
|
|
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/12.1.3/css/intlTelInput.css" />
|
|
<script src="/ui/js/jquery.min.js"></script>
|
|
<script src="/ui/js/jquery-ui.min.js" type="text/javascript"></script>
|
|
<script src="/ui/js/jquery.validate.js" type="text/javascript"></script>
|
|
<script src="/ui/bootstrap/js/bootstrap.min.js"></script>
|
|
<script src="/js/swift_grid.js" type="text/javascript"> </script>
|
|
<script src="/js/functions.js"></script>
|
|
<script src="/js/swift_autocomplete.js"></script>
|
|
<script src="/AgentNew/js/swift_calender.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 type="text/javascript" language="javascript">
|
|
|
|
$(document).ready(function () {
|
|
|
|
$("#txtMembershipId").focus();
|
|
|
|
$("#occupation").change(function () {
|
|
$("#divOccupation").hide();
|
|
if ($("#occupation").val() === "11383") {
|
|
$("#divOccupation").show();
|
|
// $("#CVotherOccupation").show();
|
|
}
|
|
});
|
|
|
|
var customerId = "<%=GetCustomerId()%>";
|
|
var eid = 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();
|
|
}
|
|
});
|
|
|
|
|
|
// 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 () {
|
|
var input = $("#<%=mobile.ClientID%>");
|
|
var countryCode = $('.dial-code').text();
|
|
var mobileNo = input.val();
|
|
var maxLength = input.attr('maxLength');
|
|
if (mobileNo.indexOf(countryCode) < 0) {
|
|
mobileNo = countryCode + mobileNo;
|
|
}
|
|
if (mobileNo.length > maxLength) {
|
|
alert('Mobile No. Can allow input maxmum ' + 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() == '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');
|
|
IdTypeValidity();
|
|
});
|
|
function showDocument(cdId, fileType) {
|
|
var url = "/AgentNew/Administration/CustomerSetup/DocumentView.aspx?cdId=" + cdId + "&fileType=" + fileType;
|
|
var param = "width=825,height=500,resizable=1,status=1,toolbar=0,scrollbars=1,center=1";
|
|
PopUpWindow(url, param);
|
|
};
|
|
|
|
$(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: 'EditCustomerForActivation.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);
|
|
}
|
|
});
|
|
});
|
|
});
|
|
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 LoadcustomerData() {
|
|
var eid = $('#<%=hdnCustomerId.ClientID%>').val();
|
|
dataToSend = { MethodName: 'GetCustomerDetails', Id: eid };
|
|
$.post('', dataToSend, function (response) {
|
|
ParseCustomerData(response);
|
|
}).fail(function () {
|
|
alert('Oops!!! something went wrong, please try again.');
|
|
});
|
|
}
|
|
|
|
function ParseCustomerData(response) {
|
|
var dr = jQuery.parseJSON(response);
|
|
if (dr != null) {
|
|
|
|
$('#<%=hdnCustomerId.ClientID%>').val(dr[0].customerId);
|
|
$('#<%=hdnRegisterDate.ClientID%>').val(dr[0].createdDate);
|
|
$('#<%=hdnCreatedFrom.ClientID%>').val(dr[0].createdFrom);
|
|
|
|
$('#<%=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);
|
|
$('#<%=address1.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();
|
|
}
|
|
|
|
|
|
$('#<%=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);
|
|
$('#<%=txtRegistrationNo.ClientID%>').val(dr[0].registerationNo);
|
|
$('#<%=txtDateOfIncorporation.ClientID%>').val(dr[0].dateofIncorporation);
|
|
$('#<%=txtNameofAuthoPerson.ClientID%>').val(dr[0].nameOfAuthorizedPerson);
|
|
<%-- $('#<%=txtStreet.ClientID%>').val(dr[0].street);--%>
|
|
$('#<%=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);
|
|
<%-- $('#<%=hfCustomerType.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);
|
|
|
|
$('#<%=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);
|
|
if (parseInt(dr[0].occupation) === 11383) {
|
|
$('#divOccupation').show();
|
|
$('#occupationHidden').val(dr[0].occupation);
|
|
$('#occupationText').val(dr[0].occupationText);
|
|
}
|
|
}
|
|
}
|
|
|
|
function ValidateForm() {
|
|
var reqField = "occupationtxt";
|
|
if (ValidRequiredField(reqField) == false) {
|
|
return false;
|
|
}
|
|
return true;
|
|
}
|
|
|
|
function CheckFormValidation() {
|
|
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 countryCode = $('.dial-code').text();
|
|
var maxLength = input.attr('maxLength');
|
|
if (mobileNo.indexOf(countryCode) < 0) {
|
|
mobileNo = countryCode + mobileNo;
|
|
}
|
|
if (mobileNo.length > maxLength) {
|
|
alert('Mobile No. Can allow input maxmum ' + 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").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;
|
|
}
|
|
}
|
|
}
|
|
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() {
|
|
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%>").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);
|
|
$("#<%=txtstreetJapanese.ClientID%>").val(dr[0].STREET_NAME);
|
|
$("#<%=city.ClientID%>").val(dr[0].CITY_NAME);
|
|
PopulateAreaDDL(dr);
|
|
}
|
|
else {
|
|
<%--$("#<%=ddlState.ClientID%>").val('');--%>
|
|
<%-- $("#<%=txtStreet.ClientID%>").val('');--%>
|
|
$("#<%=city.ClientID%>").val('');
|
|
$("#<%=txtstreetJapanese.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) {
|
|
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('');
|
|
$("#<%=txtstreetJapanese.ClientID%>").val('');
|
|
$("#<%=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);
|
|
$("#<%=txtstreetJapanese.ClientID%>").val(dr[0].STREET_NAME);
|
|
<%--$("#<%=txtStreet.ClientID%>").val(dr[0].STREET_NAME);--%>
|
|
$("#<%=city.ClientID%>").val(dr[0].CITY_NAME);
|
|
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) {
|
|
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;
|
|
|
|
if (selValue.toString() === option.value) {
|
|
option.selected = true;
|
|
}
|
|
|
|
try {
|
|
ddl.options.add(option);
|
|
}
|
|
catch (e) {
|
|
alert(e);
|
|
}
|
|
}
|
|
}
|
|
</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>
|
|
|
|
</head>
|
|
<body>
|
|
<form id="form1" runat="server">
|
|
<asp:ScriptManager runat="server" ID="sm1"></asp:ScriptManager>
|
|
<div class="page-wrapper">
|
|
<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="#">Mobile Menu</a></li>
|
|
<li><a href="#">Mobile Operations</a></li>
|
|
<li class="active"><a href="ActivateMobile.aspx">Activate Mobile</a></li>
|
|
</ol>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="listtabs">
|
|
<ul class="nav nav-tabs" role="tablist">
|
|
<li role="presentation" class="active"><a href="#">Activate Mobile</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="tab-content">
|
|
<div role="tabpanel" class="tab-pane" id="List">
|
|
</div>
|
|
<div class="panel panel-default clearfix m-b-20">
|
|
<div class="panel-heading">Customer Information</div>
|
|
<div class="panel-body">
|
|
<asp:ValidationSummary ID="ValidationSummary1" runat="server" ForeColor="Red" ValidationGroup="ActivateVG" ShowSummary="true" />
|
|
<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 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="Div3" runat="server" style="display: none">
|
|
<div class="form-group">
|
|
<label> </label>
|
|
<a class="form-control btn btn-primary" runat="server" id="A1"> </a>
|
|
</div>
|
|
</div>
|
|
|
|
<%-- <div class="col-sm-3 " id="Div4" runat="server" hidden>
|
|
<div class="form-group">
|
|
<label>Membership No:</label>
|
|
<asp:TextBox ID="TextBox1" runat="server" CssClass="form-control" />
|
|
</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-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="ActivateVG"
|
|
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="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="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" />
|
|
<asp:RequiredFieldValidator ID="ReqfirstName" ControlToValidate="firstName" ValidationGroup="ActivateVG" ErrorMessage="First Name is Required!" runat="server" SetFocusOnError="true" CssClass="ErrMsg"></asp:RequiredFieldValidator>
|
|
</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" />
|
|
<asp:RequiredFieldValidator ID="reqlastName" ControlToValidate="lastName" ValidationGroup="ActivateVG" ErrorMessage="Last Name is Required!" runat="server" SetFocusOnError="true" CssClass="ErrMsg"></asp:RequiredFieldValidator>
|
|
</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" 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" />
|
|
</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" style="display: none;">
|
|
<div class="form-group">
|
|
<label>Additional Address:<span class="errormsg">*</span> </label>
|
|
<asp:TextBox autocomplete="stopdoingthat" ID="txtAdditionalAddress" runat="server" placeholder="Additional address" CssClass="form-control required" />
|
|
<asp:RequiredFieldValidator ID="ReqtxtAdditionalAddress" ControlToValidate="txtAdditionalAddress" ValidationGroup="ActivateVG" ErrorMessage="Additional Address is Required!" runat="server" SetFocusOnError="true" CssClass="ErrMsg"></asp:RequiredFieldValidator>
|
|
</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>
|
|
<asp:RequiredFieldValidator ID="reqgenderList" ControlToValidate="genderList" ValidationGroup="ActivateVG" ErrorMessage="Gender is Required!" runat="server" SetFocusOnError="true" CssClass="ErrMsg"></asp:RequiredFieldValidator>
|
|
</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>
|
|
<asp:RequiredFieldValidator ID="reqnativeCountry" ControlToValidate="nativeCountry" ValidationGroup="ActivateVG" ErrorMessage="Native Country is Required!" runat="server" SetFocusOnError="true" CssClass="ErrMsg"></asp:RequiredFieldValidator>
|
|
</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>
|
|
<asp:RequiredFieldValidator ID="reqdob" ControlToValidate="dob" ValidationGroup="ActivateVG" ErrorMessage="Date of Birth is Required!" runat="server" SetFocusOnError="true" CssClass="ErrMsg"></asp:RequiredFieldValidator>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-4 col-sm-4">
|
|
<div class="form-group">
|
|
<label>E-Mail ID: <span class="errormsg">*</span></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="ActivateVG"
|
|
ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" CssClass="inv"
|
|
ControlToValidate="email"></asp:RegularExpressionValidator>
|
|
<asp:RequiredFieldValidator ID="reqEmail" ControlToValidate="email" ValidationGroup="ActivateVG" ErrorMessage="Email is required" runat="server" SetFocusOnError="true"></asp:RequiredFieldValidator>
|
|
</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" 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="16" 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>
|
|
<asp:RequiredFieldValidator ID="reqddlVisaStatus" ControlToValidate="ddlVisaStatus" ValidationGroup="ActivateVG" ErrorMessage="Visa Status is Required!" runat="server" SetFocusOnError="true" CssClass="ErrMsg"></asp:RequiredFieldValidator>
|
|
</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:<span class="errormsg">*</span></label>
|
|
<asp:DropDownList runat="server" ID="occupation" CssClass="form-control clearOnOrganisation required" OnSelectedIndexChanged="occupation_SelectedIndexChanged" ValidationGroup="ActivateVG"></asp:DropDownList>
|
|
<asp:RequiredFieldValidator ID="reqoccupation" ControlToValidate="occupation" ValidationGroup="ActivateVG" ErrorMessage="Occupation is Required!" runat="server" SetFocusOnError="true" CssClass="ErrMsg"></asp:RequiredFieldValidator>
|
|
</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>
|
|
</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>
|
|
<asp:RequiredFieldValidator ID="reqidType" ControlToValidate="idType" ValidationGroup="ActivateVG" ErrorMessage="Verification Id Type is Required!" runat="server" SetFocusOnError="true" CssClass="ErrMsg" Display="Dynamic"></asp:RequiredFieldValidator>
|
|
</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>
|
|
<asp:CustomValidator ID="CVotherVerification" runat="server" OnServerValidate="CVotherVerification_ServerValidate"></asp:CustomValidator>
|
|
</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>
|
|
<asp:RequiredFieldValidator ID="reqverificationTypeNo" ControlToValidate="verificationTypeNo" ValidationGroup="ActivateVG" ErrorMessage="Verification Type Number is Required!" runat="server" SetFocusOnError="true" CssClass="ErrMsg"></asp:RequiredFieldValidator>
|
|
</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>
|
|
<asp:RequiredFieldValidator ID="reqIssueDate" ControlToValidate="IssueDate" ValidationGroup="ActivateVG" ErrorMessage="Required!" runat="server" SetFocusOnError="true" CssClass="ErrMsg"></asp:RequiredFieldValidator>
|
|
</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">
|
|
<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>
|
|
<asp:RequiredFieldValidator ID="reqExpireDate" ControlToValidate="ExpireDate" ValidationGroup="ActivateVG" ErrorMessage="Required!" runat="server" SetFocusOnError="true" CssClass="ErrMsg"></asp:RequiredFieldValidator>
|
|
</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>
|
|
<asp:RequiredFieldValidator ID="reqrbRemitanceAllowed" ControlToValidate="rbRemitanceAllowed" ValidationGroup="ActivateVG" ErrorMessage="Required!" runat="server" SetFocusOnError="true" CssClass="ErrMsg"></asp:RequiredFieldValidator>
|
|
</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>
|
|
<asp:RequiredFieldValidator ID="reqrbOnlineLogin" ControlToValidate="rbOnlineLogin" ValidationGroup="ActivateVG" ErrorMessage="Required!" runat="server" SetFocusOnError="true" CssClass="ErrMsg"></asp:RequiredFieldValidator>
|
|
|
|
</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>
|
|
<asp:RequiredFieldValidator ID="reqrbMobileLogin" ControlToValidate="rbOnlineLogin" ValidationGroup="ActivateVG" ErrorMessage="Required!" runat="server" SetFocusOnError="true" CssClass="ErrMsg"></asp:RequiredFieldValidator>
|
|
|
|
</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="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 panel-default">
|
|
<div class="panel-heading">
|
|
Document Information
|
|
<%-- <div class="panel-actions">
|
|
<a href="#" onclick="showDocument()">
|
|
<i class="fa fa-edit"></i>
|
|
</a>
|
|
</div>--%>
|
|
</div>
|
|
<div class="panel-body tb-scroll">
|
|
<table class="table table-bordered">
|
|
<thead>
|
|
<tr>
|
|
<th>SN.</th>
|
|
<th style="white-space: nowrap">Doc Type</th>
|
|
<th>File Type</th>
|
|
<th>File Name</th>
|
|
<th style="white-space: nowrap">Uploaded Date</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody id="docdetails" runat="server">
|
|
</tbody>
|
|
</table>
|
|
</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="Activate" OnClick="register_Click" CausesValidation="true" ValidationGroup="ActivateVG" />
|
|
<input id="btnBack" type="button" class="btn btn-primary" value="Cancel" onclick="Javascript: history.back();" />
|
|
</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="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 ID="cityHidden" runat="server" />
|
|
<asp:HiddenField ID="ddlStateHidden" runat="server" />
|
|
<asp:HiddenField ID="hfCustomerType" runat="server" />
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</body>
|
|
</html>
|