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

  1. <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="EditCustomerForActivation.aspx.cs" Inherits="Swift.web.MobileRemit.Admin.Operation.EditCustomerForActivation" EnableEventValidation="false" %>
  2. <!DOCTYPE html>
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <head runat="server">
  5. <title></title>
  6. <base id="Base1" target="_self" runat="server" />
  7. <link href="/ui/bootstrap/css/bootstrap.min.css" rel="stylesheet" />
  8. <link href="/ui/bootstrap/css/bootstrap.min.css" rel="stylesheet" />
  9. <link href="/ui/bootstrap/css/bootstrap.min.css" rel="stylesheet" />
  10. <link href="/ui/css/style.css" rel="stylesheet" />
  11. <link href="/ui/font-awesome/css/font-awesome.min.css" rel="stylesheet" />
  12. <link href="/js/jQuery/jquery-ui.css" rel="stylesheet" />
  13. <link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/12.1.3/css/intlTelInput.css" />
  14. <script src="/ui/js/jquery.min.js"></script>
  15. <script src="/ui/js/jquery-ui.min.js" type="text/javascript"></script>
  16. <script src="/ui/js/jquery.validate.js" type="text/javascript"></script>
  17. <script src="/ui/bootstrap/js/bootstrap.min.js"></script>
  18. <script src="/js/swift_grid.js" type="text/javascript"> </script>
  19. <script src="/js/functions.js"></script>
  20. <script src="/js/swift_autocomplete.js"></script>
  21. <script src="/AgentNew/js/swift_calender.js"></script>
  22. <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.mask/1.14.15/jquery.mask.min.js" type="text/javascript"></script>
  23. <script src="https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/12.1.3/js/intlTelInput.min.js"></script>
  24. <script type="text/javascript" language="javascript">
  25. $(document).ready(function () {
  26. $("#txtMembershipId").focus();
  27. $("#occupation").change(function () {
  28. $("#divOccupation").hide();
  29. if ($("#occupation").val() === "11383") {
  30. $("#divOccupation").show();
  31. // $("#CVotherOccupation").show();
  32. }
  33. });
  34. var customerId = "<%=GetCustomerId()%>";
  35. var eid = customerId;
  36. if (customerId != "") {
  37. LoadcustomerData();
  38. }
  39. $("#<%=ExpireDate.ClientID%>").click(function () {
  40. $("#<%=ExpireDate.ClientID%>").val('');
  41. });
  42. $("#<%=idType.ClientID%>").on("change", function () {
  43. $("#<%=verificationTypeNo.ClientID%>").val('');
  44. var idTypeValue = $("#<%=idType.ClientID%>").val().split('|')[0];
  45. //if idType is other hide verification textbox and show other verification textbox
  46. if (idTypeValue == '11402') {
  47. $("#<%=otherVerificationTypeNo.ClientID%>").addClass("required");
  48. $("#otherVerificationTypeDiv").show();
  49. } else {
  50. $("#<%=otherVerificationTypeNo.ClientID%>").removeClass("required");
  51. $("#otherVerificationTypeDiv").hide();
  52. }
  53. });
  54. $("#<%=zipCode.ClientID%>").keyup(function () {
  55. var len = $(this).val().length;
  56. if (len == '7') {
  57. GetAddressByZipCode();
  58. }
  59. });
  60. // mobile country code added
  61. $("#<%=mobile.ClientID%>").intlTelInput({
  62. nationalMode: true,
  63. onlyCountries: ["jp"],
  64. utilsScript: "https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/12.1.3/js/utils.js" // just for formatting/placeholders etc
  65. });
  66. $("#<%=mobile.ClientID%>").on("change", function () {
  67. var input = $("#<%=mobile.ClientID%>");
  68. var countryCode = $('.dial-code').text();
  69. var mobileNo = input.val();
  70. var maxLength = input.attr('maxLength');
  71. if (mobileNo.indexOf(countryCode) < 0) {
  72. mobileNo = countryCode + mobileNo;
  73. }
  74. if (mobileNo.length > maxLength) {
  75. alert('Mobile No. Can allow input maxmum ' + maxLength + ' digit only');
  76. return $(this).val('');
  77. }
  78. $(this).val(mobileNo);
  79. CheckForMobileNumber(this, 'Mobile No.');
  80. });
  81. $('#<%=countryList.ClientID%>').on('change', function () {
  82. $("#<%=mobile.ClientID%>").val('');
  83. var country = $("#<%=countryList.ClientID%> option:selected").text();
  84. if (country.toLowerCase() == 'japan') {
  85. $("#<%=mobile.ClientID%>").intlTelInput('setCountry', 'jp');
  86. }
  87. });
  88. CalSenderDOB("#<%=dob.ClientID%>");
  89. CompanyRegisterDate("#<%=txtDateOfIncorporation.ClientID%>");
  90. CalIDIssueDate("#<%=IssueDate.ClientID%>");
  91. CalFromToday("#<%=ExpireDate.ClientID%>");
  92. $("#<%=txtDateOfIncorporation.ClientID%>").mask('0000-00-00');
  93. $("#<%=IssueDate.ClientID%>").mask('0000-00-00');
  94. $("#<%=ExpireDate.ClientID%>").mask('0000-00-00');
  95. $("#<%=IssueDate.ClientID%>").mask('0000-00-00');
  96. $("#<%=ExpireDate.ClientID %>").mask('0000-00-00');
  97. $("#<%=dob.ClientID%>").mask('0000-00-00');
  98. IdTypeValidity();
  99. });
  100. function showDocument(cdId, fileType) {
  101. var url = "/AgentNew/Administration/CustomerSetup/DocumentView.aspx?cdId=" + cdId + "&fileType=" + fileType;
  102. var param = "width=825,height=500,resizable=1,status=1,toolbar=0,scrollbars=1,center=1";
  103. PopUpWindow(url, param);
  104. };
  105. $(document).ready(function () {
  106. $('#btnSearch').click(function () {
  107. clearPopupData();
  108. var zipCode = $('#zipCode').val();
  109. if (zipCode == "" || zipCode == null) {
  110. alert("Post Code cannot be empty");
  111. return;
  112. }
  113. debugger;
  114. $.ajax({
  115. type: 'POST',
  116. contentType: 'application/json; charset=utf-8',
  117. url: 'EditCustomerForActivation.aspx/GetAddressByPostCode',
  118. data: JSON.stringify({ zipCode: zipCode }),
  119. dataType: 'json',
  120. success: function (response) {
  121. var data = JSON.parse(response.d);
  122. $('#apiDataPopup').modal({ backdrop: 'static', keyboard: false }, 'show');
  123. $('#apiDataBody tbody').empty();
  124. if (data && data.Data && data.Data.Addresses) {
  125. var addresses = data.Data.Addresses;
  126. addresses.forEach(function (item, index) {
  127. var row = $('<tr>');
  128. row.append($('<td>').text(index + 1));
  129. row.append($('<td>').text(item.Address1));
  130. row.append($('<td>').text(item.Address2));
  131. //var selectButton = $('<button>')
  132. // .addClass('btn btn-primary')
  133. // .text('Select')
  134. // .click(function () {
  135. // var selectedAddress1 = item.Address1;
  136. // var selectedAddress2 = item.Address2;
  137. // $('#txtAdditionalAddress').val(item.Address1);
  138. // $('#city').val(item.Address2);
  139. // $('#apiDataPopup').modal('hide');
  140. // });
  141. var selectButton = $('<button>')
  142. .addClass('btn btn-primary')
  143. .text('Select')
  144. .click(function (e) {
  145. var additionalAddress = item.Address1;
  146. var city = item.Address2;
  147. $('#hdnAdditionalAddress').val(additionalAddress);
  148. $('#cityHidden').val(city);
  149. $('#address1').val(additionalAddress);
  150. $('#city').val(city);
  151. $('#apiDataPopup').modal('hide');
  152. e.preventDefault();
  153. });
  154. row.append($('<td>').append(selectButton));
  155. $('#apiDataBody').append(row);
  156. });
  157. $('#apiDataPopup').modal('show');
  158. } else {
  159. console.error("Invalid response.");
  160. }
  161. },
  162. error: function (error) {
  163. console.error(error);
  164. }
  165. });
  166. });
  167. });
  168. function IdTypeValidity() {
  169. var senIdType = $("#<%=idType.ClientID%>").val();
  170. if (senIdType == "") {
  171. $("#<%=expiryDiv.ClientID%>").removeClass('hidden');
  172. }
  173. else {
  174. var senIdTypeArr = senIdType.split('|');
  175. if (senIdTypeArr[2] == "E") {
  176. $("#<%=expiryDiv.ClientID%>").removeClass("hidden");
  177. $("#expireRequired").show();
  178. $("#<%=ExpireDate.ClientID%>").addClass("required");
  179. }
  180. else {
  181. $("#<%=expiryDiv.ClientID%>").addClass("hidden");
  182. $("#<%=ExpireDate.ClientID%>").removeClass("required");
  183. }
  184. }
  185. };
  186. function CheckForMobileNumber(nField, fieldName) {
  187. var numberPattern = /^[+]?[0-9]{6,16}$/;
  188. test = numberPattern.test(nField.value);
  189. if (!test) {
  190. alert(fieldName + ' Is Not Valid !');
  191. nField.value = '';
  192. return false
  193. }
  194. return true;
  195. }
  196. function CheckForPhoneNumber(nField, fieldName) {
  197. var numberPattern = /^[+]?[0-9]{6,15}$/;
  198. test = numberPattern.test(nField.value);
  199. if (!test) {
  200. alert(fieldName + ' Is Not Valid !');
  201. nField.value = '';
  202. return false
  203. }
  204. return true;
  205. }
  206. function LoadcustomerData() {
  207. var eid = $('#<%=hdnCustomerId.ClientID%>').val();
  208. dataToSend = { MethodName: 'GetCustomerDetails', Id: eid };
  209. $.post('', dataToSend, function (response) {
  210. ParseCustomerData(response);
  211. }).fail(function () {
  212. alert('Oops!!! something went wrong, please try again.');
  213. });
  214. }
  215. function ParseCustomerData(response) {
  216. var dr = jQuery.parseJSON(response);
  217. if (dr != null) {
  218. $('#<%=hdnCustomerId.ClientID%>').val(dr[0].customerId);
  219. $('#<%=hdnRegisterDate.ClientID%>').val(dr[0].createdDate);
  220. $('#<%=hdnCreatedFrom.ClientID%>').val(dr[0].createdFrom);
  221. $('#<%=firstName.ClientID%>').val(dr[0].firstName);
  222. $('#<%=middleName.ClientID%>').val(dr[0].middleName);
  223. $('#<%=lastName.ClientID%>').val(dr[0].lastName1);
  224. $('#<%=txtCompanyName.ClientID%>').val(dr[0].firstName);
  225. $('#<%=genderList.ClientID%>').val(dr[0].gender);
  226. $('#<%=countryList.ClientID%>').val(dr[0].country);
  227. $('#<%=address1.ClientID%>').val(dr[0].address);
  228. $('#<%=zipCode.ClientID%>').val(dr[0].zipCode);
  229. $('#<%=city.ClientID%>').val(dr[0].city);
  230. $('#<%=email.ClientID%>').val(dr[0].email);
  231. $('#<%=hddOldEmailValue.ClientID%>').val(dr[0].email);
  232. $('#<%=emailConfirm.ClientID%>').val(dr[0].email);
  233. $('#<%=phoneNumber.ClientID%>').val(dr[0].telNo);
  234. $('#<%=mobile.ClientID%>').val(dr[0].mobile.replaceAll('-', ''));
  235. $('#<%=nativeCountry.ClientID%>').val(dr[0].nativeCountry);
  236. $('#<%=nativeCountry.ClientID%>').val(dr[0].nativeCountryId);
  237. $('#<%=dob.ClientID%>').val(dr[0].dob);
  238. $('#<%=occupation.ClientID%>').val(dr[0].occupation);
  239. $('#<%=IssueDate.ClientID%>').val(dr[0].idIssueDate);
  240. $('#<%=ExpireDate.ClientID%>').val(dr[0].idExpiryDate);
  241. $('#<%=idType.ClientID%>').val(dr[0].idType);
  242. if (dr[0].idTypeValue == '11402') {
  243. $("#<%=otherVerificationTypeNo.ClientID%>").addClass("required");
  244. $("#otherVerificationTypeDiv").show();
  245. } else {
  246. $("#<%=otherVerificationTypeNo.ClientID%>").removeClass("required");
  247. $("#otherVerificationTypeDiv").hide();
  248. }
  249. $('#<%=verificationTypeNo.ClientID%>').val(dr[0].idNumber);
  250. $('#<%=otherVerificationTypeNo.ClientID%>').val(dr[0].otherIdNumber);
  251. $('#<%=hddIdNumber.ClientID%>').val(dr[0].homePhone);
  252. $('#<%=txtMembershipId.ClientID%>').val(dr[0].membershipId);
  253. $('#<%=hdnMembershipNo.ClientID%>').val(dr[0].membershipId);
  254. $('#<%=txtMembershipId.ClientID%>').attr('readonly', true);
  255. $('#<%=txtRegistrationNo.ClientID%>').val(dr[0].registerationNo);
  256. $('#<%=txtDateOfIncorporation.ClientID%>').val(dr[0].dateofIncorporation);
  257. $('#<%=txtNameofAuthoPerson.ClientID%>').val(dr[0].nameOfAuthorizedPerson);
  258. <%-- $('#<%=txtStreet.ClientID%>').val(dr[0].street);--%>
  259. $('#<%=txtAdditionalAddress.ClientID%>').val(dr[0].additionalAddress);
  260. <%-- $('#<%=txtsenderCityjapan.ClientID%>').val(dr[0].cityUnicode);
  261. $('#<%=txtstreetJapanese.ClientID%>').val(dr[0].streetUnicode);--%>
  262. $('#<%=txtNameofEmployeer.ClientID%>').val(dr[0].nameOfEmployeer);
  263. $('#<%=rbRemitanceAllowed.ClientID%> input[value=' + (dr[0].remittanceAllowed == true ? "Enabled" : "Disabled") + ']').attr('checked', 'checked');
  264. $('#<%=rbOnlineLogin.ClientID%> [value= ' + (dr[0].onlineUser == "Y" ? "Enabled" : "Disabled") + ']').attr('checked', 'checked');
  265. $('#<%=rbMobileLogin.ClientID%> [value= ' + (dr[0].mobileUser == "Y" ? "Enabled" : "Disabled") + ']').attr('checked', 'checked');
  266. $('#<%=txtRemarks.ClientID%>').val(dr[0].remarks);
  267. $('#<%=ddlSalary.ClientID%>').val(dr[0].monthlyIncome);
  268. <%-- $('#<%=hfCustomerType.ClientID%>').val(dr[0].customerType);--%>
  269. $('#<%=ddlEmployeeBusType.ClientID%>').val(dr[0].employeeBusinessType);
  270. $('#<%=ddlnatureOfCompany.ClientID%>').val(dr[0].natureOfCompany);
  271. $('#<%=ddlOrganizationType.ClientID%>').val(dr[0].organizationType);
  272. $('#<%=ddlPosition.ClientID%>').val(dr[0].position);
  273. <%--$('#<%=ddlVisaStatus.ClientID%>').val(dr[0].visaStatus);--%>
  274. <%--$('#<%=ddlState.ClientID%>').val(dr[0].state);--%>
  275. $('#<%=ddlStateHidden.ClientID%>').val(dr[0].state);
  276. $('#<%=cityHidden.ClientID%>').val(dr[0].city);
  277. $('#<%=email.ClientID%>').Enabled = (dr[0].isTxnMade == "Y") ? false : true;
  278. $('#<%=emailConfirm.ClientID%>').Enabled = (dr[0].isTxnMade == "Y") ? false : true;
  279. $('#<%=hddTxnsMade.ClientID%>').val(dr[0].isTxnMade);
  280. $('#<%=ddlDocType.ClientID%>').val(dr[0].documentType);
  281. if (dr[0].isTxnMade == "Y") {
  282. $('#<%=msgDiv.ClientID%>').Visible = true;
  283. $('#<%=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.");
  284. }
  285. if (dr[0].idType.split('|')[0] == "8008") {
  286. $('#<%=expiryDiv.ClientID%>').addClass('hidden');
  287. }
  288. else {
  289. $('#<%=expiryDiv.ClientID%>').removeClass('hidden');
  290. }
  291. $('#<%=membershipDiv.ClientID%>').show();
  292. <%-- $('#<%=customerType.ClientID%>').show();--%>
  293. GetAddressByRowID(dr[0].district, dr[0].zipCode);
  294. if (parseInt(dr[0].occupation) === 11383) {
  295. $('#divOccupation').show();
  296. $('#occupationHidden').val(dr[0].occupation);
  297. $('#occupationText').val(dr[0].occupationText);
  298. }
  299. }
  300. }
  301. function ValidateForm() {
  302. var reqField = "occupationtxt";
  303. if (ValidRequiredField(reqField) == false) {
  304. return false;
  305. }
  306. return true;
  307. }
  308. function CheckFormValidation() {
  309. var reqField = "";
  310. var val = $("#<% =hdnCustomerId.ClientID%>").val();
  311. <%-- var customerType = $("#<% =ddlCustomerType.ClientID%>").val();--%>
  312. var input = $("#<%=mobile.ClientID%>");
  313. var mobileNo = input.val();
  314. if (mobileNo != null && mobileNo != "") {
  315. var countryCode = $('.dial-code').text();
  316. var maxLength = input.attr('maxLength');
  317. if (mobileNo.indexOf(countryCode) < 0) {
  318. mobileNo = countryCode + mobileNo;
  319. }
  320. if (mobileNo.length > maxLength) {
  321. alert('Mobile No. Can allow input maxmum ' + maxLength + ' digit only');
  322. return $(this).val('');
  323. }
  324. $("#<%=mobile.ClientID%>").val(mobileNo);
  325. }
  326. $(".required").each(function () {
  327. if (customerType === "4700") {
  328. if (!$(this).hasClass("clearOnIndividual")) {
  329. reqField += $(this).attr('id') + ",";
  330. }
  331. }
  332. if (customerType === "4701") {
  333. if (!$(this).hasClass("clearOnOrganisation")) {
  334. reqField += $(this).attr('id') + ",";
  335. }
  336. }
  337. });
  338. if ($('#<%=expiryDiv.ClientID%>').hasClass("hidden")) {
  339. reqField = reqField.replace(",<%=ExpireDate.ClientID%>,", ",");
  340. }
  341. if ($("#occupation").val() === "11383") {
  342. reqField += "<%=occupationText.ClientID%>,";
  343. }
  344. if (ValidRequiredField(reqField) === false) {
  345. return false;
  346. }
  347. if (!$('#<%=expiryDiv.ClientID%>').hasClass("hidden")) {
  348. var issueDate = $('#<%=IssueDate.ClientID%>').val();
  349. var exipreDate = $('#<%=ExpireDate.ClientID%>').val();
  350. if (issueDate != '' && exipreDate != '') {
  351. if (issueDate > exipreDate) {
  352. alert("Issue Date cannot be greater than Valid date");
  353. return false;
  354. }
  355. }
  356. }
  357. return true;
  358. }
  359. function loadImage(filePath, id) {
  360. $('#' + id).attr('src', path);
  361. }
  362. function readURL(input, id) {
  363. if (input.files && input.files[0]) {
  364. var reader = new FileReader();
  365. reader.onload = function (e) {
  366. $('#' + id).attr('src', e.target.result);
  367. }
  368. reader.readAsDataURL(input.files[0]);
  369. }
  370. }
  371. function showImage(param) {
  372. var imgSrc = $(param).attr("src");
  373. OpenInNewWindow(imgSrc);
  374. }
  375. function ManageDivs() {
  376. if ($('#<%=idType.ClientID%>').val() == '8008') {
  377. $("#<%=ExpireDate.ClientID%>").removeClass('required');
  378. $('#<%=expiryDiv.ClientID%>').addClass('hidden');
  379. }
  380. else {
  381. $('#<%=expiryDiv.ClientID%>').removeClass('hidden');
  382. $("#<%=ExpireDate.ClientID%>").addClass('required');
  383. }
  384. $("#<%=ExpireDate.ClientID%>").val('');
  385. IdTypeValidity();
  386. }
  387. function CheckCustomerId() {
  388. customerId = $("#<%=hdnCustomerId.ClientID%>").val();
  389. if (customerId !== null && customerId !== "") {
  390. return true;
  391. }
  392. return false;
  393. }
  394. function SetMessageBox(msg, id) {
  395. alert(msg);
  396. }
  397. function GetAddressByZipCode() {
  398. var zipCodeValue = $("#<%=zipCode.ClientID%>").val();
  399. $("#txtState").val('');
  400. <%--$("#<%=txtStreet.ClientID%>").val('');--%>
  401. $("#<%=city.ClientID%>").val('');
  402. <%--$("#<%=txtsenderCityjapan.ClientID%>").val('');
  403. $("#<%=txtstreetJapanese.ClientID%>").val('');--%>
  404. var zipCodePattern = /^\d{7}?$/;
  405. test = zipCodePattern.test(zipCodeValue);
  406. if (!test) {
  407. $("#<%=zipCode.ClientID%>").val('');
  408. $("#<%=zipCode.ClientID%>").focus();
  409. $("#<%=zipCode.ClientID%>").attr("style", "display:block; background:#FFCCD2");
  410. return alert("Please Enter Valid Zip Code(XXXXXXX)");
  411. }
  412. var dataToSend = { MethodName: 'GetAddressDetailsByZipCode', zipCode: zipCodeValue };
  413. // $.post('/AgentNew/Administration/CustomerSetup/CustomerRegistration/Manage.aspx', dataToSend, function (erd) {
  414. $.post('/MobileRemit/Admin/Operation/EditCustomerForApproval.aspx', dataToSend, function (erd) {
  415. if (erd !== null) {
  416. var dr = jQuery.parseJSON(erd);
  417. if (erd == false) {
  418. <%--$("#<%=ddlState.ClientID%>").val('');--%>
  419. <%-- $("#<%=txtStreet.ClientID%>").val('');--%>
  420. $("#<%=city.ClientID%>").val('');
  421. $("#<%=zipCode.ClientID%>").focus();
  422. $("#<%=zipCode.ClientID%>").attr("style", "display:block; background:#FFCCD2");
  423. return alert("Please Enter Valid Zip Code(XXXXXXX)");
  424. }
  425. //$("#tempAddress").html(erd);
  426. if (dr[0].errorCode == '0') {
  427. <%--$("#<%=ddlState.ClientID%>").val(dr[0].STATE_ID);--%>
  428. $("#<%=ddlStateHidden.ClientID%>").val(dr[0].STATE_ID);
  429. $("#<%=cityHidden.ClientID%>").val(dr[0].CITY_NAME);
  430. $("#<%=txtstreetJapanese.ClientID%>").val(dr[0].STREET_NAME);
  431. $("#<%=city.ClientID%>").val(dr[0].CITY_NAME);
  432. PopulateAreaDDL(dr);
  433. }
  434. else {
  435. <%--$("#<%=ddlState.ClientID%>").val('');--%>
  436. <%-- $("#<%=txtStreet.ClientID%>").val('');--%>
  437. $("#<%=city.ClientID%>").val('');
  438. $("#<%=txtstreetJapanese.ClientID%>").val('');
  439. $("#<%=zipCode.ClientID%>").focus();
  440. $("#<%=zipCode.ClientID%>").attr("style", "display:block; background:#FFCCD2");
  441. return alert("Please Enter Valid Zip Code(XXXXXXX)");
  442. }
  443. }
  444. }).fail(function () {
  445. alert('Oops!!! something went wrong, please try again.');
  446. });
  447. }
  448. function ShowIdTypeInfo() {
  449. var idInfo = $('#<%=idType.ClientID%>').val();
  450. if (idInfo == '' || idInfo == null) {
  451. alert('Please select id type first!')
  452. }
  453. else {
  454. alert(idInfo.split("|")[1]);
  455. }
  456. }
  457. function GetAddressByRowID(rowId, zipCode) {
  458. var dataToSend = { MethodName: 'GetAddressDetailsByZipCode', zipCode: zipCode, RowID: rowId };
  459. $.post('', dataToSend, function (erd) {
  460. if (erd !== null) {
  461. var dr = jQuery.parseJSON(erd);
  462. if (erd == false) {
  463. <%-- $("#<%=ddlState.ClientID%>").val('');--%>
  464. <%-- $("#<%=txtStreet.ClientID%>").val('');--%>
  465. $("#<%=city.ClientID%>").val('');
  466. $("#<%=txtstreetJapanese.ClientID%>").val('');
  467. $("#<%=zipCode.ClientID%>").focus();
  468. $("#<%=zipCode.ClientID%>").attr("style", "display:block; background:#FFCCD2");
  469. return alert("Please Enter Valid Zip Code(XXXXXXX)");
  470. }
  471. //$("#tempAddress").html(erd);
  472. if (dr[0].errorCode == '0') {
  473. <%-- $("#<%=ddlState.ClientID%>").val(dr[0].STATE_ID);--%>
  474. $("#<%=ddlStateHidden.ClientID%>").val(dr[0].STATE_ID);
  475. $("#<%=cityHidden.ClientID%>").val(dr[0].CITY_NAME);
  476. $("#<%=txtstreetJapanese.ClientID%>").val(dr[0].STREET_NAME);
  477. <%--$("#<%=txtStreet.ClientID%>").val(dr[0].STREET_NAME);--%>
  478. $("#<%=city.ClientID%>").val(dr[0].CITY_NAME);
  479. PopulateAreaDDL(dr, rowId);
  480. }
  481. else {
  482. <%--$("#<%=ddlState.ClientID%>").val('');--%>
  483. <%--$("#<%=txtStreet.ClientID%>").val('');--%>
  484. $("#<%=city.ClientID%>").val('');
  485. $("#<%=zipCode.ClientID%>").focus();
  486. $("#<%=zipCode.ClientID%>").attr("style", "display:block; background:#FFCCD2");
  487. return alert("Please Enter Valid Zip Code(XXXXXXX)");
  488. }
  489. }
  490. }).fail(function () {
  491. alert('Oops!!! something went wrong, please try again.');
  492. });
  493. }
  494. function PopulateAreaDDL(data, selectedValue) {
  495. var ddl = document.getElementById("txtStreet");
  496. $(ddl).empty();
  497. var option, selValue = '';
  498. if (selectedValue) {
  499. selValue = selectedValue;
  500. }
  501. if (data.length > 1) {
  502. option = document.createElement("option");
  503. option.text = 'Select Area';
  504. option.value = '';
  505. ddl.options.add(option);
  506. }
  507. for (var i = 0; i < data.length; i++) {
  508. option = document.createElement("option");
  509. option.text = data[i].STREET_NAME;
  510. option.value = data[i].ROW_ID;
  511. if (selValue.toString() === option.value) {
  512. option.selected = true;
  513. }
  514. try {
  515. ddl.options.add(option);
  516. }
  517. catch (e) {
  518. alert(e);
  519. }
  520. }
  521. }
  522. </script>
  523. <style>
  524. .intl-tel-input {
  525. width: 100% !important;
  526. }
  527. input, textarea {
  528. text - transform: uppercase;
  529. }
  530. table#rbRemitanceAllowed tbody tr td {
  531. padding - left: 10px;
  532. }
  533. table#rbOnlineLogin tbody tr td {
  534. padding - left: 10px;
  535. }
  536. table#rbMobileLogin tbody tr td {
  537. padding - left: 10px;
  538. }
  539. .doc {
  540. height: 300px;
  541. width: 400px
  542. }
  543. </style>
  544. </head>
  545. <body>
  546. <form id="form1" runat="server">
  547. <asp:ScriptManager runat="server" ID="sm1"></asp:ScriptManager>
  548. <div class="page-wrapper">
  549. <div class="page-wrapper">
  550. <div class="row">
  551. <div class="col-sm-12">
  552. <div class="page-title">
  553. <h1></h1>
  554. <ol class="breadcrumb">
  555. <li><a href="Front.aspx" target="mainFrame"><i class="fa fa-home"></i></a></li>
  556. <li><a href="#">Mobile Menu</a></li>
  557. <li><a href="#">Mobile Operations</a></li>
  558. <li class="active"><a href="ActivateMobile.aspx">Activate Mobile</a></li>
  559. </ol>
  560. </div>
  561. </div>
  562. </div>
  563. <div class="listtabs">
  564. <ul class="nav nav-tabs" role="tablist">
  565. <li role="presentation" class="active"><a href="#">Activate Mobile</a></li>
  566. </ul>
  567. </div>
  568. <div class="tab-content">
  569. <div role="tabpanel" class="tab-pane" id="List">
  570. </div>
  571. <div class="panel panel-default clearfix m-b-20">
  572. <div class="panel-heading">Customer Information</div>
  573. <div class="panel-body">
  574. <asp:ValidationSummary ID="ValidationSummary1" runat="server" ForeColor="Red" ValidationGroup="ActivateVG" ShowSummary="true" />
  575. <div class="col-sm-12" id="msgDiv" runat="server" visible="false" style="background-color: red;">
  576. <asp:Label ID="msgLabel" runat="server" ForeColor="White"></asp:Label>
  577. </div>
  578. <div class="col-sm-3" id="Div2" runat="server" style="display: none">
  579. <div class="form-group">
  580. <label>&nbsp</label>
  581. <a class="form-control btn btn-primary" runat="server" id="testLink" href="PrintDetails.aspx?membershipId=CHI004728">test Link </a>
  582. </div>
  583. </div>
  584. <div class="col-sm-3" id="Div3" runat="server" style="display: none">
  585. <div class="form-group">
  586. <label>&nbsp</label>
  587. <a class="form-control btn btn-primary" runat="server" id="A1">&nbsp</a>
  588. </div>
  589. </div>
  590. <%-- <div class="col-sm-3 " id="Div4" runat="server" hidden>
  591. <div class="form-group">
  592. <label>Membership No:</label>
  593. <asp:TextBox ID="TextBox1" runat="server" CssClass="form-control" />
  594. </div>
  595. </div>--%>
  596. <div class="col-sm-3 " id="membershipDiv" runat="server" hidden>
  597. <div class="form-group">
  598. <label>Membership No:</label>
  599. <asp:TextBox ID="txtMembershipId" runat="server" CssClass="form-control" />
  600. </div>
  601. </div>
  602. <div class="col-md-4 col-sm-4" hidden>
  603. <div class="form-group">
  604. <label>Confirm E-Mail ID:<span class="errormsg">*</span></label>
  605. <asp:TextBox ID="emailConfirm" runat="server" placeholder="Confirm Email" data-match="#email" CssClass="form-control clearOnIndividual" />
  606. <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" Display="Dynamic"
  607. ErrorMessage="Invalid Email Id!" ForeColor="Red" SetFocusOnError="True" ValidationGroup="ActivateVG"
  608. ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" CssClass="inv"
  609. ControlToValidate="emailConfirm"></asp:RegularExpressionValidator>
  610. </div>
  611. </div>
  612. </div>
  613. </div>
  614. <div id="addEditPanel" runat="server">
  615. <div class="panel panel-default clearfix m-b-20">
  616. <div class="panel-heading">Personal Information</div>
  617. <div class="panel-body">
  618. <div class="col-sm-3" id="linkDiv" runat="server" style="display: none">
  619. <div class="form-group">
  620. <label>&nbsp</label>
  621. <a class="form-control btn btn-primary" runat="server" id="printLink">&nbsp</a>
  622. </div>
  623. </div>
  624. <div class="usedForOrganisation" hidden>
  625. <div class="col-sm-4">
  626. <div class="form-group">
  627. <label>Name of Company:<span class="errormsg">*</span></label>
  628. <asp:TextBox ID="txtCompanyName" runat="server" placeholder="Name of Company" CssClass="form-control clearOnIndividual required" />
  629. </div>
  630. </div>
  631. <div class="col-sm-4">
  632. <div class="form-group">
  633. <label>Company Reg. No:<span class="errormsg">*</span></label>
  634. <asp:TextBox ID="txtRegistrationNo" runat="server" placeholder="Company Reg. No" CssClass="form-control clearOnIndividual required" />
  635. </div>
  636. </div>
  637. <div class="col-sm-4">
  638. <div class="form-group">
  639. <label>Organization Type:</label>
  640. <asp:DropDownList runat="server" ID="ddlOrganizationType" name="ddlOrganizationType" CssClass="form-control clearOnIndividual">
  641. </asp:DropDownList>
  642. </div>
  643. </div>
  644. <div class="col-md-4 col-sm-4">
  645. <div id="Div1" runat="server" nowrap="nowrap" class="showHideIDExpDate">
  646. </div>
  647. <div class="form-group">
  648. <label>Date Of Incorporation:</label>
  649. <div class="form-inline">
  650. <div class="input-group input-append date dpYears">
  651. <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>
  652. <div class="input-group-addon"><i class="fa fa-calendar"></i></div>
  653. </div>
  654. </div>
  655. </div>
  656. </div>
  657. <div class="col-md-4 col-sm-4">
  658. <div class="form-group">
  659. <label>Nature Of Company:<span class="errormsg">*</span></label>
  660. <asp:DropDownList runat="server" ID="ddlnatureOfCompany" name="ddlnatureOfCompany" CssClass="form-control clearOnIndividual required">
  661. </asp:DropDownList>
  662. </div>
  663. </div>
  664. <div class="col-md-4 col-sm-4">
  665. <div class="form-group">
  666. <label>Name Of Authorized Person:<span class="errormsg">*</span></label>
  667. <asp:TextBox ID="txtNameofAuthoPerson" runat="server" CssClass="form-control clearOnIndividual required"></asp:TextBox>
  668. </div>
  669. </div>
  670. <div class="col-md-4 col-sm-4">
  671. <div class="form-group">
  672. <label>Position:<span class="errormsg">*</span></label>
  673. <asp:DropDownList runat="server" ID="ddlPosition" name="ddlnatureOfCompany" CssClass="form-control clearOnIndividual required">
  674. </asp:DropDownList>
  675. </div>
  676. </div>
  677. </div>
  678. <div class="hideForOrganisation">
  679. <div class="col-md-4 col-sm-4">
  680. <div class="form-group">
  681. <label>First Name:<span class="errormsg">*</span></label>
  682. <asp:TextBox ID="firstName" autocomplete="stopdoingthat" runat="server" placeholder="First Name" CssClass="form-control clearOnOrganisation required" />
  683. <asp:RequiredFieldValidator ID="ReqfirstName" ControlToValidate="firstName" ValidationGroup="ActivateVG" ErrorMessage="First Name is Required!" runat="server" SetFocusOnError="true" CssClass="ErrMsg"></asp:RequiredFieldValidator>
  684. </div>
  685. </div>
  686. <div class="col-md-4 col-sm-4">
  687. <div class="form-group">
  688. <label>Middle Name:</label>
  689. <asp:TextBox ID="middleName" autocomplete="stopdoingthat" runat="server" placeholder="Middle Name" CssClass="form-control clearOnOrganisation" />
  690. </div>
  691. </div>
  692. <div class="col-md-4 col-sm-4">
  693. <div class="form-group">
  694. <label>Last Name:<span class="errormsg">*</span></label>
  695. <asp:TextBox ID="lastName" autocomplete="stopdoingthat" runat="server" placeholder="Last Name" CssClass="form-control clearOnOrganisation required" />
  696. <asp:RequiredFieldValidator ID="reqlastName" ControlToValidate="lastName" ValidationGroup="ActivateVG" ErrorMessage="Last Name is Required!" runat="server" SetFocusOnError="true" CssClass="ErrMsg"></asp:RequiredFieldValidator>
  697. </div>
  698. </div>
  699. </div>
  700. <div class="col-md-4 col-sm-4">
  701. <div class="form-group">
  702. <label>Country:<span class="errormsg">*</span></label>
  703. <asp:DropDownList runat="server" ID="countryList" name="countryList" CssClass="form-control required">
  704. </asp:DropDownList>
  705. </div>
  706. </div>
  707. <div class="col-md-4 col-sm-4">
  708. <div class="form-group">
  709. <label>Post Code:<span class="errormsg">*</span> </label>
  710. <div class="input-group">
  711. <asp:TextBox ID="zipCode" runat="server" placeholder="XXXXXXX" MaxLength="8" CssClass="form-control required" />
  712. <span class="input-group-btn">
  713. <button id="btnSearch" class="btn btn-primary m-t-25" type="button">Search</button>
  714. </span>
  715. </div>
  716. </div>
  717. </div>
  718. <div class="col-md-4 col-sm-4" style="display: none;">
  719. <div class="form-group">
  720. <label>Street/Street[Japanese]:</label>
  721. <asp:TextBox ID="txtstreetJapanese" autocomplete="stopdoingthat" runat="server" placeholder="Street[Japanese]" CssClass="form-control" />
  722. </div>
  723. </div>
  724. <div class="col-md-4 col-sm-4">
  725. <div class="form-group">
  726. <label>City:<span class="errormsg">*</span></label>
  727. <asp:TextBox ID="city" runat="server" placeholder="City" CssClass="form-control" />
  728. </div>
  729. </div>
  730. <div class="col-md-4 col-sm-4">
  731. <div class="form-group">
  732. <label>Address 1:<span class="errormsg">*</span> </label>
  733. <asp:TextBox ID="address1" runat="server" placeholder="Address 1" CssClass="form-control required" />
  734. </div>
  735. </div>
  736. <div class="col-md-4 col-sm-4">
  737. <div class="form-group">
  738. <label>Address 2:</label>
  739. <asp:TextBox ID="txtAdditionalAddress" runat="server" placeholder="Address 2" CssClass="form-control" />
  740. </div>
  741. </div>
  742. <%--<div class="col-md-4 col-sm-4" style="display: none;">
  743. <div class="form-group">
  744. <label>Additional Address:<span class="errormsg">*</span> </label>
  745. <asp:TextBox autocomplete="stopdoingthat" ID="txtAdditionalAddress" runat="server" placeholder="Additional address" CssClass="form-control required" />
  746. <asp:RequiredFieldValidator ID="ReqtxtAdditionalAddress" ControlToValidate="txtAdditionalAddress" ValidationGroup="ActivateVG" ErrorMessage="Additional Address is Required!" runat="server" SetFocusOnError="true" CssClass="ErrMsg"></asp:RequiredFieldValidator>
  747. </div>
  748. </div>--%>
  749. <div class="col-md-4 col-sm-4 hideForOrganisation">
  750. <div class="form-group">
  751. <label>Gender:<span class="errormsg">*</span> </label>
  752. <asp:DropDownList runat="server" ID="genderList" name="genderList" CssClass="form-control clearOnOrganisation required">
  753. </asp:DropDownList>
  754. <asp:RequiredFieldValidator ID="reqgenderList" ControlToValidate="genderList" ValidationGroup="ActivateVG" ErrorMessage="Gender is Required!" runat="server" SetFocusOnError="true" CssClass="ErrMsg"></asp:RequiredFieldValidator>
  755. </div>
  756. </div>
  757. <div class="col-md-4 col-sm-4">
  758. <div class="form-group">
  759. <label>Native Country:<span class="errormsg">*</span></label>
  760. <asp:DropDownList runat="server" ID="nativeCountry" CssClass="form-control required"></asp:DropDownList>
  761. <asp:RequiredFieldValidator ID="reqnativeCountry" ControlToValidate="nativeCountry" ValidationGroup="ActivateVG" ErrorMessage="Native Country is Required!" runat="server" SetFocusOnError="true" CssClass="ErrMsg"></asp:RequiredFieldValidator>
  762. </div>
  763. </div>
  764. <div class="col-md-4 col-sm-4 hideForOrganisation">
  765. <div id="tdSenExpDateTxt" runat="server" nowrap="nowrap" class="showHideIDExpDate">
  766. </div>
  767. <div class="form-group">
  768. <label>Date of Birth:<span class="errormsg">*</span></label>
  769. <div class="form-inline">
  770. <div class="input-group input-append date dpYears">
  771. <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>
  772. <div class="input-group-addon"><i class="fa fa-calendar"></i></div>
  773. </div>
  774. <asp:RequiredFieldValidator ID="reqdob" ControlToValidate="dob" ValidationGroup="ActivateVG" ErrorMessage="Date of Birth is Required!" runat="server" SetFocusOnError="true" CssClass="ErrMsg"></asp:RequiredFieldValidator>
  775. </div>
  776. </div>
  777. </div>
  778. <div class="col-md-4 col-sm-4">
  779. <div class="form-group">
  780. <label>E-Mail ID: <span class="errormsg">*</span></label>
  781. <asp:TextBox ID="email" autocomplete="stopdoingthat" runat="server" placeholder="Email" CssClass="form-control" />
  782. <asp:RegularExpressionValidator ID="rev1" runat="server" Display="Dynamic"
  783. ErrorMessage="Invalid Email Id!" ForeColor="Red" SetFocusOnError="True" ValidationGroup="ActivateVG"
  784. ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" CssClass="inv"
  785. ControlToValidate="email"></asp:RegularExpressionValidator>
  786. <asp:RequiredFieldValidator ID="reqEmail" ControlToValidate="email" ValidationGroup="ActivateVG" ErrorMessage="Email is required" runat="server" SetFocusOnError="true"></asp:RequiredFieldValidator>
  787. </div>
  788. </div>
  789. <div class="col-md-4 col-sm-4" hidden>
  790. <div class="form-group">
  791. <label>Address:</label>
  792. <asp:TextBox ID="addressLine1" runat="server" placeholder="Address" CssClass="form-control" />
  793. </div>
  794. </div>
  795. <div class="col-md-4 col-sm-4">
  796. <div class="form-group">
  797. <label>Telephone No.:</label>
  798. <asp:TextBox ID="phoneNumber" autocomplete="stopdoingthat" runat="server" placeholder="Phone Number" MaxLength="15" CssClass="form-control" onchange="CheckForPhoneNumber(this, 'Phone No.');" />
  799. </div>
  800. </div>
  801. <div class="col-md-4 col-sm-4">
  802. <div class="form-group" style="overflow: initial;">
  803. <label>Mobile No.:</label><br />
  804. <asp:TextBox runat="server" autocomplete="stopdoingthat" MaxLength="16" ID="mobile" placeholder="Mobile No" CssClass="form-control" />
  805. </div>
  806. </div>
  807. <%--<div class="col-md-4 col-sm-4 hideForOrganisation">
  808. <div class="form-group">
  809. <label>Visa Status<span class="errormsg">*</span></label>
  810. <asp:DropDownList runat="server" ID="ddlVisaStatus" name="ddlVisaStatus" CssClass="form-control clearOnOrganisation required">
  811. </asp:DropDownList>
  812. </div>
  813. <asp:RequiredFieldValidator ID="reqddlVisaStatus" ControlToValidate="ddlVisaStatus" ValidationGroup="ActivateVG" ErrorMessage="Visa Status is Required!" runat="server" SetFocusOnError="true" CssClass="ErrMsg"></asp:RequiredFieldValidator>
  814. </div>--%>
  815. <div class="col-md-4 col-sm-4 hideForOrganisation">
  816. <div class="form-group">
  817. <label>Employment Business Type:</label>
  818. <asp:DropDownList runat="server" ID="ddlEmployeeBusType" name="genderList" CssClass="form-control clearOnOrganisation">
  819. </asp:DropDownList>
  820. </div>
  821. </div>
  822. <div class="col-md-4 col-sm-4 hideForOrganisation">
  823. <div class="form-group">
  824. <label>Name of Employer:</label>
  825. <asp:TextBox runat="server" autocomplete="stopdoingthat" ID="txtNameofEmployeer" placeholder="Name Of Employer" CssClass="form-control clearOnOrganisation" />
  826. </div>
  827. </div>
  828. <div class="col-md-4 col-sm-4 hideForOrganisation">
  829. <div class="form-group">
  830. <label>Occupation:<span class="errormsg">*</span></label>
  831. <asp:DropDownList runat="server" ID="occupation" CssClass="form-control clearOnOrganisation required" OnSelectedIndexChanged="occupation_SelectedIndexChanged" ValidationGroup="ActivateVG"></asp:DropDownList>
  832. <asp:RequiredFieldValidator ID="reqoccupation" ControlToValidate="occupation" ValidationGroup="ActivateVG" ErrorMessage="Occupation is Required!" runat="server" SetFocusOnError="true" CssClass="ErrMsg"></asp:RequiredFieldValidator>
  833. </div>
  834. </div>
  835. <div class="col-md-4 col-sm-4" id="divOccupation" hidden style="display: none;">
  836. <div class="form-group">
  837. <label>Occupation (If Other only):<span class="errormsg">*</span></label>
  838. <asp:TextBox runat="server" ID="occupationText" CssClass="form-control clearOnOrganisation"></asp:TextBox>
  839. </div>
  840. </div>
  841. <div class="col-md-4 col-sm-4" style="display: none;">
  842. <div class="form-group">
  843. <label>Source of Fund:<span class="">*</span></label>
  844. <asp:DropDownList runat="server" ID="ddSourceOfFound" CssClass=""></asp:DropDownList>
  845. </div>
  846. </div>
  847. <div class="col-md-4 col-sm-4 hideForOrganisation">
  848. <div class="form-group">
  849. <label>Monthly Income:</label>
  850. <asp:TextBox ID="ddlSalary" runat="server" CssClass="form-control clearOnOrganisation"></asp:TextBox>
  851. </div>
  852. </div>
  853. </div>
  854. </div>
  855. <div class="panel panel-default clearfix m-b-20">
  856. <div class="panel-heading">Security Information</div>
  857. <div class="panel-body">
  858. <div style="margin-left: 15px">
  859. <div class="row">
  860. <div class="col-md-4 col-sm-4">
  861. <div class="form-group">
  862. <label>Verification Id Type:<span class="errormsg">*</span></label>
  863. <asp:DropDownList runat="server" ID="idType" CssClass="form-control required" onchange="ManageDivs();"></asp:DropDownList>
  864. <asp:RequiredFieldValidator ID="reqidType" ControlToValidate="idType" ValidationGroup="ActivateVG" ErrorMessage="Verification Id Type is Required!" runat="server" SetFocusOnError="true" CssClass="ErrMsg" Display="Dynamic"></asp:RequiredFieldValidator>
  865. </div>
  866. </div>
  867. <div class="col-sm-4 col-xs-12" runat="server" id="otherVerificationTypeDiv">
  868. <div class="form-group">
  869. <label id="otherVerificationType">Other Verification Id Type:<span class="errormsg">*</span></label>
  870. <div class="input-group input-append date dpYears">
  871. <asp:TextBox ID="otherVerificationTypeNo" runat="server" placeholder="Other Verification Type Number" MaxLength="14" CssClass="form-control required" />
  872. <div class="input-group-addon" onclick="ShowIdTypeInfo();"><i class="fa fa-info"></i></div>
  873. <asp:CustomValidator ID="CVotherVerification" runat="server" OnServerValidate="CVotherVerification_ServerValidate"></asp:CustomValidator>
  874. </div>
  875. </div>
  876. </div>
  877. <div class="col-md-4 col-sm-4">
  878. <div class="form-group">
  879. <label id="verificationType">Verification Type No.:<span class="errormsg">*</span></label>
  880. <div class="input-group input-append date dpYears">
  881. <asp:TextBox ID="verificationTypeNo" runat="server" placeholder="Verification Type Number" MaxLength="14" CssClass="form-control required" />
  882. <div class="input-group-addon" onclick="ShowIdTypeInfo();"><i class="fa fa-info"></i></div>
  883. </div>
  884. <asp:RequiredFieldValidator ID="reqverificationTypeNo" ControlToValidate="verificationTypeNo" ValidationGroup="ActivateVG" ErrorMessage="Verification Type Number is Required!" runat="server" SetFocusOnError="true" CssClass="ErrMsg"></asp:RequiredFieldValidator>
  885. </div>
  886. </div>
  887. <div class="col-md-4 col-sm-4">
  888. <div class="form-group">
  889. <label>Issue Date:<span class="errormsg">*</span></label>
  890. <div class="form-inline">
  891. <div class="input-group input-append date">
  892. <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>
  893. <div class="input-group-addon "><i class="fa fa-calendar"></i></div>
  894. </div>
  895. <asp:RequiredFieldValidator ID="reqIssueDate" ControlToValidate="IssueDate" ValidationGroup="ActivateVG" ErrorMessage="Required!" runat="server" SetFocusOnError="true" CssClass="ErrMsg"></asp:RequiredFieldValidator>
  896. </div>
  897. </div>
  898. </div>
  899. </div>
  900. <div class="row">
  901. <div class="col-md-4 col-sm-4" id="expiryDiv" runat="server">
  902. <div class="form-group">
  903. <label>Valid Date:<span class="errormsg" id="expireRequired">*</span></label>
  904. <div class="form-inline">
  905. <div class="input-group input-append date">
  906. <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>
  907. <div class="input-group-addon"><i class="fa fa-calendar"></i></div>
  908. </div>
  909. <asp:RequiredFieldValidator ID="reqExpireDate" ControlToValidate="ExpireDate" ValidationGroup="ActivateVG" ErrorMessage="Required!" runat="server" SetFocusOnError="true" CssClass="ErrMsg"></asp:RequiredFieldValidator>
  910. </div>
  911. </div>
  912. </div>
  913. </div>
  914. <div class="row">
  915. <div class="col-md-4 col-sm-4 hideForOrganisation">
  916. <div class="form-group">
  917. <label>Remitance Allowed:<span class="errormsg">*</span></label>
  918. <asp:RadioButtonList ID="rbRemitanceAllowed" runat="server" CssClass="clearOnOrganisation"
  919. RepeatDirection="Horizontal" RepeatLayout="Table">
  920. <asp:ListItem Text="Enabled" Value="Enabled" Selected="True" />
  921. <asp:ListItem Text="Disabled" Value="Disabled" />
  922. </asp:RadioButtonList>
  923. <asp:RequiredFieldValidator ID="reqrbRemitanceAllowed" ControlToValidate="rbRemitanceAllowed" ValidationGroup="ActivateVG" ErrorMessage="Required!" runat="server" SetFocusOnError="true" CssClass="ErrMsg"></asp:RequiredFieldValidator>
  924. </div>
  925. </div>
  926. <div class="col-md-4 col-sm-4 hideForOrganisation">
  927. <div class="form-group">
  928. <label>Online Login Allowed:<span class="errormsg">*</span></label>
  929. <asp:RadioButtonList ID="rbOnlineLogin" runat="server" CssClass="clearOnOrganisation"
  930. RepeatDirection="Horizontal">
  931. <asp:ListItem Text="Enabled" Value="Enabled" Selected="True" />
  932. <asp:ListItem Text="Disabled" Value="Disabled" />
  933. </asp:RadioButtonList>
  934. <asp:RequiredFieldValidator ID="reqrbOnlineLogin" ControlToValidate="rbOnlineLogin" ValidationGroup="ActivateVG" ErrorMessage="Required!" runat="server" SetFocusOnError="true" CssClass="ErrMsg"></asp:RequiredFieldValidator>
  935. </div>
  936. </div>
  937. <div class="col-md-4 col-sm-4 hideForOrganisation">
  938. <div class="form-group">
  939. <label>Mobile Login Allowed:<span class="errormsg">*</span></label>
  940. <asp:RadioButtonList ID="rbMobileLogin" runat="server" CssClass="clearOnOrganisation"
  941. RepeatDirection="Horizontal">
  942. <asp:ListItem Text="Enabled" Value="Enabled" Selected="True" />
  943. <asp:ListItem Text="Disabled" Value="Disabled" />
  944. </asp:RadioButtonList>
  945. <asp:RequiredFieldValidator ID="reqrbMobileLogin" ControlToValidate="rbOnlineLogin" ValidationGroup="ActivateVG" ErrorMessage="Required!" runat="server" SetFocusOnError="true" CssClass="ErrMsg"></asp:RequiredFieldValidator>
  946. </div>
  947. </div>
  948. </div>
  949. <div class="row">
  950. <div class="col-md-6">
  951. <div class="form-group">
  952. <label>Additional Address Verification Document Collected (Mandatory for NON-FACE TO FACE customers):</label>
  953. <asp:DropDownList ID="ddlDocType" runat="server" CssClass="form-control"></asp:DropDownList>
  954. </div>
  955. </div>
  956. </div>
  957. <div class="row">
  958. <div class="col-sm-12 hideForOrganisation">
  959. <div class="form-group">
  960. <label>Remarks:</label>
  961. <asp:TextBox autocomplete="stopdoingthat" runat="server" ID="txtRemarks" TextMode="MultiLine" placeholder="Remarks" CssClass="form-control clearOnOrganisation" />
  962. </div>
  963. </div>
  964. <div class="col-md-4 col-sm-4" runat="server" id="displayCounterVisit" style="display: none">
  965. <div class="form-group">
  966. <label class="checkbox-ui">
  967. <input type="checkbox" runat="server" class="custom-control-input" id="customerCounterVisit" />
  968. <small class="custom-control-label">Counter Visit</small>
  969. </label>
  970. </div>
  971. </div>
  972. </div>
  973. <div class="row" id="signatureDiv" runat="server" style="display: none">
  974. <div class="col-md-6">
  975. <label class="control-label">Customer Signature:</label>
  976. <div id="signature-pad" class="signature-pad">
  977. <div class="signature-pad--body">
  978. <canvas></canvas>
  979. </div>
  980. <div class="signature-pad--footer">
  981. <div class="description">Sign above</div>
  982. <div class="signature-pad--actions">
  983. <div class="form-group">
  984. <button type="button" class="btn btn-primary clear" data-action="clear">Clear</button>
  985. &nbsp;&nbsp;&nbsp;
  986. <button type="button" class="btn btn-primary" data-action="undo">Undo</button>
  987. </div>
  988. </div>
  989. </div>
  990. </div>
  991. </div>
  992. <div class="col-md-6" style="display: none">
  993. <label class="control-label">Customer Password:</label>
  994. <div>
  995. <asp:TextBox autocomplete="stopdoingthat" TextMode="Password" ID="customerPassword" runat="server" CssClass="form-control" MaxLength="20"></asp:TextBox>
  996. </div>
  997. </div>
  998. </div>
  999. <div class="panel panel-default clearfix m-b-20">
  1000. <div class="panel panel-default">
  1001. <div class="panel-heading">
  1002. Document Information
  1003. <%-- <div class="panel-actions">
  1004. <a href="#" onclick="showDocument()">
  1005. <i class="fa fa-edit"></i>
  1006. </a>
  1007. </div>--%>
  1008. </div>
  1009. <div class="panel-body tb-scroll">
  1010. <table class="table table-bordered">
  1011. <thead>
  1012. <tr>
  1013. <th>SN.</th>
  1014. <th style="white-space: nowrap">Doc Type</th>
  1015. <th>File Type</th>
  1016. <th>File Name</th>
  1017. <th style="white-space: nowrap">Uploaded Date</th>
  1018. </tr>
  1019. </thead>
  1020. <tbody id="docdetails" runat="server">
  1021. </tbody>
  1022. </table>
  1023. </div>
  1024. </div>
  1025. <div class="row" runat="server">
  1026. <div class="form-group">
  1027. <asp:Button ID="SaveEditedData" runat="server" CssClass="btn btn-primary m-t-25" Text="Activate" OnClick="register_Click" CausesValidation="true" ValidationGroup="ActivateVG" />
  1028. <input id="btnBack" type="button" class="btn btn-primary" value="Cancel" onclick="Javascript: history.back();" />
  1029. </div>
  1030. </div>
  1031. </div>
  1032. </div>
  1033. </div>
  1034. </div>
  1035. </div>
  1036. <!--Terms Modal -->
  1037. <div class="modal fade" id="termsAndCondition" tabindex="-1" role="dialog" aria-labelledby="exampleModalLongTitle" aria-hidden="true">
  1038. <div class="modal-dialog modal-lg" role="document">
  1039. <div class="modal-content">
  1040. <div class="modal-header">
  1041. <h3 class="modal-title" id="exampleModalLongTitle">JME 小外国送金サービス 利用規約
  1042. <asp:Localize runat="server" meta:resourcekey="Terms_006" Text="(User Agreement)"></asp:Localize></h3>
  1043. <button type="button" class="close" data-dismiss="modal" aria-label="Close">
  1044. <span aria-hidden="true">&times;</span>
  1045. </button>
  1046. </div>
  1047. <div class="modal-body">
  1048. <div class="tc-pp-bg">
  1049. <ol>
  1050. <li>
  1051. <!------------1-------------->
  1052. <b>Customer Registration</b><br />
  1053. Firstly, the customer shall make an agreement with JME either
  1054. by in person visit, post, e-mail or fax. The applicant is required to submit the
  1055. Application for Remittance as prescribed by JME and place the applicant's signature or
  1056. affixing the applicant's name and seal.<br />
  1057. <br />
  1058. </li>
  1059. <li>
  1060. <!------------2-------------->
  1061. <b>Identity verification documents</b><br />
  1062. <ol type="i">
  1063. <li>For Japanese: Passport, Driver's License, Insurance Card, and Residence Certificate</li>
  1064. <li>For Foreigner: Passport with visa information, Valid Alien Registration Card with Photo</li>
  1065. <li>Provide My Numbers<br />
  1066. <br />
  1067. </li>
  1068. </ol>
  1069. </li>
  1070. <li>
  1071. <!------------3-------------->
  1072. <b>Application for Remittance </b>
  1073. <br />
  1074. State the purpose for remittance and any other required
  1075. information in the Application for Remittance.<br />
  1076. <br />
  1077. How to remit money<br />
  1078. Beneficially is able to receive money either following ways.
  1079. <ol type="i">
  1080. <li>Bank Transfer</li>
  1081. <li>Cash Pick-up</li>
  1082. </ol>
  1083. Foreign remittance limit amount: JPY 1,000,000 (One Million per one transaction)
  1084. <br />
  1085. <br />
  1086. </li>
  1087. <li>
  1088. <!------------4-------------->
  1089. <b>Bank Transfer</b><br />
  1090. Once JME confirms the money received, the fund shall be transferred
  1091. to the desired bank account. After completing the transactions, the beneficially is
  1092. able to receive money on the same day. However it depends on business hours in both countries.
  1093. <br />
  1094. <br />
  1095. </li>
  1096. <li>
  1097. <!------------5-------------->
  1098. <b>Cash Pick-up</b><br />
  1099. Once JME confirms the money received, JME inform the sender of the
  1100. reference number for each transaction by telephone after completing the transactions,
  1101. beneficially is able to receive money at the desired office. However it depends on
  1102. business hours in both countries. When the beneficially cash pick-up, they shall show
  1103. the reference number over the office counter.
  1104. <br />
  1105. <br />
  1106. </li>
  1107. <li>
  1108. <!------------6-------------->
  1109. <b>Exchange Rate</b><br />
  1110. JME publish the exchange rate between receiving country currency and
  1111. Japanese Yen every business day in JME's office counter and home page. When receiving
  1112. the request for remittance, JME shall apply JME’s applicable foreign exchange rate at
  1113. the time when the actual calculation is made by JME. Exchange rate is updated at 10:00,
  1114. 11:00 14:00, and 16:00 every business day. JME give out a receipt to the customer (sender).
  1115. </br>
  1116. <br />
  1117. </li>
  1118. <li>
  1119. <!------------7-------------->
  1120. <b>Remittance charge</b><br />
  1121. please refer to our official web page link<br />
  1122. <a href="http://www.japanremit.com">http://www.japanremit.com</a>
  1123. <br />
  1124. <br />
  1125. </li>
  1126. <li>
  1127. <!------------8-------------->
  1128. <b>How to remit to JME's bank account?</b><br />
  1129. The sender remits the fund in Japanese yen to JME designated account.
  1130. <br />
  1131. <br />
  1132. </li>
  1133. <li>
  1134. <!------------9-------------->
  1135. <b>JME Business Hours</b><br />
  1136. Everyday 9:00 AM - 18:00 PM
  1137. <br />
  1138. <br />
  1139. </li>
  1140. <li>
  1141. <!------------10-------------->
  1142. <b>Contact for Notices and Inquiries</b><br />
  1143. In the case JME fives notices to or makes an inquiry
  1144. with the applicant in respect to this transaction, the address and telephone number stated
  1145. in the Application for Remittance shall be used.
  1146. <br />
  1147. <br />
  1148. </li>
  1149. <li>
  1150. <!------------11-------------->
  1151. <b>Force Majeure</b><br />
  1152. JME shall not be responsible for any losses or damages arising out of any of the following:
  1153. <ol type="A">
  1154. <li>An unavoidable event such as calamities, incidents, wars, accidents during transit, restrictions by
  1155. laws and regulations, and certain actions taken by the governments, courts or other public authorities;
  1156. </li>
  1157. <li>Any failure or malfunction of terminals, communication circuits, computers or other equipment;
  1158. or any mutilation, error or omission in the text resulting from such, which occurred despite
  1159. reasonable security measures taken by JME.
  1160. </li>
  1161. </ol>
  1162. <br />
  1163. <br />
  1164. </li>
  1165. <li>
  1166. <b>Prohibition of Transfer or Pledge</b><br />
  1167. The applicant shall not be allowed to transfer or pledge
  1168. rights under the transactions made herein.
  1169. <br />
  1170. <br />
  1171. </li>
  1172. <li>
  1173. <b>Conflict</b><br />
  1174. The problems caused by the meaning of terms used herein shall be judged by Japanese descriptive sentence.
  1175. If any conflict and controversy or claim aroused relating to any brochure, guide and agreement either in Nepali,
  1176. Japanese or English version, they shall be construed and governed by Japanese version.
  1177. <br />
  1178. <br />
  1179. </li>
  1180. <li>Customer care department shall be in charge of safeguard for our customers.
  1181. If any opinions, inquiry and complains, please inform this department.
  1182. <br />
  1183. <br />
  1184. </li>
  1185. </ol>
  1186. </div>
  1187. </div>
  1188. <div class="modal-footer">
  1189. <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
  1190. <button type="button" id="btnIAgree" data-dismiss="modal" class="btn btn-primary">I agree</button>
  1191. </div>
  1192. </div>
  1193. </div>
  1194. </div>
  1195. </div>
  1196. <div id="tempAddress" hidden></div>
  1197. <asp:HiddenField runat="server" ID="hdnVerifyDoc1" />
  1198. <asp:HiddenField runat="server" ID="hdnVerifyDoc2" />
  1199. <asp:HiddenField runat="server" ID="hdnVerifyDoc4" />
  1200. <asp:HiddenField runat="server" ID="hdnVerifyDoc3" />
  1201. <asp:HiddenField runat="server" ID="hdnCreatedFrom" />
  1202. <asp:HiddenField runat="server" ID="hdnCreatedFroms" />
  1203. <asp:HiddenField runat="server" ID="hdnCustomerId" />
  1204. <asp:HiddenField runat="server" ID="hdnRegisterDate" />
  1205. <asp:HiddenField runat="server" ID="hddIdNumber" />
  1206. <asp:HiddenField runat="server" ID="hdnMembershipNo" />
  1207. <asp:HiddenField runat="server" ID="hddOldEmailValue" />
  1208. <asp:HiddenField runat="server" ID="hddTxnsMade" />
  1209. <asp:HiddenField ID="isDisplaySignature" runat="server" />
  1210. <asp:HiddenField ID="hddImgURL" runat="server" />
  1211. <asp:HiddenField ID="hdnDocument" runat="server" />
  1212. <asp:HiddenField ID="cityHidden" runat="server" />
  1213. <asp:HiddenField ID="ddlStateHidden" runat="server" />
  1214. <asp:HiddenField ID="hfCustomerType" runat="server" />
  1215. </div>
  1216. </div>
  1217. </form>
  1218. </body>
  1219. </html>