Browse Source

Merge branch 'master' of http://202.166.220.79:3000/JME-JAPAN/AgentSystem

# Conflicts:
#	Business/bin/Debug/Repository.dll
#	Business/bin/Debug/Repository.pdb
#	JMEAgentSystem/bin/JMEAgentSystem.dll
#	JMEAgentSystem/bin/JMEAgentSystem.pdb
#	JMEAgentSystem/bin/Repository.dll
#	JMEAgentSystem/bin/Repository.pdb
#	Repository/bin/Debug/Repository.dll
#	Repository/bin/Debug/Repository.pdb
master
shakun 1 year ago
parent
commit
eee18a294b
  1. 2
      .gitignore
  2. BIN
      .vs/JMEAgentSystem/v16/TestStore/0/000.testlog
  3. BIN
      .vs/JMEAgentSystem/v16/TestStore/0/testlog.manifest
  4. 1
      Business/obj/Debug/Business.csproj.CoreCompileInputs.cache
  5. 61
      Business/obj/Debug/Business.csproj.FileListAbsolute.txt
  6. 259
      JMEAgentSystem/Scripts/Customer/CustomerRegistration.js
  7. 11
      JMEAgentSystem/Scripts/Customer/Document.js
  8. 30
      JMEAgentSystem/Scripts/Receiver/ReceiverRegistrationNew.js
  9. 458
      JMEAgentSystem/WebPages/BenificiaryRegistration/Manage.aspx
  10. 3
      JMEAgentSystem/WebPages/BenificiaryRegistration/Manage.aspx.cs
  11. 8
      JMEAgentSystem/WebPages/BenificiaryRegistration/Manage.aspx.designer.cs
  12. 2
      JMEAgentSystem/WebPages/BenificiaryRegistration/PrintBeneficiaryDetails.aspx.cs
  13. 10
      JMEAgentSystem/WebPages/CustomerRegistration/Manage.aspx
  14. 11
      JMEAgentSystem/WebPages/CustomerRegistration/Manage.aspx.cs
  15. 4
      JMEAgentSystem/WebPages/CustomerRegistration/Manage.aspx.designer.cs
  16. 70
      JMEAgentSystem/WebPages/CustomerRegistration/PrintDetails.aspx
  17. 65
      JMEAgentSystem/WebPages/CustomerRegistration/PrintDetails.aspx.cs
  18. 276
      JMEAgentSystem/WebPages/CustomerRegistration/PrintDetails.aspx.designer.cs
  19. 15
      JMEAgentSystem/app.config
  20. BIN
      JMEAgentSystem/obj/Debug/DesignTimeResolveAssemblyReferences.cache
  21. BIN
      JMEAgentSystem/obj/Debug/JMEAgentSystem.dll
  22. BIN
      JMEAgentSystem/obj/Debug/JMEAgentSystem.pdb
  23. 3
      Repository/Repository/OnlineCustomerDao/CustomerRepository.cs
  24. 1
      Repository/obj/Debug/Repository.csproj.CoreCompileInputs.cache
  25. 39
      Repository/obj/Debug/Repository.csproj.FileListAbsolute.txt
  26. BIN
      Repository/obj/Debug/Repository.dll
  27. BIN
      Repository/obj/Debug/Repository.pdb
  28. BIN
      packages/WebGrease.1.5.2/.signature.p7s
  29. BIN
      packages/WebGrease.1.5.2/WebGrease.1.5.2.nupkg
  30. BIN
      packages/WebGrease.1.5.2/lib/WebGrease.dll
  31. BIN
      packages/WebGrease.1.5.2/tools/WG.exe
  32. 90
      packages/WebGrease.1.5.2/tools/install.ps1
  33. 63
      packages/WebGrease.1.5.2/tools/uninstall.ps1

2
.gitignore

@ -1,6 +1,5 @@
/.vs/JMEAgentSystem/config/applicationhost.config
/.vs/JMEAgentSystem/v16/.suo
/API/API.csproj
/API/bin/Debug/API.dll
/API/bin/Debug/API.pdb
/API/bin/Debug/Common.dll
@ -557,7 +556,6 @@
/Common/obj/Debug/Common.dll
/Common/obj/Debug/Common.pdb
/Common/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
/JMEAgentSystem.sln
/JMEAgentSystem/bin/Business.dll
/JMEAgentSystem/bin/Business.pdb
/JMEAgentSystem/bin/Common.dll

BIN
.vs/JMEAgentSystem/v16/TestStore/0/000.testlog

BIN
.vs/JMEAgentSystem/v16/TestStore/0/testlog.manifest

1
Business/obj/Debug/Business.csproj.CoreCompileInputs.cache

@ -0,0 +1 @@
da07f6758244d471e97edb1e72de3c9c3705929b

61
Business/obj/Debug/Business.csproj.FileListAbsolute.txt

@ -0,0 +1,61 @@
H:\JME\JME_Remit_Dev\JMEAgentSystem\Business\bin\Debug\Business.dll
H:\JME\JME_Remit_Dev\JMEAgentSystem\Business\bin\Debug\Business.pdb
H:\JME\JME_Remit_Dev\JMEAgentSystem\Business\bin\Debug\Autofac.dll
H:\JME\JME_Remit_Dev\JMEAgentSystem\Business\bin\Debug\Common.dll
H:\JME\JME_Remit_Dev\JMEAgentSystem\Business\bin\Debug\Newtonsoft.Json.dll
H:\JME\JME_Remit_Dev\JMEAgentSystem\Business\bin\Debug\Repository.dll
H:\JME\JME_Remit_Dev\JMEAgentSystem\Business\bin\Debug\Common.pdb
H:\JME\JME_Remit_Dev\JMEAgentSystem\Business\bin\Debug\Repository.pdb
H:\JME\JME_Remit_Dev\JMEAgentSystem\Business\bin\Debug\Autofac.pdb
H:\JME\JME_Remit_Dev\JMEAgentSystem\Business\bin\Debug\Autofac.xml
H:\JME\JME_Remit_Dev\JMEAgentSystem\Business\bin\Debug\Newtonsoft.Json.xml
H:\JME\JME_Remit_Dev\JMEAgentSystem\Business\obj\Debug\Business.csprojAssemblyReference.cache
H:\JME\JME_Remit_Dev\JMEAgentSystem\Business\obj\Debug\Business.csproj.CoreCompileInputs.cache
H:\JME\JME_Remit_Dev\JMEAgentSystem\Business\obj\Debug\Business.csproj.CopyComplete
H:\JME\JME_Remit_Dev\JMEAgentSystem\Business\obj\Debug\Business.dll
H:\JME\JME_Remit_Dev\JMEAgentSystem\Business\obj\Debug\Business.pdb
H:\JME\JME_Remit_Live\JMEAgentSystem\Business\bin\Debug\Business.dll
H:\JME\JME_Remit_Live\JMEAgentSystem\Business\bin\Debug\Business.pdb
H:\JME\JME_Remit_Live\JMEAgentSystem\Business\bin\Debug\Autofac.dll
H:\JME\JME_Remit_Live\JMEAgentSystem\Business\bin\Debug\Common.dll
H:\JME\JME_Remit_Live\JMEAgentSystem\Business\bin\Debug\Newtonsoft.Json.dll
H:\JME\JME_Remit_Live\JMEAgentSystem\Business\bin\Debug\Repository.dll
H:\JME\JME_Remit_Live\JMEAgentSystem\Business\bin\Debug\Common.pdb
H:\JME\JME_Remit_Live\JMEAgentSystem\Business\bin\Debug\Repository.pdb
H:\JME\JME_Remit_Live\JMEAgentSystem\Business\bin\Debug\Autofac.pdb
H:\JME\JME_Remit_Live\JMEAgentSystem\Business\bin\Debug\Autofac.xml
H:\JME\JME_Remit_Live\JMEAgentSystem\Business\bin\Debug\Newtonsoft.Json.xml
H:\JME\JME_Remit_Live\JMEAgentSystem\Business\obj\Debug\Business.csprojAssemblyReference.cache
H:\JME\JME_Remit_Live\JMEAgentSystem\Business\obj\Debug\Business.csproj.CoreCompileInputs.cache
H:\JME\JME_Remit_Live\JMEAgentSystem\Business\obj\Debug\Business.csproj.CopyComplete
H:\JME\JME_Remit_Live\JMEAgentSystem\Business\obj\Debug\Business.dll
H:\JME\JME_Remit_Live\JMEAgentSystem\Business\obj\Debug\Business.pdb
E:\#JME-JAPAN\12. Agent_Login\Business\bin\Debug\Business.dll.config
E:\#JME-JAPAN\12. Agent_Login\Business\bin\Debug\Business.dll
E:\#JME-JAPAN\12. Agent_Login\Business\bin\Debug\Business.pdb
E:\#JME-JAPAN\12. Agent_Login\Business\bin\Debug\Antlr3.Runtime.dll
E:\#JME-JAPAN\12. Agent_Login\Business\bin\Debug\Autofac.dll
E:\#JME-JAPAN\12. Agent_Login\Business\bin\Debug\Common.dll
E:\#JME-JAPAN\12. Agent_Login\Business\bin\Debug\Microsoft.Web.Infrastructure.dll
E:\#JME-JAPAN\12. Agent_Login\Business\bin\Debug\Newtonsoft.Json.dll
E:\#JME-JAPAN\12. Agent_Login\Business\bin\Debug\Repository.dll
E:\#JME-JAPAN\12. Agent_Login\Business\bin\Debug\System.Web.Optimization.dll
E:\#JME-JAPAN\12. Agent_Login\Business\bin\Debug\Select.HtmlToPdf.dll
E:\#JME-JAPAN\12. Agent_Login\Business\bin\Debug\Common.pdb
E:\#JME-JAPAN\12. Agent_Login\Business\bin\Debug\Common.dll.config
E:\#JME-JAPAN\12. Agent_Login\Business\bin\Debug\Repository.pdb
E:\#JME-JAPAN\12. Agent_Login\Business\bin\Debug\Repository.dll.config
E:\#JME-JAPAN\12. Agent_Login\Business\bin\Debug\Antlr3.Runtime.pdb
E:\#JME-JAPAN\12. Agent_Login\Business\bin\Debug\Autofac.pdb
E:\#JME-JAPAN\12. Agent_Login\Business\bin\Debug\Autofac.xml
E:\#JME-JAPAN\12. Agent_Login\Business\bin\Debug\Newtonsoft.Json.pdb
E:\#JME-JAPAN\12. Agent_Login\Business\bin\Debug\Newtonsoft.Json.xml
E:\#JME-JAPAN\12. Agent_Login\Business\bin\Debug\System.Web.Optimization.xml
E:\#JME-JAPAN\12. Agent_Login\Business\bin\Debug\Select.HtmlToPdf.xml
E:\#JME-JAPAN\12. Agent_Login\Business\bin\Debug\Select.Html.dep
E:\#JME-JAPAN\12. Agent_Login\Business\obj\Debug\Business.csproj.AssemblyReference.cache
E:\#JME-JAPAN\12. Agent_Login\Business\obj\Debug\Business.csproj.CoreCompileInputs.cache
E:\#JME-JAPAN\12. Agent_Login\Business\obj\Debug\Business.csproj.CopyComplete
E:\#JME-JAPAN\12. Agent_Login\Business\obj\Debug\Business.dll
E:\#JME-JAPAN\12. Agent_Login\Business\obj\Debug\Business.pdb
E:\#JME-JAPAN\12. Agent_Login\Business\bin\Debug\WebGrease.dll

259
JMEAgentSystem/Scripts/Customer/CustomerRegistration.js

@ -6,6 +6,10 @@ $(document).ready(function () {
$("#" + mId + "reg_back_id").on("change", function (event) {
compress(event);
});
$("#" + mId + "reg_form_id").on("change", function (event) {
compress(event);
});
//$("#" + mId + "occupation").prop("disabled", true);
$("#" + mId + "recReceiverAccountNo").hide();
@ -76,7 +80,7 @@ $(document).ready(function () {
//}
});
$("#" + mId + "occupation").change(function () {
debugger
//debugger
$("#divOccupation").hide();
$("#" + mId + "occupationText").val('');
if ($("#" + mId + "occupation").val() === "11383") {
@ -141,16 +145,16 @@ $(document).ready(function () {
//, "#CustomerAgreement", "#BenificiaryAgreement", "#TransactionAgreement"
$("#agreement,#MainContent_CustomerAgreement").click(function () {
if ($("#agreement").is(":checked") && $("#MainContent_CustomerAgreement").is(":checked")) {
$("#registerCustomerAndReceiver").removeAttr("disabled");
$("#registerCustomer").removeAttr("disabled");
} else {
$("#registerCustomerAndReceiver").attr("disabled", "disabled");
$("#registerCustomer").attr("disabled", "disabled");
}
});
$("#btnIAgree").on("click", function () {
$("input[name=agreement]").prop("checked", true);
if ($("#agreement").is(":checked") && $("#MainContent_CustomerAgreement").is(":checked")) {
$("#registerCustomerAndReceiver").removeAttr("disabled");
$("#registerCustomer").removeAttr("disabled");
}
});
CustomerSignature();
@ -226,7 +230,7 @@ function CallBackAutocomplete(id) {
$("#" + mId + "hdnCustomerId").val(d[0]);
LoadcustomerData();
$("#" + mId + "addEditPanel").removeAttr("style");
$("#registerCustomerAndReceiver").removeAttr("disabled");
$("#registerCustomer").removeAttr("disabled");
}
function LoadcustomerData() {
@ -335,24 +339,19 @@ function ParseCustomerData(response) {
function CheckMasterFormValidation() {
var requiredFieldAllPresent = ValidateRequiredfields();
if (requiredFieldAllPresent) {
var result = CheckSignatureCustomerFromCustomerRegister();
if (result) {
RegisterCustomerAndReeiverFromAjaxCall();
} else {
return result;
}
} else {
return requiredFieldAllPresent;
}
}
function ValidateRequiredfields() {
if (CheckRequiredFields() == true && CheckCustomerValidation() == true && CheckReceiverValidation() == true && CheckDocumentFormat() == true) {
var a = $("#" + mId + "recDdlPaymentMode option:selected").val();
var b = $("#" + mId + "recDdlPayoutPatner option:selected").val();
var c = $("#" + mId + "recDDLBankBranch option:selected").val();
$("#" + mId + "hddPaymentMode").val($("#" + mId + "recDdlPaymentMode option:selected").val());
$("#" + mId + "hddBankId").val($("#" + mId + "recDdlPayoutPatner option:selected").val());
$("#" + mId + "HddBankBranchId").val($("#" + mId + "recDDLBankBranch option:selected").val());
if (CheckRequiredFields() == true && CheckCustomerValidation() == true && CheckDocumentFormat() == true) {
//var a = $("#" + mId + "recDdlPaymentMode option:selected").val();
//var b = $("#" + mId + "recDdlPayoutPatner option:selected").val();
//var c = $("#" + mId + "recDDLBankBranch option:selected").val();
//$("#" + mId + "hddPaymentMode").val($("#" + mId + "recDdlPaymentMode option:selected").val());
//$("#" + mId + "hddBankId").val($("#" + mId + "recDdlPayoutPatner option:selected").val());
//$("#" + mId + "HddBankBranchId").val($("#" + mId + "recDDLBankBranch option:selected").val());
return true;
} else {
return false;
@ -369,20 +368,22 @@ function CheckRequiredFields() {
if ($("#" + mId + "expiryDiv").hasClass("hidden")) {
reqField = reqField.replace(",ExpireDate,", ",");
}
//receiver required fields
reqField = reqField + "recDdlCountry,recTxtReceiverFName,recTxtReceiverLName,recDdlNativeCountry,recTxtReceiverAddress,recDdlPaymentMode,";
/* reqField = reqField + "recDdlCountry,recTxtReceiverFName,recTxtReceiverLName,recDdlNativeCountry,recTxtReceiverAddress,recDdlPaymentMode,";*/
//let pmode = $("#" + mId + "recDdlPaymentMode").val();
//if (pmode == "2") {
// reqField = reqField + "recDdlPayoutPatner,recTxtBenificaryAc,recDDLBankBranch,"
//}
idTypeVal = $("#" + mId + "ddlIdType").val();
idTypeNumber = $("#" + mId + "txtIdValue").val();
if ((idTypeVal !== null && idTypeVal !== "" && idTypeVal !== "0") || (idTypeNumber !== null && idTypeNumber !== "" && idTypeNumber !== "0")) {
reqField += "" + mId + "ddlIdType," + mId + "txtIdValue,";
}
//idTypeVal = $("#" + mId + "ddlIdType").val();
//idTypeNumber = $("#" + mId + "txtIdValue").val();
//if ((idTypeVal !== null && idTypeVal !== "" && idTypeVal !== "0") || (idTypeNumber !== null && idTypeNumber !== "" && idTypeNumber !== "0")) {
// reqField += "" + mId + "ddlIdType," + mId + "txtIdValue,";
//}
//document required
reqField = reqField + "reg_front_id,reg_back_id,";
reqField = reqField + "reg_front_id,reg_back_id,reg_form_id";
var occupation = $("#" + mId + "occupation").val();
if (occupation == "11383") {
@ -403,6 +404,7 @@ function CheckDocumentFormat() {
$('#front').css('background-color', '#FFFFFF');
$('#back').css('background-color', '#FFFFFF');
$('#reg_form').css('background-color', '#FFFFFF');
var Isvalid = true;
if ($('#MainContent_reg_front_id').val() == "") {
@ -413,7 +415,10 @@ function CheckDocumentFormat() {
$('#back').css('background-color', '#FFCCD2');
Isvalid = false;
}
if ($('#MainContent_reg_form_id').val() == '') {
$('#reg_form').css('background-color', '#FFCCD2');
Isvalid = false;
}
if (Isvalid === false) {
//ShowAlertMessage('Required Field(s)\n _____________________________ \n The red fields are required!', 'info');
swal('Required Field(s)\n _____________________________ \n The red fields are required!');
@ -465,36 +470,36 @@ function CheckCustomerValidation() {
}
function CheckReceiverValidation() {
$("#" + mId + "recDdlIdType").removeAttr("style");
$("#" + mId + "recTxtIdValue").removeAttr("style");
var input = $("#" + mId + "recTxtRecMobileNo");
var mobileNo = input.val();
if (mobileNo != "") {
var countryCode = $(".receiver .country.active .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");
$("#" + mId + "recTxtRecMobileNo").val("");
return false;
}
$("#" + mId + "recTxtRecMobileNo").val(mobileNo);
var numberPattern = /^[+]?[0-9]{6,16}$/;
test = numberPattern.test(mobileNo);
if (!test) {
alert("Mobile No Is Not Valid !");
input.val("");
return false
}
}
paymentMode = $("#" + mId + "recDdlPaymentMode").val();
return true;
}
//function CheckReceiverValidation() {
// $("#" + mId + "recDdlIdType").removeAttr("style");
// $("#" + mId + "recTxtIdValue").removeAttr("style");
// var input = $("#" + mId + "recTxtRecMobileNo");
// var mobileNo = input.val();
// if (mobileNo != "") {
// var countryCode = $(".receiver .country.active .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");
// $("#" + mId + "recTxtRecMobileNo").val("");
// return false;
// }
// $("#" + mId + "recTxtRecMobileNo").val(mobileNo);
// var numberPattern = /^[+]?[0-9]{6,16}$/;
// test = numberPattern.test(mobileNo);
// if (!test) {
// alert("Mobile No Is Not Valid !");
// input.val("");
// return false
// }
// }
// paymentMode = $("#" + mId + "recDdlPaymentMode").val();
// return true;
//}
function loadImage(filePath, id) {
$("#" + id).attr("src", path);
@ -699,29 +704,27 @@ function PopulateCustomerData() {
$("#" + mId + "ddSourceOfFound").val('11167');
$("#" + mId + "ddlDocType").val('11054');
}
function PopulateBenifiairyData() {
$("#" + mId + "recDdlPaymentMode option:selected").val();
$("#" + mId + "recTxtEmail").val('recemail@gmail.com');
$("#" + mId + "recTxtReceiverFName").val('firstnamerec');
$("#" + mId + "recTxtReceiverMName").val('middlenamerec');
$("#" + mId + "recTxtReceiverLName").val('lastnamerec');
$("#" + mId + "recTxtReceiverAddress").val('addressrec');
$("#" + mId + "recTxtReceiverCity").val('cityrec');
$("#" + mId + "recTxtContactNo").val('44444444');
$("#" + mId + "recDdlRelationship").val('10998');
$("#" + mId + "recTxtPlaceOfIssue").val('kathmandu');
$("#" + mId + "recDdlIdType").val('10997');
$("#" + mId + "recTxtIdValue").val('1212121212');
$("#" + mId + "recReceiverAccountNo").val('986566546');
$("#" + mId + "recDdlPurposeOfRemitance").val('11141');
$("#" + mId + "recTxtRemarksRec").val('remarksrec');
$("#" + mId + "recDdlNativeCountry").val('16');
}
//function PopulateBenifiairyData() {
// $("#" + mId + "recDdlPaymentMode option:selected").val();
// $("#" + mId + "recTxtEmail").val('recemail@gmail.com');
// $("#" + mId + "recTxtReceiverFName").val('firstnamerec');
// $("#" + mId + "recTxtReceiverMName").val('middlenamerec');
// $("#" + mId + "recTxtReceiverLName").val('lastnamerec');
// $("#" + mId + "recTxtReceiverAddress").val('addressrec');
// $("#" + mId + "recTxtReceiverCity").val('cityrec');
// $("#" + mId + "recTxtContactNo").val('44444444');
// $("#" + mId + "recDdlRelationship").val('10998');
// $("#" + mId + "recTxtPlaceOfIssue").val('kathmandu');
// $("#" + mId + "recDdlIdType").val('10997');
// $("#" + mId + "recTxtIdValue").val('1212121212');
// $("#" + mId + "recReceiverAccountNo").val('986566546');
// $("#" + mId + "recDdlPurposeOfRemitance").val('11141');
// $("#" + mId + "recTxtRemarksRec").val('remarksrec');
// $("#" + mId + "recDdlNativeCountry").val('16');
//}
function compress(e) {
const width = 300;
const height = 400;
@ -783,35 +786,36 @@ function RegisterCustomerAndReeiverFromAjaxCall() {
var ddlDocType = $("#" + mId + "ddlDocType option:selected").val() == undefined ? "" : $("#" + mId + "ddlDocType option:selected").val();
var txtRemarks = $("#" + mId + "txtRemarks").val();
var occupationHidden = $("#" + mId + "occupationHidden").val();
var hddImgURL = $("#" + mId + "hddImgURL").val();
debugger
//receiver data
var recDdlCountry = $("#" + mId + "recDdlCountry option:selected").text().split('(')[0];
var recDdlBenificiaryType = $("#" + mId + "recDdlBenificiaryType option:selected").val();
var recTxtReceiverFName = $("#" + mId + "recTxtReceiverFName").val();
var recTxtReceiverMName = $("#" + mId + "recTxtReceiverMName").val();
var recTxtReceiverLName = $("#" + mId + "recTxtReceiverLName").val();
var recTxtEmail = $("#" + mId + "recTxtEmail").val();
var recDdlNativeCountry = $("#" + mId + "recDdlNativeCountry option:selected").val();
var recTxtReceiverAddress = $("#" + mId + "recTxtReceiverAddress").val();
var recTxtReceiverCity = $("#" + mId + "recTxtReceiverCity").val();
var recTxtContactNo = $("#" + mId + "recTxtContactNo").val();
var recTxtRecMobileNo = $("#" + mId + "recTxtRecMobileNo").val();
var recDdlIdType = $("#" + mId + "recDdlIdType option:selected").val();
var recTxtIdValue = $("#" + mId + "recTxtIdValue").val();
var recTxtPlaceOfIssue = $("#" + mId + "recTxtPlaceOfIssue").val();
var recDdlRelationship = $("#" + mId + "recDdlRelationship option:selected").val() == undefined ? "" : $("#" + mId + "recDdlRelationship option:selected").val();
var recDdlPurposeOfRemitance = $("#" + mId + "recDdlPurposeOfRemitance option:selected").val() == undefined ? "" : $("#" + mId + "recDdlPurposeOfRemitance option:selected").val();
var purposeOther = $("#" + mId + "purposeOther").val();
var recOtherRelationshipTextBox = $("#" + mId + "recOtherRelationshipTextBox").val();
var recDdlPaymentMode = $("#" + mId + "recDdlPaymentMode").val();
var recDdlPayoutPatner = $("#" + mId + "recDdlPayoutPatner").val();
var recTxtBenificaryAc = $("#" + mId + "recTxtBenificaryAc").val();
var recDDLBankBranch = $("#" + mId + "recDDLBankBranch").val();
var recTxtRemarksRec = $("#" + mId + "recTxtRemarksRec").val();
var branch_manual = $("#" + mId + "branch_manual").val();
var hddImgURL = $("#" + mId + "hddImgURL").val();
//var recDdlCountry = $("#" + mId + "recDdlCountry option:selected").text().split('(')[0];
//var recDdlBenificiaryType = $("#" + mId + "recDdlBenificiaryType option:selected").val();
//var recTxtReceiverFName = $("#" + mId + "recTxtReceiverFName").val();
//var recTxtReceiverMName = $("#" + mId + "recTxtReceiverMName").val();
//var recTxtReceiverLName = $("#" + mId + "recTxtReceiverLName").val();
//var recTxtEmail = $("#" + mId + "recTxtEmail").val();
//var recDdlNativeCountry = $("#" + mId + "recDdlNativeCountry option:selected").val();
//var recTxtReceiverAddress = $("#" + mId + "recTxtReceiverAddress").val();
//var recTxtReceiverCity = $("#" + mId + "recTxtReceiverCity").val();
//var recTxtContactNo = $("#" + mId + "recTxtContactNo").val();
//var recTxtRecMobileNo = $("#" + mId + "recTxtRecMobileNo").val();
//var recDdlIdType = $("#" + mId + "recDdlIdType option:selected").val();
//var recTxtIdValue = $("#" + mId + "recTxtIdValue").val();
//var recTxtPlaceOfIssue = $("#" + mId + "recTxtPlaceOfIssue").val();
//var recDdlRelationship = $("#" + mId + "recDdlRelationship option:selected").val() == undefined ? "" : $("#" + mId + "recDdlRelationship option:selected").val();
//var recDdlPurposeOfRemitance = $("#" + mId + "recDdlPurposeOfRemitance option:selected").val() == undefined ? "" : $("#" + mId + "recDdlPurposeOfRemitance option:selected").val();
//var purposeOther = $("#" + mId + "purposeOther").val();
//var recOtherRelationshipTextBox = $("#" + mId + "recOtherRelationshipTextBox").val();
//var recDdlPaymentMode = $("#" + mId + "recDdlPaymentMode").val();
//var recDdlPayoutPatner = $("#" + mId + "recDdlPayoutPatner").val();
//var recTxtBenificaryAc = $("#" + mId + "recTxtBenificaryAc").val();
//var recDDLBankBranch = $("#" + mId + "recDDLBankBranch").val();
//var recTxtRemarksRec = $("#" + mId + "recTxtRemarksRec").val();
//var branch_manual = $("#" + mId + "branch_manual").val();
//
formData.append("MethodName", "SaveCustomer");
formData.append("firstName", firstName);
@ -844,34 +848,35 @@ function RegisterCustomerAndReeiverFromAjaxCall() {
formData.append("rbOnlineLogin", rbOnlineLogin);
formData.append("ddlDocType", ddlDocType);
formData.append("txtRemarks", txtRemarks);
formData.append("recDdlCountry", recDdlCountry);
formData.append("recDdlBenificiaryType", recDdlBenificiaryType);
formData.append("recTxtReceiverFName", recTxtReceiverFName);
formData.append("recTxtReceiverMName", recTxtReceiverMName);
formData.append("recTxtReceiverLName", recTxtReceiverLName);
formData.append("recTxtEmail", recTxtEmail);
formData.append("recDdlNativeCountry", recDdlNativeCountry);
formData.append("recTxtReceiverAddress", recTxtReceiverAddress);
formData.append("recTxtReceiverCity", recTxtReceiverCity);
formData.append("recTxtContactNo", recTxtContactNo);
formData.append("recTxtRecMobileNo", recTxtRecMobileNo);
formData.append("recDdlIdType", recDdlIdType);
formData.append("recTxtIdValue", recTxtIdValue);
formData.append("recTxtPlaceOfIssue", recTxtPlaceOfIssue);
formData.append("recDdlRelationship", recDdlRelationship);
formData.append("recDdlPurposeOfRemitance", recDdlPurposeOfRemitance);
formData.append("purposeOther", purposeOther);
formData.append("recDdlPaymentMode", recDdlPaymentMode);
formData.append("recDdlPayoutPatner", recDdlPayoutPatner);
formData.append("recTxtBenificaryAc", recTxtBenificaryAc);
formData.append("recDDLBankBranch", recDDLBankBranch);
formData.append("recTxtRemarksRec", recTxtRemarksRec);
formData.append("recOtherRelationshipTextBox", recOtherRelationshipTextBox);
formData.append("branch_manual", branch_manual);
formData.append("occupationHidden", occupationHidden);
formData.append("hddImgURL", hddImgURL);
//formData.append("recDdlCountry", recDdlCountry);
//formData.append("recDdlBenificiaryType", recDdlBenificiaryType);
//formData.append("recTxtReceiverFName", recTxtReceiverFName);
//formData.append("recTxtReceiverMName", recTxtReceiverMName);
//formData.append("recTxtReceiverLName", recTxtReceiverLName);
//formData.append("recTxtEmail", recTxtEmail);
//formData.append("recDdlNativeCountry", recDdlNativeCountry);
//formData.append("recTxtReceiverAddress", recTxtReceiverAddress);
//formData.append("recTxtReceiverCity", recTxtReceiverCity);
//formData.append("recTxtContactNo", recTxtContactNo);
//formData.append("recTxtRecMobileNo", recTxtRecMobileNo);
//formData.append("recDdlIdType", recDdlIdType);
//formData.append("recTxtIdValue", recTxtIdValue);
//formData.append("recTxtPlaceOfIssue", recTxtPlaceOfIssue);
//formData.append("recDdlRelationship", recDdlRelationship);
//formData.append("recDdlPurposeOfRemitance", recDdlPurposeOfRemitance);
//formData.append("purposeOther", purposeOther);
//formData.append("recDdlPaymentMode", recDdlPaymentMode);
//formData.append("recDdlPayoutPatner", recDdlPayoutPatner);
//formData.append("recTxtBenificaryAc", recTxtBenificaryAc);
//formData.append("recDDLBankBranch", recDDLBankBranch);
//formData.append("recTxtRemarksRec", recTxtRemarksRec);
//formData.append("recOtherRelationshipTextBox", recOtherRelationshipTextBox);
//formData.append("branch_manual", branch_manual);
//formData.append("hddImgURL", hddImgURL);
$.ajax({
url: "",
type: "post",

11
JMEAgentSystem/Scripts/Customer/Document.js

@ -19,4 +19,15 @@ $('#MainContent_reg_back_id').on('change', function (e) {
$(this).after('<span class="loadImg1"><img src="' + tmppath + '" alt=""></span>');
$(".loadImg1 img").fadeIn("fast");
}
});
$('#MainContent_reg_form_id').on('change', function (e) {
$('.loadImg2').remove();
// console.log(e.target, 'e')
for (var i = 0; i < e.target.files.length; i++) {
var tmppath = URL.createObjectURL(e.target.files[i]);
$(this).after('<span class="loadImg2"><img src="' + tmppath + '" alt=""></span>');
$(".loadImg2 img").fadeIn("fast");
}
});

30
JMEAgentSystem/Scripts/Receiver/ReceiverRegistrationNew.js

@ -1,14 +1,14 @@
function CallSignature() {
CustomerSignature();
$(document).ready(function () {
$("#MainContent_BenificiaryAgreement").click(function () {
if ($("#MainContent_BenificiaryAgreement").is(":checked")) {
$("#" + mId + "register").removeAttr("disabled");
} else {
$("#" + mId + "register").attr("disabled", "disabled");
}
});
//$("#MainContent_BenificiaryAgreement").click(function () {
// if ($("#MainContent_BenificiaryAgreement").is(":checked")) {
// $("#" + mId + "register").removeAttr("disabled");
// } else {
// $("#" + mId + "register").attr("disabled", "disabled");
// }
//});
$("#" + mId + "ddlPurposeOfRemitance").on("change", function () {
let purposeValue = $("#" + mId + "ddlPurposeOfRemitance option:selected").val();
if (purposeValue == '11347') {
@ -22,13 +22,13 @@
$("#" + mId + "register").click(function () {
var isFormDataValid = CheckFormValidation();
if (isFormDataValid === true) {
var customerSignature = CheckSignatureCustomerFromCustomerRegister();
if (customerSignature === true) {
//var customerSignature = CheckSignatureCustomerFromCustomerRegister();
//if (customerSignature === true) {
save();
}
else {
return false;
}
//}
//else {
// return false;
//}
}
else {
return false;
@ -437,7 +437,7 @@ function PopulateBranchDDL(populateData, recDdlId, defaultText) {
}
function CheckForBranchShowIde() {
debugger
// debugger
var country = $("#" + mId + "ddlCountry option:selected ").text().split('(')[0];
if (country.toUpperCase() === 'NEPAL' || country.toUpperCase() === 'VIETNAM') {
$('#branchSelect').hide();

458
JMEAgentSystem/WebPages/BenificiaryRegistration/Manage.aspx

@ -18,7 +18,7 @@
</div>
<div class="panel-body">
<div class="row">
<div class="col-sm-2">
<div class="col-md-2">
<asp:DropDownList ID="ddlCustomerType" runat="server" CssClass="form-control" Style="margin-bottom: 5px;">
<asp:ListItem Value="idNumber" Text="Id Number" Selected="True"></asp:ListItem>
<asp:ListItem Value="email" Text="Email"></asp:ListItem>
@ -29,15 +29,15 @@
<div class="col-md-3">
<asp:TextBox ID="customerId" Width="200px" runat="server" CssClass="form-control"></asp:TextBox>
</div>
<div class="col-md-3">
<div class="form-group">
<label>&nbsp;</label><br />
<asp:Button ID="search" runat="server" CssClass="btn btn-primary m-t-25" Text="Search" OnClick="search_Click" />
</div>
<div class="form-group">
<label>&nbsp;</label><br />
<asp:Button ID="clear" runat="server" CssClass="btn btn-primary m-t-25" Text="Clear" OnClientClick="ClearAll()" />
</div>
<div class="col-md-1" style="margin-top: -25px;">
<label>&nbsp;</label><br />
<asp:Button ID="search" runat="server" CssClass="btn btn-primary m-t-25" Text="Search" OnClick="search_Click" />
</div>
<div class="col-md-4 col-sm-4" style="margin-top: -25px;">
<label>&nbsp;</label><br />
<asp:Button ID="clear" runat="server" CssClass="btn btn-primary m-t-25" Text="Clear" OnClientClick="ClearAll()" />
</div>
</div>
</div>
@ -45,279 +45,281 @@
</div>
</div>
</div>
<div class="row" id="infoDiv" runat="server">
<div class="col-md-12">
<div class="register-form">
<div class="panel panel-default clearfix m-b-20" id="loadingDiv">
<div class="panel-heading">
<h4 class="panel-title">Beneficiary List : <span id="customerName" runat="server"></span>( <span id="membershiId" runat="server"></span>)</h4>
</div>
<div class="panel-body">
<div class="table-responsive">
<table class="table">
<tr>
<th>S. No.</th>
<th>Name</th>
<th>Address</th>
<th>Mobile</th>
<th>Collection Mode</th>
<th>Bank Name</th>
<th>Account No</th>
</div>
<div class="row" id="infoDiv" runat="server">
<div class="col-md-12">
<div class="register-form">
<div class="panel panel-default clearfix m-b-20" id="loadingDiv">
<div class="panel-heading">
<h4 class="panel-title">Beneficiary List : <span id="customerName" runat="server"></span>( <span id="membershiId" runat="server"></span>)</h4>
</div>
<div class="panel-body">
<div class="table-responsive">
<table class="table">
<tr>
<th>S. No.</th>
<th>Name</th>
<th>Address</th>
<th>Mobile</th>
<th>Collection Mode</th>
<th>Bank Name</th>
<th>Account No</th>
</tr>
<span id="test" runat="server"></span>
</table>
</div>
</tr>
<span id="test" runat="server"></span>
</table>
</div>
</div>
</div>
<div class="panel panel-default clearfix m-b-20">
<div class="panel-body">
<div class="col-md-12">
<div class="form-group">
<input type="button" id="add" class="btn btn-primary m-t-25" value="Add" />
</div>
<div class="panel panel-default clearfix m-b-20">
<div class="panel-body">
<div class="col-md-12">
<div class="form-group">
<input type="button" id="add" class="btn btn-primary m-t-25" value="Add" />
</div>
</div>
</div>
</div>
</div>
</div>
<div class="report-tab" id="regUp" runat="server">
<div class="tab-content">
<div role="tabpanel" class="tab-pane" id="List">
</div>
<div role="tabpanel" id="Manage">
<div class="row">
<div class="col-sm-12 col-md-12">
<div class="register-form">
<div class="panel panel-default clearfix m-b-20">
<div class="panel-heading">
<h4 class="panel-title">Beneficiary Details </h4>
</div>
<div class="report-tab" id="regUp" runat="server">
<div class="tab-content">
<div role="tabpanel" class="tab-pane" id="List">
</div>
<div role="tabpanel" id="Manage">
<div class="row">
<div class="col-sm-12 col-md-12">
<div class="register-form">
<div class="panel panel-default clearfix m-b-20">
<div class="panel-heading">
<h4 class="panel-title">Beneficiary Details </h4>
</div>
<div class="panel-body">
<div class="col-md-12" id="msgDiv" runat="server" visible="false" style="background-color: red;">
<asp:Label ID="msgLabel" runat="server" ForeColor="White"></asp:Label>
</div>
<div class="panel-body">
<div class="col-md-12" id="msgDiv" runat="server" visible="false" style="background-color: red;">
<asp:Label ID="msgLabel" runat="server" ForeColor="White"></asp:Label>
</div>
<%--body part--%>
<asp:HiddenField ID="HiddenField1" runat="server" />
<asp:HiddenField ID="hideBenificialId" runat="server" />
<asp:HiddenField ID="hideMembershipId" runat="server" />
<div class="col-md-4">
<div class="form-group">
<label>Country:<span class="errormsg">*</span></label>
<asp:DropDownList ID="ddlCountry" onChange="ddlCountryChange()" CssClass="form-control" runat="server">
<asp:ListItem Text="Select.."></asp:ListItem>
</asp:DropDownList>
</div>
<%--body part--%>
<asp:HiddenField ID="HiddenField1" runat="server" />
<asp:HiddenField ID="hideBenificialId" runat="server" />
<asp:HiddenField ID="hideMembershipId" runat="server" />
<div class="col-md-4">
<div class="form-group">
<label>Country:<span class="errormsg">*</span></label>
<asp:DropDownList ID="ddlCountry" onChange="ddlCountryChange()" CssClass="form-control" runat="server">
<asp:ListItem Text="Select.."></asp:ListItem>
</asp:DropDownList>
</div>
<div class="col-md-4">
<div class="form-group">
<label>Beneficiary Type:<span class="errormsg">*</span></label>
<asp:DropDownList ID="ddlBenificiaryType" CssClass="form-control" runat="server">
</asp:DropDownList>
</div>
</div>
<div class="col-md-4">
<div class="form-group">
<label>Beneficiary Type:<span class="errormsg">*</span></label>
<asp:DropDownList ID="ddlBenificiaryType" CssClass="form-control" runat="server">
</asp:DropDownList>
</div>
<div class="col-md-4" style="display: none;">
<div class="form-group">
<label>Contact No:</label>
<asp:TextBox runat="server" ID="txtContactNo" onchange="CheckForPhoneNumber(this,'Contact No.')" CssClass="form-control" placeholder="Beneficiary Contact No" MaxLength="13"></asp:TextBox>
</div>
</div>
<div class="col-md-4" style="display: none;">
<div class="form-group">
<label>Contact No:</label>
<asp:TextBox runat="server" ID="txtContactNo" onchange="CheckForPhoneNumber(this,'Contact No.')" CssClass="form-control" placeholder="Beneficiary Contact No" MaxLength="13"></asp:TextBox>
</div>
<div class="col-md-4" style="display: none">
<div class="form-group">
<label>Email:</label>
<asp:TextBox ID="txtEmail" TextMode="Email" runat="server" CssClass="form-control"></asp:TextBox>
<asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" Display="Dynamic"
ErrorMessage="Invalid Email Id!" ForeColor="Red" SetFocusOnError="True" ValidationGroup="send"
ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" CssClass="inv"
ControlToValidate="txtEmail"></asp:RegularExpressionValidator>
</div>
</div>
<div class="col-md-4" style="display: none">
<div class="form-group">
<label>Email:</label>
<asp:TextBox ID="txtEmail" TextMode="Email" runat="server" CssClass="form-control"></asp:TextBox>
<asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" Display="Dynamic"
ErrorMessage="Invalid Email Id!" ForeColor="Red" SetFocusOnError="True" ValidationGroup="send"
ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" CssClass="inv"
ControlToValidate="txtEmail"></asp:RegularExpressionValidator>
</div>
<div class="col-md-4">
<div class="form-group">
<label>First Name:<span class="errormsg">*</span></label>
<asp:TextBox runat="server" ID="txtReceiverFName" CssClass="form-control" placeholder="Beneficiary First Name"></asp:TextBox>
</div>
</div>
<div class="col-md-4">
<div class="form-group">
<label>First Name:<span class="errormsg">*</span></label>
<asp:TextBox runat="server" ID="txtReceiverFName" CssClass="form-control" placeholder="Beneficiary First Name"></asp:TextBox>
</div>
<div class="col-md-4">
<div class="form-group">
<label>Middle Name:</label>
<asp:TextBox runat="server" ID="txtReceiverMName" CssClass="form-control" placeholder="Beneficiary Middle Name"></asp:TextBox>
</div>
</div>
<div class="col-md-4">
<div class="form-group">
<label>Middle Name:</label>
<asp:TextBox runat="server" ID="txtReceiverMName" CssClass="form-control" placeholder="Beneficiary Middle Name"></asp:TextBox>
</div>
<div class="col-md-4">
<div class="form-group">
<label>Last Name:<span class="errormsg">*</span></label>
<asp:TextBox runat="server" ID="txtReceiverLName" CssClass="form-control" placeholder="Beneficiary Last Name"></asp:TextBox>
</div>
</div>
<div class="col-md-4">
<div class="form-group">
<label>Last Name:<span class="errormsg">*</span></label>
<asp:TextBox runat="server" ID="txtReceiverLName" CssClass="form-control" placeholder="Beneficiary Last Name"></asp:TextBox>
</div>
<div class="col-md-4">
<div class="form-group">
<label>Native Country :<span class="errormsg">*</span></label>
<asp:DropDownList ID="ddlNativeCountry" CssClass="form-control" runat="server">
</asp:DropDownList>
</div>
</div>
<div class="col-md-4">
<div class="form-group">
<label>Native Country :<span class="errormsg">*</span></label>
<asp:DropDownList ID="ddlNativeCountry" CssClass="form-control" runat="server">
</asp:DropDownList>
</div>
<div class="col-md-4">
<div class="form-group">
<label>Beneficiary Address:<span class="errormsg">*</span></label>
<asp:TextBox runat="server" ID="txtReceiverAddress" CssClass="form-control" placeholder="Beneficiary Address"></asp:TextBox>
</div>
</div>
<div class="col-md-4">
<div class="form-group">
<label>Beneficiary Address:<span class="errormsg">*</span></label>
<asp:TextBox runat="server" ID="txtReceiverAddress" CssClass="form-control" placeholder="Beneficiary Address"></asp:TextBox>
</div>
<div class="col-md-4">
<div class="form-group">
<label>Beneficiary City:</label>
<asp:TextBox runat="server" ID="txtReceiverCity" CssClass="form-control" placeholder="Beneficiary City"></asp:TextBox>
</div>
</div>
<div class="col-md-4">
<div class="form-group">
<label>Beneficiary City:</label>
<asp:TextBox runat="server" ID="txtReceiverCity" CssClass="form-control" placeholder="Beneficiary City"></asp:TextBox>
</div>
</div>
<div class="col-md-4">
<div class="form-group" style="overflow: initial;">
<label>Mobile No.: <span class="errormsg">*</span></label><br />
<asp:TextBox runat="server" MaxLength="16" ID="txtSenderMobileNo" placeholder="Mobile No" CssClass="form-control" />
</div>
<div class="col-md-4">
<div class="form-group" style="overflow: initial;">
<label>Mobile No.: <span class="errormsg">*</span></label><br />
<asp:TextBox runat="server" MaxLength="16" ID="txtSenderMobileNo" placeholder="Mobile No" CssClass="form-control" />
</div>
</div>
<div class="col-md-4">
<div class="form-group">
<label>Id Type:</label>
<asp:DropDownList ID="ddlIdType" CssClass="form-control" runat="server">
</asp:DropDownList>
</div>
<div class="col-md-4">
<div class="form-group">
<label>Id Type:</label>
<asp:DropDownList ID="ddlIdType" CssClass="form-control" runat="server">
</asp:DropDownList>
</div>
<div class="col-md-4">
<label>Id Number: <span class="errormsg" id="idNumberErr" hidden>*</span></label></label>
</div>
<div class="col-md-4">
<label>Id Number: <span class="errormsg" id="idNumberErr" hidden>*</span></label></label>
<div class="form-group">
<asp:TextBox runat="server" ID="txtIdValue" CssClass="form-control" disabled="disabled" placeholder="Any Photo Id"></asp:TextBox>
</div>
</div>
<div class="col-md-4">
<div class="form-group">
<label>Place of Issue:</label>
<asp:TextBox runat="server" ID="txtPlaceOfIssue" CssClass="form-control" placeholder="Place Of Issue"></asp:TextBox>
</div>
<div class="col-md-4">
<div class="form-group">
<label>Place of Issue:</label>
<asp:TextBox runat="server" ID="txtPlaceOfIssue" CssClass="form-control" placeholder="Place Of Issue"></asp:TextBox>
</div>
</div>
<div class="col-md-4">
<div class="form-group">
<label>Relationship To Beneficiary:</label>
<asp:DropDownList ID="ddlRelationship" onChange="showTextBox()" CssClass="form-control" runat="server">
</asp:DropDownList>
</div>
</div>
<div class="col-md-4">
<div class="form-group">
<label>Relationship To Beneficiary:</label>
<asp:DropDownList ID="ddlRelationship" onChange="showTextBox()" CssClass="form-control" runat="server">
</asp:DropDownList>
</div>
<div class="col-md-4">
<div class="form-group" id="otherRelationDiv" runat="server">
<label>Description of other relationship:</label>
<asp:TextBox runat="server" ID="otherRelationshipTextBox" CssClass="form-control" placeholder="Other Relation Description"></asp:TextBox>
</div>
</div>
<div class="col-md-4">
<div class="form-group" id="otherRelationDiv" runat="server">
<label>Description of other relationship:</label>
<asp:TextBox runat="server" ID="otherRelationshipTextBox" CssClass="form-control" placeholder="Other Relation Description"></asp:TextBox>
</div>
<div class="clearfix"></div>
<p class="col-md-12">
<label class="">Transaction Information</label>
</p>
<div class="col-md-4">
<div class="form-group">
<label>Purpose of Remitance:</label>
<asp:DropDownList ID="ddlPurposeOfRemitance" runat="server" CssClass="form-control">
</asp:DropDownList>
</div>
</div>
<div class="clearfix"></div>
<p class="col-md-12">
<label class="">Transaction Information</label>
</p>
<div class="col-md-4">
<div class="form-group">
<label>Purpose of Remitance:</label>
<asp:DropDownList ID="ddlPurposeOfRemitance" runat="server" CssClass="form-control">
</asp:DropDownList>
</div>
<div class="col-md-4 col-sm-4" id="purposeOtherDiv" style="display: none;">
<div class="form-group">
<label>Purpose Other:<span class="errormsg">*</span></label>
<asp:TextBox ID="purposeOther" runat="server" CssClass="required form-control"></asp:TextBox>
</div>
</div>
<div class="col-md-4 col-sm-4" id="purposeOtherDiv" style="display: none;">
<div class="form-group">
<label>Purpose Other:<span class="errormsg">*</span></label>
<asp:TextBox ID="purposeOther" runat="server" CssClass="required form-control"></asp:TextBox>
</div>
<div class="col-md-4">
<div class="form-group">
<label>Payment Mode:<span class="errormsg">*</span></label>
<asp:DropDownList ID="ddlPaymentMode" runat="server" CssClass="form-control" onchange="PopulatePayoutPartner()">
</asp:DropDownList>
</div>
</div>
<div class="col-md-4">
<div class="form-group">
<label>Payment Mode:<span class="errormsg">*</span></label>
<asp:DropDownList ID="ddlPaymentMode" runat="server" CssClass="form-control" onchange="PopulatePayoutPartner()">
</asp:DropDownList>
</div>
<div class="col-md-4">
<div class="form-group">
<label>Agent/Bank:</label>
<asp:DropDownList ID="ddlPayoutPatner" onchange="PopulateLocation()" runat="server" CssClass="form-control">
</asp:DropDownList>
</div>
</div>
<div class="col-md-4">
<div class="form-group">
<label>Agent/Bank:</label>
<asp:DropDownList ID="ddlPayoutPatner" onchange="PopulateLocation()" runat="server" CssClass="form-control">
</asp:DropDownList>
</div>
<div class="col-md-4" hidden="hidden">
<div class="form-group">
<label>Agent/Bank:<span><i>Type if Not Found</i></span></label>
<asp:TextBox ID="txtBankName" runat="server" CssClass="form-control clearOnNotBank"></asp:TextBox>
</div>
</div>
<div class="col-md-4" hidden="hidden">
<div class="form-group">
<label>Agent/Bank:<span><i>Type if Not Found</i></span></label>
<asp:TextBox ID="txtBankName" runat="server" CssClass="form-control clearOnNotBank"></asp:TextBox>
</div>
<div class="col-md-4 showOnBankMethod" id="receiverAccountNo" runat="server" style="display: none;">
<div class="form-group">
<label>Beneficiary A/c #:</label>
<asp:TextBox ID="txtBenificaryAc" runat="server" CssClass="form-control clearOnNotBank"></asp:TextBox>
</div>
</div>
<div class="col-md-4 showOnBankMethod" id="receiverAccountNo" runat="server" style="display: none;">
<div class="form-group">
<label>Beneficiary A/c #:</label>
<asp:TextBox ID="txtBenificaryAc" runat="server" CssClass="form-control clearOnNotBank"></asp:TextBox>
</div>
<div class="col-md-4 col-sm-4" id="branchSelect" style="display: none;">
<div class="form-group">
<label>Branch:<span class="errormsg" id="branchRequired">*</span></label>
<asp:DropDownList ID="DDLBankLocation" runat="server" CssClass="required form-control"></asp:DropDownList>
</div>
</div>
<div class="col-md-4 col-sm-4" id="branchSelect" style="display: none;">
<div class="form-group">
<label>Branch:<span class="errormsg" id="branchRequired">*</span></label>
<asp:DropDownList ID="DDLBankLocation" runat="server" CssClass="required form-control"></asp:DropDownList>
</div>
<div class="col-md-4 col-sm-4" id="branchManual" style="display: none;">
<div class="form-group">
<label>Branch:<span class="errormsg" id="branchTxtRequired">*</span></label>
<asp:TextBox ID="branch_manual" runat="server" CssClass="required form-control"></asp:TextBox>
</div>
</div>
<div class="col-md-4 col-sm-4" id="branchManual" style="display: none;">
<div class="form-group">
<label>Branch:<span class="errormsg" id="branchTxtRequired">*</span></label>
<asp:TextBox ID="branch_manual" runat="server" CssClass="required form-control"></asp:TextBox>
</div>
<div class="col-md-12">
<div class="form-group">
<label>Remarks:</label>
<asp:TextBox ID="txtRemarks" runat="server" TextMode="MultiLine" Rows="2" CssClass="form-control"></asp:TextBox>
</div>
</div>
<div class="col-md-12">
<div class="form-group">
<label>Remarks:</label>
<asp:TextBox ID="txtRemarks" runat="server" TextMode="MultiLine" Rows="2" CssClass="form-control"></asp:TextBox>
</div>
<%--End body part--%>
</div>
<%--End body part--%>
</div>
<div class="panel panel-default clearfix m-b-20" id="customerDocument">
<div class="panel-heading">Document Information</div>
<div class="col-md-6">
<div class="form-group">
<label id="lblreg_front_id">
<asp:Localize runat="server" meta:resourcekey="Register_040" Text="Add Beneficiary Form"></asp:Localize><span class="errormsg">*</span></label>
<div class="img-sample" style="display: none;">
<label>
<asp:Localize runat="server" meta:resourcekey="Register_041" Text="Sample Image"></asp:Localize></label>
<div class="samp-control">
<img src="/AgentNew/Img/alien-reg-front.jpg" alt="sample image" id="idImg1" />
<div class="enlarge">
<img src="/AgentNew/Img/alien-reg-front.jpg" alt="sample image" id="idImg2" />
</div>
</div>
<div class="panel panel-default clearfix m-b-20" id="customerDocument">
<div class="panel-heading">Document Information</div>
<div class="col-md-6">
<div class="form-group">
<label id="lblreg_front_id">
<asp:Localize runat="server" meta:resourcekey="Register_040" Text="Add Beneficiary Form"></asp:Localize><span class="errormsg">*</span></label>
<div class="img-sample" style="display: none;">
<label>
<asp:Localize runat="server" meta:resourcekey="Register_041" Text="Sample Image"></asp:Localize></label>
<div class="samp-control">
<img src="/AgentNew/Img/alien-reg-front.jpg" alt="sample image" id="idImg1" />
<div class="enlarge">
<img src="/AgentNew/Img/alien-reg-front.jpg" alt="sample image" id="idImg2" />
</div>
</div>
<div class="row" runat="server">
<div class="col-md-12 form-group">
<asp:Button ID="register" runat="server" disabled="disabled" CssClass="btn btn-primary m-t-25" Text="Submit" />
<%--<asp:Button ID="register" runat="server" CssClass="btn btn-primary m-t-25" Text="Submit" OnClientClick="return CheckFormValidation()" />--%>
<div class="file-upload" id="beneficiaryReg">
<asp:FileUpload ID="beneficiary_reg" type="file" runat="server" class="uploadbutton required" accept="image/capture" capture="camera" />
<%--<input type="file" name="reg-front-id" id="reg-front-id" required="required" class="uploadbutton" accept="image/*" />--%>
<span>
<asp:Localize runat="server" meta:resourcekey="Register_042" Text="Drag and drop your file here or "></asp:Localize><span class="primary-c"><asp:Localize runat="server" meta:resourcekey="Register_043" Text="Browse"></asp:Localize></span>
<asp:Localize runat="server" meta:resourcekey="Register_044" Text=" for a document to upload"></asp:Localize>
</span>
</div>
</div>
<div class="row" runat="server">
<div class="col-md-12 form-group">
<%--<asp:Button ID="register" runat="server" CssClass="btn btn-primary m-t-25" Text="Submit" OnClientClick="return CheckFormValidation()" />--%>
<div class="file-upload" id="beneficiaryReg">
<asp:FileUpload ID="beneficiary_reg" type="file" runat="server" class="uploadbutton required" accept="image/capture" capture="camera" />
<%--<input type="file" name="reg-front-id" id="reg-front-id" required="required" class="uploadbutton" accept="image/*" />--%>
<span>
<asp:Localize runat="server" meta:resourcekey="Register_042" Text="Drag and drop your file here or "></asp:Localize><span class="primary-c"><asp:Localize runat="server" meta:resourcekey="Register_043" Text="Browse"></asp:Localize></span>
<asp:Localize runat="server" meta:resourcekey="Register_044" Text=" for a document to upload"></asp:Localize>
</span>
</div>
</div>
</div>
</div>
</div>
</div>
<asp:Button ID="register" runat="server" CssClass="btn btn-primary m-t-25" Text="Submit" />
</div>
</div>
</div>
</div>
</div>
<asp:HiddenField ID="hddImgURL" runat="server" />
</div>
<asp:HiddenField ID="hddImgURL" runat="server" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Script" runat="server">
<style>
@ -339,7 +341,7 @@
<script src="/Scripts/jquery.validate.js"></script>
<script src="/Plugins/bootstrap-datepicker/js/bootstrap-datepicker.min.js"></script>
<script src="/Scripts/notify.js"></script>
<script src="/Scripts/Customer/Document.js"></script>
<%--<script src="/Scripts/Customer/Document.js"></script> --%>
<script src="/Scripts/js/swift_autocomplete.js"></script>
<script src="/js/singnature/signature_pad.umd.js"></script>
<script src="/js/singnature/customerSignature.js"></script>

3
JMEAgentSystem/WebPages/BenificiaryRegistration/Manage.aspx.cs

@ -213,7 +213,8 @@ namespace JMEAgentSystem.WebPages.BenificiaryRegistration
var jsonString = JsonConvert.SerializeObject(dbResult);
Response.ContentType = "application/json";
Response.Write(jsonString);
Response.End();
// Response.End();
HttpContext.Current.ApplicationInstance.CompleteRequest();
}
catch (Exception ex)
{

8
JMEAgentSystem/WebPages/BenificiaryRegistration/Manage.aspx.designer.cs

@ -402,22 +402,22 @@ namespace JMEAgentSystem.WebPages.BenificiaryRegistration
protected global::System.Web.UI.WebControls.TextBox txtRemarks;
/// <summary>
/// register control.
/// beneficiary_reg control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Button register;
protected global::System.Web.UI.WebControls.FileUpload beneficiary_reg;
/// <summary>
/// beneficiary_reg control.
/// register control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.FileUpload beneficiary_reg;
protected global::System.Web.UI.WebControls.Button register;
/// <summary>
/// hddImgURL control.

2
JMEAgentSystem/WebPages/BenificiaryRegistration/PrintBeneficiaryDetails.aspx.cs

@ -71,7 +71,7 @@ namespace JMEAgentSystem.WebPages.BenificiaryRegistration
//set receiver dettails
SetReceiverDetails(dataSet.Tables[2].Rows[0]);
PrintDetails pd = new PrintDetails();
docDiv.InnerHtml = pd.GetSignatrueHtml(dataSet, "Staff Visit - Bene. Reg(Customer Signature)", dataSet.Tables[2].Rows[0]["receiverId"].ToString());
// docDiv.InnerHtml = pd.GetSignatrueHtml(dataSet, "Staff Visit - Bene. Reg(Customer Signature)", dataSet.Tables[2].Rows[0]["receiverId"].ToString());
}

10
JMEAgentSystem/WebPages/CustomerRegistration/Manage.aspx

@ -333,9 +333,9 @@
<div class="col-md-6" id="divreg_reg_form">
<div class="form-group">
<label>
Registration Form <span class="errormsg1">*</span></label>
<div class="file-upload" id="reg_Form">
<asp:FileUpload ID="reg_form" type="file" runat="server" class="uploadbutton required" accept="image/capture" capture="camera" />
Registration Form <span class="errormsg">*</span></label>
<div class="file-upload" id="reg_form">
<asp:FileUpload ID="reg_form_id" type="file" runat="server" class="uploadbutton" accept="image/capture" capture="camera" />
<%--<input type="file" name="reg-back-id" id="reg-back-id" required="required" class="uploadbutton" accept="image/*" />--%>
<span>
<asp:Localize runat="server" meta:resourcekey="Register_042" Text="Drag and drop your file here or "></asp:Localize><span class="primary-c"><asp:Localize runat="server" meta:resourcekey="Register_043" Text="Browse"></asp:Localize></span><asp:Localize runat="server" meta:resourcekey="Register_044" Text=" for a document to upload"></asp:Localize></span>
@ -347,7 +347,7 @@
<div class="form-group" style="margin-left: 41px;">
<%--<asp:Button ID="registerCustomerAndReceiver" runat="server" CssClass="btn btn-primary m-t-25" disabled="disabled" Text="Submit" OnClientClick="return CheckMasterFormValidation()" />--%>
<%--<asp:Button ID="registerCustomerAndReceiver" runat="server" CssClass="btn btn-primary m-t-25" disabled="disabled" Text="Submit" OnClientClick="return CheckMasterFormValidation()" OnClick="registerCustomerAndReceiver_Click" />--%>
<input type="button" id="registerCustomerAndReceiver" value="Register" class="btn btn-primary m-t-25" disabled="disabled" onclick="return CheckMasterFormValidation()" />
<input type="button" id="registerCustomer" value="Register" class="btn btn-primary m-t-25" onclick="return CheckMasterFormValidation()" />
</div>
</div>
</div>
@ -569,6 +569,6 @@
<script src="https://cdn.jsdelivr.net/npm/gasparesganga-jquery-loading-overlay@1.5.4/src/loadingoverlay.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/gasparesganga-jquery-loading-overlay@1.5.4/extras/loadingoverlay_progress/loadingoverlay_progress.min.js"></script>
<script src="/Scripts/Customer/CustomerRegistration.js"></script>
<script src="/Scripts/Receiver/ReceiverRegistation.js"></script>
<%-- <script src="/Scripts/Receiver/ReceiverRegistation.js"></script>--%>
</asp:Content>

11
JMEAgentSystem/WebPages/CustomerRegistration/Manage.aspx.cs

@ -271,7 +271,7 @@ namespace JMEAgentSystem.WebPages.CustomerRegistration
}
}
protected void registerCustomerAndReceiver_Click(object sender, EventArgs e)
protected void registerCustomer_Click(object sender, EventArgs e)
{
try
{
@ -324,7 +324,7 @@ namespace JMEAgentSystem.WebPages.CustomerRegistration
if (dbResult.ErrorCode == "0")
{
saveCustomerDocument(dbResult);
var url = "PrintDetails.aspx?customerId=" + dbResult.Id.Split('|')[0] + "&membershipId=" + dbResult.Id.Split('|')[1] + "&receiverId=" + dbResult.Id.Split('|')[3] + "";
var url = "PrintDetails.aspx?customerId=" + dbResult.Id.Split('|')[0] + "&membershipId=" + dbResult.Id.Split('|')[1] ;
Response.Redirect(url);
}
Page_Load(sender, e);
@ -396,10 +396,7 @@ namespace JMEAgentSystem.WebPages.CustomerRegistration
Response.Write(jsonString);
Response.End();
}
protected string GetReceiverId()
{
return GetStatic.ReadQueryString("receiverId", "");
}
public OnlineCustomerModel PrepareCutomerData()
{
string trimmedfirstName = firstName.Text.Trim() == "" ? null : firstName.Text.Trim();
@ -535,7 +532,7 @@ namespace JMEAgentSystem.WebPages.CustomerRegistration
documentTypeName = "ID_Back";
documentType = "11395";//"11387";
}
if (keyName.ToLower().Equals("reg_form"))
if (keyName.ToLower().Equals("reg_form_id"))
{
documentTypeName = "Registration_Form";
documentType = "11399";// "11393";

4
JMEAgentSystem/WebPages/CustomerRegistration/Manage.aspx.designer.cs

@ -348,13 +348,13 @@ namespace JMEAgentSystem.WebPages.CustomerRegistration
protected global::System.Web.UI.WebControls.FileUpload reg_back_id;
/// <summary>
/// reg_form control.
/// reg_form_id control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.FileUpload reg_form;
protected global::System.Web.UI.WebControls.FileUpload reg_form_id;
/// <summary>
/// hdnVerifyDoc1 control.

70
JMEAgentSystem/WebPages/CustomerRegistration/PrintDetails.aspx

@ -125,74 +125,8 @@
<td class="tg-fymr">Online Login Allowed:</td>
<td colspan="2" class="tg-0pky" runat="server" id="txtOnlineLoginAllowed"></td>
</tr>
<tr>
<td colspan="6">&nbsp;</td>
</tr>
<tr>
<td class="tg-7btt" colspan="6" style="text-decoration: underline; text-align: left">Beneficiary Information</td>
</tr>
<tr>
<td style="white-space: nowrap" class="tg-fymr">Country:</td>
<td colspan="3" class="tg-0pky" runat="server" id="recCountry"></td>
<td class="tg-fymr">Beneficiary Type:</td>
<td colspan="2" class="tg-0pky" runat="server" id="recBeneficiaryType"></td>
</tr>
<tr>
<td class="tg-fymr">Full Name:</td>
<td class="tg-0pky" runat="server" id="recFullName" colspan="5"></td>
</tr>
<tr>
<td style="white-space: nowrap" class="tg-fymr">Native Country:</td>
<td colspan="3" class="tg-0pky" runat="server" id="recNativeCountry"></td>
<td class="tg-fymr">Beneficiary Address:</td>
<td colspan="2" class="tg-0pky" runat="server" id="recAddress"></td>
</tr>
<tr>
<td class="tg-fymr">City:</td>
<td style="white-space: nowrap" colspan="3" class="tg-0pky" runat="server" id="recCity"></td>
<td class="tg-fymr">Contact No:</td>
<td colspan="2" class="tg-0pky" runat="server" id="recContactNo"></td>
</tr>
<tr>
<td style="white-space: nowrap" class="tg-fymr">Mobile:</td>
<td colspan="3" class="tg-0pky" runat="server" id="recMobile"></td>
<td class="tg-fymr">Id Type:</td>
<td colspan="2" class="tg-0pky" runat="server" id="recIdType"></td>
</tr>
<tr>
<td style="white-space: nowrap" class="tg-fymr">Id Number:</td>
<td colspan="3" class="tg-0pky" runat="server" id="recIdNumber"></td>
<td class="tg-fymr">Place Of Issue :</td>
<td colspan="2" class="tg-0pky" runat="server" id="recPlaceOfIssue"></td>
</tr>
<tr>
<td class="tg-fymr">Relationship To Beneficiary:</td>
<td style="white-space: nowrap" colspan="3" class="tg-0pky" runat="server" id="recRelationship"></td>
<td class="tg-fymr">Other Relation Description:</td>
<td colspan="2" class="tg-0pky" runat="server" id="recOtherRelationDescription"></td>
</tr>
<tr>
<td style="white-space: nowrap" class="tg-fymr">Purpose Of Remittance:</td>
<td colspan="3" class="tg-0pky" runat="server" id="recPurposeOfRemittance"></td>
<td class="tg-fymr">Other Purpose Of Remittance:</td>
<td colspan="2" class="tg-0pky" runat="server" id="otherPurpose"></td>
</tr>
<tr>
<td class="tg-fymr">Payment Mode:</td>
<td class="tg-0pky" runat="server" id="recPaymentMode" colspan="5"></td>
</tr>
<tr>
<td style="white-space: nowrap" class="tg-fymr">Agent/Bank:</td>
<td colspan="3" class="tg-0pky" runat="server" id="pagent"></td>
<td class="tg-fymr">Beneficiary A/c:</td>
<td colspan="2" class="tg-0pky" runat="server" id="recAccountNumber"></td>
</tr>
<tr>
<td style="white-space: nowrap" class="tg-fymr">Agent/Bank Branch:</td>
<td colspan="3" class="tg-0pky" runat="server" id="pBranch"></td>
<td class="tg-fymr">Remarks:</td>
<td colspan="2" class="tg-0pky" runat="server" id="recRemarks"></td>
</tr>
<tr>
<td class="tg-7btt" colspan="6">
<small class="custom-control-label">私は、本依頼書に記載されているジャパンマネーエクスプレス株式会社の「海外送金利用規約」の内容に同意します。<br />

65
JMEAgentSystem/WebPages/CustomerRegistration/PrintDetails.aspx.cs

@ -57,29 +57,21 @@ namespace JMEAgentSystem.WebPages.CustomerRegistration
{
var membershipId = GetMembershipId();
var receiverId = GetReceiverId();
if (membershipId == "" || receiverId == "")
// var receiverId = GetReceiverId();
if (membershipId == "")
{
return;
}
var dataSet = _customerServices.GetCustomerInfoFromMembershiId(GetStatic.GetUser(), membershipId, receiverId,"");
var dataSet = _customerServices.GetCustomerInfoFromMembershiId(GetStatic.GetUser(), membershipId,"", "");
//set customer details
SetCustomerDetails(dataSet.Tables[1].Rows[0]);
//set receiver dettails
SetReceiverDetails(dataSet.Tables[2].Rows[0]);
//get signature
docDiv.InnerHtml = GetSignatrueHtml(dataSet, "Staff Visit - Customer Register(Customer Signature)", dataSet.Tables[1].Rows[0]["customerId"].ToString());
}
private string GetMembershipId()
{
return GetStatic.ReadQueryString("membershipId", "");
}
private string GetReceiverId()
{
return GetStatic.ReadQueryString("receiverId", "");
}
private void SetCustomerDetails(DataRow dr)
{
hdnCustomerId.Value = dr["customerId"].ToString();
@ -113,54 +105,7 @@ namespace JMEAgentSystem.WebPages.CustomerRegistration
txtRemarks.InnerText = dr["remarks"].ToString();
txtSourceOfFund.InnerText = dr["sourceOfFund"].ToString();
}
private void SetReceiverDetails(DataRow dr)
{
recCountry.InnerText = dr["country"].ToString();
recBeneficiaryType.InnerText = dr["receiverType"].ToString();
recFullName.InnerText = dr["customerName"].ToString();
recNativeCountry.InnerText = dr["NativeCountry"].ToString();
recAddress.InnerText = dr["address"].ToString();
recCity.InnerText = dr["city"].ToString();
recContactNo.InnerText = dr["homePhone"].ToString();
recMobile.InnerText = dr["mobile"].ToString();
recIdType.InnerText = dr["idType"].ToString();
recIdNumber.InnerText = dr["idNumber"].ToString();
recPlaceOfIssue.InnerText = dr["placeOfIssue"].ToString();
recRelationship.InnerText = dr["relationship"].ToString();
recOtherRelationDescription.InnerText = dr["otherRelationDesc"].ToString();
recPurposeOfRemittance.InnerText = dr["purposeOfRemit"].ToString();
otherPurpose.InnerText = dr["otherPurpose"].ToString();
recPaymentMode.InnerText = dr["paymentMode"].ToString();
pagent.InnerText = dr["payOutPartner"].ToString();
recAccountNumber.InnerText = dr["receiverAccountNo"].ToString();
pBranch.InnerText = dr["bankBranchName"].ToString();
recRemarks.InnerText = dr["remarks"].ToString();
}
public string GetSignatrueHtml(DataSet dataSet,string fileDescription,string sessionId)
{
var dr = dataSet.Tables[1].Rows[0];
var registerDate = dr["createdDate"].ToString();
var membershipId = dr["membershipId"].ToString();
var documentDetails = _customerServices.GetDocumentByCustomerId(dr["customerId"].ToString(), fileDescription, sessionId);
StringBuilder imageHtml = new StringBuilder();
if (documentDetails != null)
{
foreach (DataRow item in documentDetails.Rows)
{
var customerId = dr["customerId"].ToString();
var fileName = item["fileName"].ToString();
string imageUrl = "/WebPages/GetFileView.ashx?registerDate=" + Convert.ToDateTime(registerDate).ToString("yyyy-MM-dd") + "&customerId=" + customerId + "&membershipNo=" + membershipId + "&fileName=" + fileName;
imageHtml.Append("<div class=\"col-md-12\"><div class=\"form-group\"><div class=\"col-md-12\">");
imageHtml.Append("<label>" + item["documentName"].ToString() + "</label>");
imageHtml.Append("<img src=\"" + imageUrl + "\" height=\"150\" width=\"200\" onclick=\'showImage(this);\'/>");
imageHtml.Append("</div>");
imageHtml.Append("</div>");
imageHtml.Append("</div>");
}
}
return imageHtml.ToString();
}
}
}

276
JMEAgentSystem/WebPages/CustomerRegistration/PrintDetails.aspx.designer.cs

@ -7,11 +7,13 @@
// </auto-generated>
//------------------------------------------------------------------------------
namespace JMEAgentSystem.WebPages.CustomerRegistration {
public partial class PrintDetails {
namespace JMEAgentSystem.WebPages.CustomerRegistration
{
public partial class PrintDetails
{
/// <summary>
/// downloadDivPDF control.
/// </summary>
@ -20,7 +22,7 @@ namespace JMEAgentSystem.WebPages.CustomerRegistration {
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlGenericControl downloadDivPDF;
/// <summary>
/// customerName control.
/// </summary>
@ -29,7 +31,7 @@ namespace JMEAgentSystem.WebPages.CustomerRegistration {
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlGenericControl customerName;
/// <summary>
/// membershiId control.
/// </summary>
@ -38,7 +40,7 @@ namespace JMEAgentSystem.WebPages.CustomerRegistration {
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlGenericControl membershiId;
/// <summary>
/// txtFullName control.
/// </summary>
@ -47,7 +49,7 @@ namespace JMEAgentSystem.WebPages.CustomerRegistration {
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTableCell txtFullName;
/// <summary>
/// txtCustomerType control.
/// </summary>
@ -56,7 +58,7 @@ namespace JMEAgentSystem.WebPages.CustomerRegistration {
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTableCell txtCustomerType;
/// <summary>
/// txtCountry control.
/// </summary>
@ -65,7 +67,7 @@ namespace JMEAgentSystem.WebPages.CustomerRegistration {
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTableCell txtCountry;
/// <summary>
/// txtNativeCountry control.
/// </summary>
@ -74,7 +76,7 @@ namespace JMEAgentSystem.WebPages.CustomerRegistration {
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTableCell txtNativeCountry;
/// <summary>
/// txtAddress control.
/// </summary>
@ -83,7 +85,7 @@ namespace JMEAgentSystem.WebPages.CustomerRegistration {
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTableCell txtAddress;
/// <summary>
/// txtCity control.
/// </summary>
@ -92,7 +94,7 @@ namespace JMEAgentSystem.WebPages.CustomerRegistration {
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTableCell txtCity;
/// <summary>
/// txtZipcCode control.
/// </summary>
@ -101,7 +103,7 @@ namespace JMEAgentSystem.WebPages.CustomerRegistration {
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTableCell txtZipcCode;
/// <summary>
/// txtDateOfBirth control.
/// </summary>
@ -110,7 +112,7 @@ namespace JMEAgentSystem.WebPages.CustomerRegistration {
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTableCell txtDateOfBirth;
/// <summary>
/// txtOccupation control.
/// </summary>
@ -119,7 +121,7 @@ namespace JMEAgentSystem.WebPages.CustomerRegistration {
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTableCell txtOccupation;
/// <summary>
/// txtOtherOccupation control.
/// </summary>
@ -128,7 +130,7 @@ namespace JMEAgentSystem.WebPages.CustomerRegistration {
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTableCell txtOtherOccupation;
/// <summary>
/// txtVisaStatus control.
/// </summary>
@ -137,7 +139,7 @@ namespace JMEAgentSystem.WebPages.CustomerRegistration {
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTableCell txtVisaStatus;
/// <summary>
/// txtEmployeeBusinessType control.
/// </summary>
@ -146,7 +148,7 @@ namespace JMEAgentSystem.WebPages.CustomerRegistration {
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTableCell txtEmployeeBusinessType;
/// <summary>
/// txtSourceOfFund control.
/// </summary>
@ -155,7 +157,7 @@ namespace JMEAgentSystem.WebPages.CustomerRegistration {
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTableCell txtSourceOfFund;
/// <summary>
/// txtGender control.
/// </summary>
@ -164,7 +166,7 @@ namespace JMEAgentSystem.WebPages.CustomerRegistration {
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTableCell txtGender;
/// <summary>
/// txtMonthlyIncome control.
/// </summary>
@ -173,7 +175,7 @@ namespace JMEAgentSystem.WebPages.CustomerRegistration {
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTableCell txtMonthlyIncome;
/// <summary>
/// txtTelephoneNo control.
/// </summary>
@ -182,7 +184,7 @@ namespace JMEAgentSystem.WebPages.CustomerRegistration {
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTableCell txtTelephoneNo;
/// <summary>
/// txtEmailId control.
/// </summary>
@ -191,7 +193,7 @@ namespace JMEAgentSystem.WebPages.CustomerRegistration {
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTableCell txtEmailId;
/// <summary>
/// txtMobileNo control.
/// </summary>
@ -200,7 +202,7 @@ namespace JMEAgentSystem.WebPages.CustomerRegistration {
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTableCell txtMobileNo;
/// <summary>
/// txtNameOfEmployer control.
/// </summary>
@ -209,7 +211,7 @@ namespace JMEAgentSystem.WebPages.CustomerRegistration {
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTableCell txtNameOfEmployer;
/// <summary>
/// txtRemarks control.
/// </summary>
@ -218,7 +220,7 @@ namespace JMEAgentSystem.WebPages.CustomerRegistration {
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTableCell txtRemarks;
/// <summary>
/// txtIdType control.
/// </summary>
@ -227,7 +229,7 @@ namespace JMEAgentSystem.WebPages.CustomerRegistration {
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTableCell txtIdType;
/// <summary>
/// txtIdNumber control.
/// </summary>
@ -236,7 +238,7 @@ namespace JMEAgentSystem.WebPages.CustomerRegistration {
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTableCell txtIdNumber;
/// <summary>
/// txtIssueDate control.
/// </summary>
@ -245,7 +247,7 @@ namespace JMEAgentSystem.WebPages.CustomerRegistration {
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTableCell txtIssueDate;
/// <summary>
/// txtExpireDate control.
/// </summary>
@ -254,7 +256,7 @@ namespace JMEAgentSystem.WebPages.CustomerRegistration {
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTableCell txtExpireDate;
/// <summary>
/// txtRemittanceAllowed control.
/// </summary>
@ -263,7 +265,7 @@ namespace JMEAgentSystem.WebPages.CustomerRegistration {
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTableCell txtRemittanceAllowed;
/// <summary>
/// txtOnlineLoginAllowed control.
/// </summary>
@ -272,187 +274,7 @@ namespace JMEAgentSystem.WebPages.CustomerRegistration {
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTableCell txtOnlineLoginAllowed;
/// <summary>
/// recCountry control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTableCell recCountry;
/// <summary>
/// recBeneficiaryType control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTableCell recBeneficiaryType;
/// <summary>
/// recFullName control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTableCell recFullName;
/// <summary>
/// recNativeCountry control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTableCell recNativeCountry;
/// <summary>
/// recAddress control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTableCell recAddress;
/// <summary>
/// recCity control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTableCell recCity;
/// <summary>
/// recContactNo control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTableCell recContactNo;
/// <summary>
/// recMobile control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTableCell recMobile;
/// <summary>
/// recIdType control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTableCell recIdType;
/// <summary>
/// recIdNumber control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTableCell recIdNumber;
/// <summary>
/// recPlaceOfIssue control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTableCell recPlaceOfIssue;
/// <summary>
/// recRelationship control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTableCell recRelationship;
/// <summary>
/// recOtherRelationDescription control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTableCell recOtherRelationDescription;
/// <summary>
/// recPurposeOfRemittance control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTableCell recPurposeOfRemittance;
/// <summary>
/// otherPurpose control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTableCell otherPurpose;
/// <summary>
/// recPaymentMode control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTableCell recPaymentMode;
/// <summary>
/// pagent control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTableCell pagent;
/// <summary>
/// recAccountNumber control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTableCell recAccountNumber;
/// <summary>
/// pBranch control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTableCell pBranch;
/// <summary>
/// recRemarks control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTableCell recRemarks;
/// <summary>
/// docDiv control.
/// </summary>
@ -461,7 +283,7 @@ namespace JMEAgentSystem.WebPages.CustomerRegistration {
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlGenericControl docDiv;
/// <summary>
/// dateDiv control.
/// </summary>
@ -470,7 +292,7 @@ namespace JMEAgentSystem.WebPages.CustomerRegistration {
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlGenericControl dateDiv;
/// <summary>
/// todaysDate control.
/// </summary>
@ -479,7 +301,7 @@ namespace JMEAgentSystem.WebPages.CustomerRegistration {
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlGenericControl todaysDate;
/// <summary>
/// hdnCustomerId control.
/// </summary>
@ -488,7 +310,7 @@ namespace JMEAgentSystem.WebPages.CustomerRegistration {
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.HiddenField hdnCustomerId;
/// <summary>
/// hdnProcessDivision control.
/// </summary>
@ -497,7 +319,7 @@ namespace JMEAgentSystem.WebPages.CustomerRegistration {
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.HiddenField hdnProcessDivision;
/// <summary>
/// hdnPartnerServiceKey control.
/// </summary>
@ -506,7 +328,7 @@ namespace JMEAgentSystem.WebPages.CustomerRegistration {
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.HiddenField hdnPartnerServiceKey;
/// <summary>
/// hdninstitution control.
/// </summary>
@ -515,7 +337,7 @@ namespace JMEAgentSystem.WebPages.CustomerRegistration {
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.HiddenField hdninstitution;
/// <summary>
/// hdnAccountName control.
/// </summary>
@ -524,7 +346,7 @@ namespace JMEAgentSystem.WebPages.CustomerRegistration {
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.HiddenField hdnAccountName;
/// <summary>
/// hdnAccountNumber control.
/// </summary>
@ -533,7 +355,7 @@ namespace JMEAgentSystem.WebPages.CustomerRegistration {
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.HiddenField hdnAccountNumber;
/// <summary>
/// hdnVirtualAccountNo control.
/// </summary>
@ -542,7 +364,7 @@ namespace JMEAgentSystem.WebPages.CustomerRegistration {
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.HiddenField hdnVirtualAccountNo;
/// <summary>
/// hdnGenderCode control.
/// </summary>
@ -551,7 +373,7 @@ namespace JMEAgentSystem.WebPages.CustomerRegistration {
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.HiddenField hdnGenderCode;
/// <summary>
/// hdnNativeCountryCode control.
/// </summary>
@ -560,7 +382,7 @@ namespace JMEAgentSystem.WebPages.CustomerRegistration {
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.HiddenField hdnNativeCountryCode;
/// <summary>
/// hdnDobYmd control.
/// </summary>
@ -569,7 +391,7 @@ namespace JMEAgentSystem.WebPages.CustomerRegistration {
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.HiddenField hdnDobYmd;
/// <summary>
/// hdnIdTypeCode control.
/// </summary>

15
JMEAgentSystem/app.config

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-12.0.0.0" newVersion="12.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-1.5.1.25624" newVersion="1.5.1.25624" />
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>

BIN
JMEAgentSystem/obj/Debug/DesignTimeResolveAssemblyReferences.cache

BIN
JMEAgentSystem/obj/Debug/JMEAgentSystem.dll

BIN
JMEAgentSystem/obj/Debug/JMEAgentSystem.pdb

3
Repository/Repository/OnlineCustomerDao/CustomerRepository.cs

@ -304,9 +304,8 @@ namespace Repository.Repository.OnlineCustomerDao
return ParseDbResult(sql);
}
public DataSet GetCustomerInfoFromMembershiId(string user, string membershipId, string receiverId,string rowId)
public DataSet GetCustomerInfoFromMembershiId(string user, string membershipId, string receiverId, string rowId)
{
var sql = "EXEC proc_customerInfo @flag='details-fromMembershipId'";
sql += " ,@User =" + FilterString(user);
sql += " ,@membershipId =" + FilterString(membershipId);

1
Repository/obj/Debug/Repository.csproj.CoreCompileInputs.cache

@ -0,0 +1 @@
ca84c5f48d720dd34b85967c092737ef02f3855a

39
Repository/obj/Debug/Repository.csproj.FileListAbsolute.txt

@ -0,0 +1,39 @@
H:\JME\JME_Remit_Dev\JMEAgentSystem\Repository\bin\Debug\Repository.dll
H:\JME\JME_Remit_Dev\JMEAgentSystem\Repository\bin\Debug\Repository.pdb
H:\JME\JME_Remit_Dev\JMEAgentSystem\Repository\bin\Debug\Common.dll
H:\JME\JME_Remit_Dev\JMEAgentSystem\Repository\bin\Debug\Newtonsoft.Json.dll
H:\JME\JME_Remit_Dev\JMEAgentSystem\Repository\bin\Debug\Common.pdb
H:\JME\JME_Remit_Dev\JMEAgentSystem\Repository\bin\Debug\Newtonsoft.Json.xml
H:\JME\JME_Remit_Dev\JMEAgentSystem\Repository\obj\Debug\Repository.csprojAssemblyReference.cache
H:\JME\JME_Remit_Dev\JMEAgentSystem\Repository\obj\Debug\Repository.csproj.CoreCompileInputs.cache
H:\JME\JME_Remit_Dev\JMEAgentSystem\Repository\obj\Debug\Repository.csproj.CopyComplete
H:\JME\JME_Remit_Dev\JMEAgentSystem\Repository\obj\Debug\Repository.dll
H:\JME\JME_Remit_Dev\JMEAgentSystem\Repository\obj\Debug\Repository.pdb
H:\JME\JME_Remit_Live\JMEAgentSystem\Repository\bin\Debug\Repository.dll
H:\JME\JME_Remit_Live\JMEAgentSystem\Repository\bin\Debug\Repository.pdb
H:\JME\JME_Remit_Live\JMEAgentSystem\Repository\bin\Debug\Common.dll
H:\JME\JME_Remit_Live\JMEAgentSystem\Repository\bin\Debug\Newtonsoft.Json.dll
H:\JME\JME_Remit_Live\JMEAgentSystem\Repository\bin\Debug\Common.pdb
H:\JME\JME_Remit_Live\JMEAgentSystem\Repository\bin\Debug\Newtonsoft.Json.xml
H:\JME\JME_Remit_Live\JMEAgentSystem\Repository\obj\Debug\Repository.csprojAssemblyReference.cache
H:\JME\JME_Remit_Live\JMEAgentSystem\Repository\obj\Debug\Repository.csproj.CoreCompileInputs.cache
H:\JME\JME_Remit_Live\JMEAgentSystem\Repository\obj\Debug\Repository.csproj.CopyComplete
H:\JME\JME_Remit_Live\JMEAgentSystem\Repository\obj\Debug\Repository.dll
H:\JME\JME_Remit_Live\JMEAgentSystem\Repository\obj\Debug\Repository.pdb
E:\#JME-JAPAN\12. Agent_Login\Repository\bin\Debug\Repository.dll
E:\#JME-JAPAN\12. Agent_Login\Repository\bin\Debug\Repository.pdb
E:\#JME-JAPAN\12. Agent_Login\Repository\bin\Debug\Common.dll
E:\#JME-JAPAN\12. Agent_Login\Repository\bin\Debug\Newtonsoft.Json.dll
E:\#JME-JAPAN\12. Agent_Login\Repository\bin\Debug\Select.HtmlToPdf.dll
E:\#JME-JAPAN\12. Agent_Login\Repository\bin\Debug\Common.pdb
E:\#JME-JAPAN\12. Agent_Login\Repository\bin\Debug\Common.dll.config
E:\#JME-JAPAN\12. Agent_Login\Repository\bin\Debug\Newtonsoft.Json.pdb
E:\#JME-JAPAN\12. Agent_Login\Repository\bin\Debug\Newtonsoft.Json.xml
E:\#JME-JAPAN\12. Agent_Login\Repository\bin\Debug\Select.HtmlToPdf.xml
E:\#JME-JAPAN\12. Agent_Login\Repository\bin\Debug\Select.Html.dep
E:\#JME-JAPAN\12. Agent_Login\Repository\obj\Debug\Repository.csproj.AssemblyReference.cache
E:\#JME-JAPAN\12. Agent_Login\Repository\obj\Debug\Repository.csproj.CoreCompileInputs.cache
E:\#JME-JAPAN\12. Agent_Login\Repository\obj\Debug\Repository.csproj.CopyComplete
E:\#JME-JAPAN\12. Agent_Login\Repository\obj\Debug\Repository.dll
E:\#JME-JAPAN\12. Agent_Login\Repository\obj\Debug\Repository.pdb
E:\#JME-JAPAN\12. Agent_Login\Repository\bin\Debug\WebGrease.dll

BIN
Repository/obj/Debug/Repository.dll

BIN
Repository/obj/Debug/Repository.pdb

BIN
packages/WebGrease.1.5.2/.signature.p7s

BIN
packages/WebGrease.1.5.2/WebGrease.1.5.2.nupkg

BIN
packages/WebGrease.1.5.2/lib/WebGrease.dll

BIN
packages/WebGrease.1.5.2/tools/WG.exe

90
packages/WebGrease.1.5.2/tools/install.ps1

@ -0,0 +1,90 @@
param($installPath, $toolsPath, $package, $project)
# Return a relative path with reference to root as Uri object
# $rootPath - root path
# $relativePath - relative path
# $appendToRelativePath - Optional parameter. If provided will be appended to relative Path using Path.Combine()
Function GetRelativeUri($rootPath, $relativePath, $appendToRelativePath)
{
if($rootPath -eq $null)
{
return $null
}
if($relativePath -eq $null)
{
return $null
}
$rootUri = new-object system.Uri($rootPath)
$targetPath = $relativePath
# If appendToRelativePath is provided then use it
if($appendToRelativePath -ne $null)
{
$targetPath = [io.path]::Combine($relativePath, $appendToRelativePath)
}
$targetUri = new-object system.Uri($targetPath)
$relativeUri = $rootUri.MakeRelativeUri($targetUri)
return $relativeUri
}
# Visual Studio execution done via NuGet Package Manager
Function VSExecution($installPath, $package, $project)
{
#$project.DTE.ExecuteCommand("File.SaveAll", [system.string]::Empty)
# Get the msbuild version of the project and add the import
$msbuild = [Microsoft.Build.Evaluation.ProjectCollection]::GlobalProjectCollection.GetLoadedProjects($project.FullName) | Select-Object -First 1
# add a property for us to be able to reference the path where the package was installed
$relativePackageUri = GetRelativeUri $project.FullName $installPath"\lib"
$msbuild.Xml.AddProperty("WebGreaseLibPath", $relativePackageUri.ToString().Replace([System.IO.Path]::AltDirectorySeparatorChar, [System.IO.Path]::DirectorySeparatorChar))
# save the project
$project.Save()
}
# Command line execution done by any external tool (For example, NuGetUpdater)
# $package - package id
# $project - parameter value is path to Project file in this case.
Function CommandLineExecution($installPath, $package, $project)
{
[Reflection.Assembly]::LoadWithPartialName("Microsoft.Build")
[Reflection.Assembly]::LoadWithPartialName("System.Xml")
[Reflection.Assembly]::LoadWithPartialName("System.Xml.Linq")
# Get the msbuild version of the project and add the import
$projXDoc = [System.Xml.Linq.XDocument]::Load($project)
$defaultNameSpace = $projXDoc.Root.GetDefaultNamespace()
$propertyGroup = [System.Xml.Linq.XName]::Get("PropertyGroup", $defaultNameSpace.NamespaceName)
$webGreaseBuildLocation = [System.Xml.Linq.XName]::Get("WebGreaseLibPath", $defaultNameSpace.NamespaceName)
# add a property for us to be able to reference the path where the package was installed
$relativePackageUri = GetRelativeUri $project.FullName $installPath"\lib"
$propGroupElement = $projXDoc.Root.Elements($propertyGroup) | Select-Object -First 1
IF ($propGroupElement -ne $null)
{
$newElement = new-object System.Xml.Linq.XElement($webGreaseBuildLocation, $relativePackageUri.ToString().Replace([System.IO.Path]::AltDirectorySeparatorChar, [System.IO.Path]::DirectorySeparatorChar))
$propGroupElement.Add($newElement)
}
# save the project
$projXDoc.Save($project)
}
IF ($project -is [system.string])
{
CommandLineExecution $installPath $package $project
}
ELSE
{
VSExecution $installPath $package $project
}

63
packages/WebGrease.1.5.2/tools/uninstall.ps1

@ -0,0 +1,63 @@
param($installPath, $toolsPath, $package, $project)
# Visual Studio execution done via NuGet Package Manager
Function VSExecution($toolsPath, $project)
{
$project.DTE.ExecuteCommand("File.SaveAll", [system.string]::Empty)
# Get the msbuild version of the project and add the import
$msbuild = [Microsoft.Build.Evaluation.ProjectCollection]::GlobalProjectCollection.GetLoadedProjects($project.FullName) | Select-Object -First 1
# now remove our property that points to this package path, "WebGreaseLibPath"
foreach ($property in $msbuild.Properties)
{
if ($property.Name -eq "WebGreaseLibPath")
{
$propertyToRemove = $property
}
}
if ($propertyToRemove -ne $null)
{
$propertyToRemove.Project.RemoveProperty($propertyToRemove)
$project.Save()
}
$project.DTE.ExecuteCommand("File.SaveAll", [system.string]::Empty)
}
# Command line execution done by any external tool (For example, NuGetUpdater)
# $project - parameter value is path to Project file in this case.
Function CommandLineExecution($toolsPath, $project)
{
[Reflection.Assembly]::LoadWithPartialName("System.Xml")
[Reflection.Assembly]::LoadWithPartialName("System.Xml.Linq")
$projXDoc = [System.Xml.Linq.XDocument]::Load($project)
$defaultNameSpace = $projXDoc.Root.GetDefaultNamespace()
$xmlReader = $projXDoc.CreateReader()
$namespaceManager = new-object System.Xml.XmlNamespaceManager($xmlReader.NameTable)
$namespaceManager.AddNamespace("my", $defaultNameSpace.NamespaceName)
$msnRfPackageElement = [System.Xml.XPath.Extensions]::XPathSelectElement($projXDoc.Root, "//my:WebGreaseLibPath", $namespaceManager)
if($msnRfPackageElement -ne $null)
{
$msnRfPackageElement.Remove()
}
# save the project
$projXDoc.Save($project)
}
IF ($project -is [system.string])
{
CommandLineExecution $toolsPath $project
}
ELSE
{
VSExecution $toolsPath $project
}
Loading…
Cancel
Save