Browse Source

add receiver information

feature/Redmine-18711-Receiver_Module_for_Web
Dinesh 12 months ago
parent
commit
f15be4e9ba
  1. BIN
      CustomerOnlineV2/.vs/CustomerOnlineV2/DesignTimeBuild/.dtbcache.v2
  2. BIN
      CustomerOnlineV2/.vs/CustomerOnlineV2/FileContentIndex/323d9415-e452-4873-b9cd-f7e484d9bafe.vsidx
  3. BIN
      CustomerOnlineV2/.vs/CustomerOnlineV2/FileContentIndex/386d7bf6-7e4f-4bfb-a9a4-002aee5e2901.vsidx
  4. BIN
      CustomerOnlineV2/.vs/CustomerOnlineV2/FileContentIndex/5a7809f5-10a5-4185-a43c-740a341728a5.vsidx
  5. BIN
      CustomerOnlineV2/.vs/CustomerOnlineV2/FileContentIndex/63481b12-147c-4618-8c1f-494bfd9ddcec.vsidx
  6. BIN
      CustomerOnlineV2/.vs/CustomerOnlineV2/FileContentIndex/67a6714b-6f56-4ca5-b44c-effa9ce163c4.vsidx
  7. BIN
      CustomerOnlineV2/.vs/CustomerOnlineV2/FileContentIndex/74ebe22b-f6f6-4fc1-ad3e-8f2ab28e3085.vsidx
  8. BIN
      CustomerOnlineV2/.vs/CustomerOnlineV2/FileContentIndex/bb8b2a9b-dfef-439c-963f-4de13eb8c2ce.vsidx
  9. BIN
      CustomerOnlineV2/.vs/CustomerOnlineV2/FileContentIndex/cb2dab2e-58e8-4fce-be59-f4648f08ec07.vsidx
  10. BIN
      CustomerOnlineV2/.vs/CustomerOnlineV2/FileContentIndex/f79fcf38-4d51-47ba-bc61-d2bff75dfc2c.vsidx
  11. BIN
      CustomerOnlineV2/.vs/CustomerOnlineV2/v16/.suo
  12. BIN
      CustomerOnlineV2/.vs/CustomerOnlineV2/v17/.futdcache.v2
  13. BIN
      CustomerOnlineV2/.vs/CustomerOnlineV2/v17/.suo
  14. BIN
      CustomerOnlineV2/.vs/ProjectEvaluation/customeronlinev2.metadata.v7.bin
  15. BIN
      CustomerOnlineV2/.vs/ProjectEvaluation/customeronlinev2.projects.v7.bin
  16. BIN
      CustomerOnlineV2/CustomerOnlineV2.Api/bin/Debug/net7.0/CustomerOnlineV2.Api.dll
  17. BIN
      CustomerOnlineV2/CustomerOnlineV2.Api/bin/Debug/net7.0/CustomerOnlineV2.Api.pdb
  18. BIN
      CustomerOnlineV2/CustomerOnlineV2.Api/bin/Debug/net7.0/CustomerOnlineV2.Common.dll
  19. BIN
      CustomerOnlineV2/CustomerOnlineV2.Api/bin/Debug/net7.0/CustomerOnlineV2.Common.pdb
  20. BIN
      CustomerOnlineV2/CustomerOnlineV2.Api/obj/Debug/net7.0/CustomerOnlineV2.Api.csproj.AssemblyReference.cache
  21. BIN
      CustomerOnlineV2/CustomerOnlineV2.Api/obj/Debug/net7.0/CustomerOnlineV2.Api.dll
  22. BIN
      CustomerOnlineV2/CustomerOnlineV2.Api/obj/Debug/net7.0/CustomerOnlineV2.Api.pdb
  23. 11
      CustomerOnlineV2/CustomerOnlineV2.Business/Business/ReceiverBusiness/ReceiverBusiness.cs
  24. BIN
      CustomerOnlineV2/CustomerOnlineV2.Business/bin/Debug/net7.0/CustomerOnlineV2.Api.dll
  25. BIN
      CustomerOnlineV2/CustomerOnlineV2.Business/bin/Debug/net7.0/CustomerOnlineV2.Api.pdb
  26. BIN
      CustomerOnlineV2/CustomerOnlineV2.Business/bin/Debug/net7.0/CustomerOnlineV2.Business.dll
  27. BIN
      CustomerOnlineV2/CustomerOnlineV2.Business/bin/Debug/net7.0/CustomerOnlineV2.Business.pdb
  28. BIN
      CustomerOnlineV2/CustomerOnlineV2.Business/bin/Debug/net7.0/CustomerOnlineV2.Common.dll
  29. BIN
      CustomerOnlineV2/CustomerOnlineV2.Business/bin/Debug/net7.0/CustomerOnlineV2.Common.pdb
  30. BIN
      CustomerOnlineV2/CustomerOnlineV2.Business/bin/Debug/net7.0/CustomerOnlineV2.Repository.dll
  31. BIN
      CustomerOnlineV2/CustomerOnlineV2.Business/bin/Debug/net7.0/CustomerOnlineV2.Repository.pdb
  32. BIN
      CustomerOnlineV2/CustomerOnlineV2.Business/obj/Debug/net7.0/CustomerOnlineV2.Business.csproj.AssemblyReference.cache
  33. BIN
      CustomerOnlineV2/CustomerOnlineV2.Business/obj/Debug/net7.0/CustomerOnlineV2.Business.dll
  34. BIN
      CustomerOnlineV2/CustomerOnlineV2.Business/obj/Debug/net7.0/CustomerOnlineV2.Business.pdb
  35. 6
      CustomerOnlineV2/CustomerOnlineV2.Common/Models/ReceiverModel/ReceiverInformationModel.cs
  36. BIN
      CustomerOnlineV2/CustomerOnlineV2.Common/bin/Debug/net7.0/CustomerOnlineV2.Common.dll
  37. BIN
      CustomerOnlineV2/CustomerOnlineV2.Common/bin/Debug/net7.0/CustomerOnlineV2.Common.pdb
  38. BIN
      CustomerOnlineV2/CustomerOnlineV2.Common/obj/Debug/net7.0/CustomerOnlineV2.Common.dll
  39. BIN
      CustomerOnlineV2/CustomerOnlineV2.Common/obj/Debug/net7.0/CustomerOnlineV2.Common.pdb
  40. BIN
      CustomerOnlineV2/CustomerOnlineV2.Common/obj/Debug/net7.0/ref/CustomerOnlineV2.Common.dll
  41. BIN
      CustomerOnlineV2/CustomerOnlineV2.Common/obj/Debug/net7.0/refint/CustomerOnlineV2.Common.dll
  42. 16
      CustomerOnlineV2/CustomerOnlineV2.Repository/Repository/ReceiverRepository/ReceiverRepository.cs
  43. BIN
      CustomerOnlineV2/CustomerOnlineV2.Repository/bin/Debug/net7.0/CustomerOnlineV2.Common.dll
  44. BIN
      CustomerOnlineV2/CustomerOnlineV2.Repository/bin/Debug/net7.0/CustomerOnlineV2.Common.pdb
  45. BIN
      CustomerOnlineV2/CustomerOnlineV2.Repository/bin/Debug/net7.0/CustomerOnlineV2.Repository.dll
  46. BIN
      CustomerOnlineV2/CustomerOnlineV2.Repository/bin/Debug/net7.0/CustomerOnlineV2.Repository.pdb
  47. BIN
      CustomerOnlineV2/CustomerOnlineV2.Repository/obj/Debug/net7.0/CustomerOnlineV2.Repository.csproj.AssemblyReference.cache
  48. BIN
      CustomerOnlineV2/CustomerOnlineV2.Repository/obj/Debug/net7.0/CustomerOnlineV2.Repository.dll
  49. BIN
      CustomerOnlineV2/CustomerOnlineV2.Repository/obj/Debug/net7.0/CustomerOnlineV2.Repository.pdb
  50. 245
      CustomerOnlineV2/CustomerOnlineV2/Views/ReceiverInformation/Receiver.cshtml
  51. BIN
      CustomerOnlineV2/CustomerOnlineV2/bin/Debug/net7.0/CustomerOnlineV2.Api.dll
  52. BIN
      CustomerOnlineV2/CustomerOnlineV2/bin/Debug/net7.0/CustomerOnlineV2.Api.pdb
  53. BIN
      CustomerOnlineV2/CustomerOnlineV2/bin/Debug/net7.0/CustomerOnlineV2.Business.dll
  54. BIN
      CustomerOnlineV2/CustomerOnlineV2/bin/Debug/net7.0/CustomerOnlineV2.Business.pdb
  55. BIN
      CustomerOnlineV2/CustomerOnlineV2/bin/Debug/net7.0/CustomerOnlineV2.Common.dll
  56. BIN
      CustomerOnlineV2/CustomerOnlineV2/bin/Debug/net7.0/CustomerOnlineV2.Common.pdb
  57. BIN
      CustomerOnlineV2/CustomerOnlineV2/bin/Debug/net7.0/CustomerOnlineV2.Repository.dll
  58. BIN
      CustomerOnlineV2/CustomerOnlineV2/bin/Debug/net7.0/CustomerOnlineV2.Repository.pdb
  59. BIN
      CustomerOnlineV2/CustomerOnlineV2/bin/Debug/net7.0/CustomerOnlineV2.dll
  60. BIN
      CustomerOnlineV2/CustomerOnlineV2/bin/Debug/net7.0/CustomerOnlineV2.pdb
  61. BIN
      CustomerOnlineV2/CustomerOnlineV2/obj/Debug/net7.0/CustomerOnlineV2.csproj.AssemblyReference.cache
  62. BIN
      CustomerOnlineV2/CustomerOnlineV2/obj/Debug/net7.0/CustomerOnlineV2.dll
  63. BIN
      CustomerOnlineV2/CustomerOnlineV2/obj/Debug/net7.0/CustomerOnlineV2.pdb
  64. BIN
      CustomerOnlineV2/CustomerOnlineV2/obj/Debug/net7.0/ref/CustomerOnlineV2.dll
  65. BIN
      CustomerOnlineV2/CustomerOnlineV2/obj/Debug/net7.0/refint/CustomerOnlineV2.dll

BIN
CustomerOnlineV2/.vs/CustomerOnlineV2/DesignTimeBuild/.dtbcache.v2

BIN
CustomerOnlineV2/.vs/CustomerOnlineV2/FileContentIndex/323d9415-e452-4873-b9cd-f7e484d9bafe.vsidx

BIN
CustomerOnlineV2/.vs/CustomerOnlineV2/FileContentIndex/386d7bf6-7e4f-4bfb-a9a4-002aee5e2901.vsidx

BIN
CustomerOnlineV2/.vs/CustomerOnlineV2/FileContentIndex/5a7809f5-10a5-4185-a43c-740a341728a5.vsidx

BIN
CustomerOnlineV2/.vs/CustomerOnlineV2/FileContentIndex/63481b12-147c-4618-8c1f-494bfd9ddcec.vsidx

BIN
CustomerOnlineV2/.vs/CustomerOnlineV2/FileContentIndex/67a6714b-6f56-4ca5-b44c-effa9ce163c4.vsidx

BIN
CustomerOnlineV2/.vs/CustomerOnlineV2/FileContentIndex/74ebe22b-f6f6-4fc1-ad3e-8f2ab28e3085.vsidx

BIN
CustomerOnlineV2/.vs/CustomerOnlineV2/FileContentIndex/86246fd2-742c-426f-8752-c32168f1cd1e.vsidx → CustomerOnlineV2/.vs/CustomerOnlineV2/FileContentIndex/bb8b2a9b-dfef-439c-963f-4de13eb8c2ce.vsidx

BIN
CustomerOnlineV2/.vs/CustomerOnlineV2/FileContentIndex/cb2dab2e-58e8-4fce-be59-f4648f08ec07.vsidx

BIN
CustomerOnlineV2/.vs/CustomerOnlineV2/FileContentIndex/f79fcf38-4d51-47ba-bc61-d2bff75dfc2c.vsidx

BIN
CustomerOnlineV2/.vs/CustomerOnlineV2/v16/.suo

BIN
CustomerOnlineV2/.vs/CustomerOnlineV2/v17/.futdcache.v2

BIN
CustomerOnlineV2/.vs/CustomerOnlineV2/v17/.suo

BIN
CustomerOnlineV2/.vs/ProjectEvaluation/customeronlinev2.metadata.v7.bin

BIN
CustomerOnlineV2/.vs/ProjectEvaluation/customeronlinev2.projects.v7.bin

BIN
CustomerOnlineV2/CustomerOnlineV2.Api/bin/Debug/net7.0/CustomerOnlineV2.Api.dll

BIN
CustomerOnlineV2/CustomerOnlineV2.Api/bin/Debug/net7.0/CustomerOnlineV2.Api.pdb

BIN
CustomerOnlineV2/CustomerOnlineV2.Api/bin/Debug/net7.0/CustomerOnlineV2.Common.dll

BIN
CustomerOnlineV2/CustomerOnlineV2.Api/bin/Debug/net7.0/CustomerOnlineV2.Common.pdb

BIN
CustomerOnlineV2/CustomerOnlineV2.Api/obj/Debug/net7.0/CustomerOnlineV2.Api.csproj.AssemblyReference.cache

BIN
CustomerOnlineV2/CustomerOnlineV2.Api/obj/Debug/net7.0/CustomerOnlineV2.Api.dll

BIN
CustomerOnlineV2/CustomerOnlineV2.Api/obj/Debug/net7.0/CustomerOnlineV2.Api.pdb

11
CustomerOnlineV2/CustomerOnlineV2.Business/Business/ReceiverBusiness/ReceiverBusiness.cs

@ -1,5 +1,9 @@
using CustomerOnlineV2.Common.Models.ReceiverModel;
using CustomerOnlineV2.Common.Helper;
using CustomerOnlineV2.Common.Models;
using CustomerOnlineV2.Common.Models.ReceiverModel;
using CustomerOnlineV2.Common.Models.TransactionModel;
using CustomerOnlineV2.Repository.Repository.ReceiverRepository;
using Newtonsoft.Json;
namespace CustomerOnlineV2.Business.Business.ReceiverBusiness
{
@ -20,11 +24,16 @@ namespace CustomerOnlineV2.Business.Business.ReceiverBusiness
public async Task<ReceiverInformationModel> Receivers(ReceiverInformationModel model)
{
var model1 = await _receiverRepository.GetReceiverDetails(model);
return model1;
}
}
}

BIN
CustomerOnlineV2/CustomerOnlineV2.Business/bin/Debug/net7.0/CustomerOnlineV2.Api.dll

BIN
CustomerOnlineV2/CustomerOnlineV2.Business/bin/Debug/net7.0/CustomerOnlineV2.Api.pdb

BIN
CustomerOnlineV2/CustomerOnlineV2.Business/bin/Debug/net7.0/CustomerOnlineV2.Business.dll

BIN
CustomerOnlineV2/CustomerOnlineV2.Business/bin/Debug/net7.0/CustomerOnlineV2.Business.pdb

BIN
CustomerOnlineV2/CustomerOnlineV2.Business/bin/Debug/net7.0/CustomerOnlineV2.Common.dll

BIN
CustomerOnlineV2/CustomerOnlineV2.Business/bin/Debug/net7.0/CustomerOnlineV2.Common.pdb

BIN
CustomerOnlineV2/CustomerOnlineV2.Business/bin/Debug/net7.0/CustomerOnlineV2.Repository.dll

BIN
CustomerOnlineV2/CustomerOnlineV2.Business/bin/Debug/net7.0/CustomerOnlineV2.Repository.pdb

BIN
CustomerOnlineV2/CustomerOnlineV2.Business/obj/Debug/net7.0/CustomerOnlineV2.Business.csproj.AssemblyReference.cache

BIN
CustomerOnlineV2/CustomerOnlineV2.Business/obj/Debug/net7.0/CustomerOnlineV2.Business.dll

BIN
CustomerOnlineV2/CustomerOnlineV2.Business/obj/Debug/net7.0/CustomerOnlineV2.Business.pdb

6
CustomerOnlineV2/CustomerOnlineV2.Common/Models/ReceiverModel/ReceiverInformationModel.cs

@ -27,15 +27,15 @@ namespace CustomerOnlineV2.Common.Models.ReceiverModel
public string? Relationship { get; set; }
public string? District { get; set; }
public string? purposeOfRemit { get; set; }
public int? receiverType { get; set; }
public int? idType { get; set; }
public string? receiverType { get; set; }
public string? idType { get; set; }
public string? idNumber { get; set; }
public string? createdDate { get; set; }
public string? idExpairyDate { get; set; }
public string? placeOfIssue { get; set; }
public string? paymentMode { get; set; }
public string? bankLocation { get; set; }
public int? payOutPartner { get; set; }
public string? payOutPartner { get; set; }
public string? bankName { get; set; }
public string? receiverAccountNumber { get; set; }
public string? Remarks { get; set; }

BIN
CustomerOnlineV2/CustomerOnlineV2.Common/bin/Debug/net7.0/CustomerOnlineV2.Common.dll

BIN
CustomerOnlineV2/CustomerOnlineV2.Common/bin/Debug/net7.0/CustomerOnlineV2.Common.pdb

BIN
CustomerOnlineV2/CustomerOnlineV2.Common/obj/Debug/net7.0/CustomerOnlineV2.Common.dll

BIN
CustomerOnlineV2/CustomerOnlineV2.Common/obj/Debug/net7.0/CustomerOnlineV2.Common.pdb

BIN
CustomerOnlineV2/CustomerOnlineV2.Common/obj/Debug/net7.0/ref/CustomerOnlineV2.Common.dll

BIN
CustomerOnlineV2/CustomerOnlineV2.Common/obj/Debug/net7.0/refint/CustomerOnlineV2.Common.dll

16
CustomerOnlineV2/CustomerOnlineV2.Repository/Repository/ReceiverRepository/ReceiverRepository.cs

@ -21,12 +21,12 @@ namespace CustomerOnlineV2.Repository.Repository.ReceiverRepository
try
{
var sql = "EXEC proc_online_receiverSetup";
sql += " @flag = " + _connHelper.FilterString("i");
sql += " @flag = " + _connHelper.FilterString("i-new-register");
//sql += ", @user = " + _connHelper.FilterString(model.ReceiverId.());
sql += ",@country =" + _connHelper.FilterString(model.Country);
//sql += ",@nativeCountry =" + _connHelper.FilterString(model.NativeCountry);
sql += ",@receiverType =" + _connHelper.FilterString(model.receiverType.ToString());
sql += ",@receiverType =" + _connHelper.FilterString(model.receiverType);
sql += ",@email =" + _connHelper.FilterString(model.Email);
sql += ",@firstName =" + _connHelper.FilterString(model.firstName);
sql += ",@middleName =" + _connHelper.FilterString(model.middleName);
@ -38,18 +38,18 @@ namespace CustomerOnlineV2.Repository.Repository.ReceiverRepository
sql += ",@mobile =" + _connHelper.FilterString(model.Mobile);
sql += ",@relationship =" + _connHelper.FilterString(model.Relationship);
sql += ",@placeOfIssue =" + _connHelper.FilterString(model.placeOfIssue);
sql += ",@idType =" + _connHelper.FilterString(model.idType.ToString());
sql += ",@idType =" + _connHelper.FilterString(model.idType);
sql += ",@idNumber =" + _connHelper.FilterString(model.idNumber);
sql += ",@purposeOfRemit =" + _connHelper.FilterString(model.purposeOfRemit);
sql += ",@paymentMode =" + _connHelper.FilterString(model.paymentMode);
sql += ",@payOutPartner =" + _connHelper.FilterString(model.payOutPartner.ToString());
sql += ",@payOutPartner =" + _connHelper.FilterString(model.payOutPartner);
sql += ",@bankLocation =" + _connHelper.FilterString(model.bankLocation);
sql += ",@bankName =" + _connHelper.FilterString(model.bankName);
sql += ",@receiverAccountNo =" + _connHelper.FilterString(model.receiverAccountNumber);
sql += ",@remarks =" + _connHelper.FilterString(model.Remarks);
sql += ",@receiverId =" + _connHelper.FilterString(model.ReceiverId);
//sql += ",@receiverId =" + _connHelper.FilterString(model.ReceiverId);
sql += ",@customerId =" + _connHelper.FilterString(model.CustomerId);
model.Id = sql;
sql += ",@membershipId =" + _connHelper.FilterString(model.MembershipId);
//sql += ",@otherRelationDesc =" + _connHelper.FilterString(model.OtherRelationDescription);
sql += ",@zipCode =" + _connHelper.FilterString(model.zipCode);
@ -78,8 +78,8 @@ namespace CustomerOnlineV2.Repository.Repository.ReceiverRepository
}
else
{
//model.ResponseCode = ResponseHelper.SUCCESS;
//model.ResponseMessage = ResponseMessageHelper.SUCCESS;
model.ResponseCode = ResponseHelper.SUCCESS;
model.ResponseMessage = ResponseMessageHelper.SUCCESS;
// _response.firstName = Convert.ToString(dt.Rows[0]["firstName"]);
// _response.middleName = Convert.ToString(dt.Rows[0]["middleName"]);

BIN
CustomerOnlineV2/CustomerOnlineV2.Repository/bin/Debug/net7.0/CustomerOnlineV2.Common.dll

BIN
CustomerOnlineV2/CustomerOnlineV2.Repository/bin/Debug/net7.0/CustomerOnlineV2.Common.pdb

BIN
CustomerOnlineV2/CustomerOnlineV2.Repository/bin/Debug/net7.0/CustomerOnlineV2.Repository.dll

BIN
CustomerOnlineV2/CustomerOnlineV2.Repository/bin/Debug/net7.0/CustomerOnlineV2.Repository.pdb

BIN
CustomerOnlineV2/CustomerOnlineV2.Repository/obj/Debug/net7.0/CustomerOnlineV2.Repository.csproj.AssemblyReference.cache

BIN
CustomerOnlineV2/CustomerOnlineV2.Repository/obj/Debug/net7.0/CustomerOnlineV2.Repository.dll

BIN
CustomerOnlineV2/CustomerOnlineV2.Repository/obj/Debug/net7.0/CustomerOnlineV2.Repository.pdb

245
CustomerOnlineV2/CustomerOnlineV2/Views/ReceiverInformation/Receiver.cshtml

@ -21,7 +21,7 @@
<div class="col-md-6">
<div class="mb-3">
<label class="form-label">Receiver's Country</label>
<select class="form-select form-control" asp-for="Country" asp-items="@CustomerOnlineV2.Helper.HelperClass.GetDropdownData("allCountrylist", true)" class="form-select">
<select class="form-select form-control" asp-for="Country" asp-items="@CustomerOnlineV2.Helper.HelperClass.GetDropdownData("allCountrylist", true)" class="form-select" required onkeydown="PaymentMethodChangeEvent">
@* <option value="BANGLADESH">BANGLADESH</option>
<option value="INDIA">INDIA</option>
<option value="SRI LANKA">SRI LANKA</option>
@ -114,9 +114,10 @@
<div class="mb-3">
<label class="form-label">Payment Mode</label>
<select asp-for="paymentMode" class="form-select" required>
@* <option value="Cash">Cash Payment</option>
<option value="Bank Deposit">Bank Deposit</option>
<option value="Mobile Wallet">Mobile Wallet</option> *@
<option selected="selected" value="">Select Payment Mode</option>
<option value="1">Cash Payment</option>
<option value="15">Bank Deposit</option>
<option value="25">Mobile Wallet</option>
</select>
@* <select class="form-select form-control" asp-for="paymentMode" asp-items="@CustomerOnlineV2.Helper.HelperClass.GetDropdownData("howtopay", true)" required> *@
@* <input type="email" asp-for="Email" class="form-control" placeholder="Email" asp-items="@CustomerOnlineV2.Helper.HelperClass.GetDropdownData("", true)" /> *@
@ -131,9 +132,9 @@
<div class="mb-3">
<label class="form-label">ID Type</label>
<select asp-for="idType" class="form-select form-control" required>
<option value="Brother/ Sister">Passport</option>
<option value="Business Partner">National ID Card</option>
<option value="Business Partner">Gov. ID</option>
<option value="1">Passport</option>
<option value="2">National ID Card</option>
<option value="3">Gov. ID</option>
</select>
</div>
@ -174,6 +175,7 @@
<div class="mb-3">
<label class="form-label">Select Bank</label>
<select class="form-select form-control" asp-for="bankName" required>
<option selected="selected" value="">Select Bank</option>
<option value="1163">AGRICULTURAL DEVELOPMENT BANK LTD</option>
<option value="1120">APEX DEVELOPMENT BANK LTD</option>
@ -244,6 +246,7 @@
<option value="1222">TRIVENI BIKASH BANK LTD</option>
<option value="1218">VYCCU SAVING AND CREDIT CO-OPERATIVE LTD</option>
<option value="1158">YETI DEVELOPMENT BANK LTD</option>
</select>
</div>
</div>
@ -293,13 +296,13 @@
// debugger;
// $('#Country').change(function () {
// if ($(this).val() == 'Nepal' {
// PopulateDDL('paymentMode', 'pMode', $(this).val(), true, '');
// //PopulateDDL('bankName', 'bList', $(this).val(), true, '');
// if ($(this).val() == '' {
// PopulateDDL('paymentMode', 'payoutMethods', $(this).val(), true, '');
// PopulateDDL('bankName', 'bankList', $(this).val(), true, '');
// }
// else {
// $('#paymentMode').empty();
// // $('#bankName').empty();
// $('#bankName').empty();
// }
// });
// });
@ -339,7 +342,7 @@
//let country = $('#Country').val();
let country = $('#Country').val();
let firstName = $('#firstName').val();
let middleName = $('#middleName').val();
let lastName1 = $('#lastName1').val();
@ -348,41 +351,24 @@
let State = $('#State').val();
let Mobile = $('#Mobile').val();
let Email = $('#Email').val();
//let paymentMode = $('#paymentMode').val();
let PaymentMode = $('#paymentMode').val();
let idType = $('#idType').val();
let idNumber = $('#idNumber').val();
let zipCode = $('#zipCode').val();
let createdDate = $('#createdDate').val();
let idExpairyDate = $('#idExpairyDate').val();
let bankLocation = $('#bankLocation').val();
let receiverAccountNumber = $('#receiverAccountNumber').val();
let bankName = $('#bankName').val();
// let Country = $('#Country').val();
// let FirstName = $('#FirstName').val();
// let MiddleName = $('#MiddleName').val();
// let LastName1 = $('#LastName1').val();
// let Relationship = $('#Relationship').val();
// let Address = $('#Address').val();
// let State = $('#State').val();
// let Mobile = $('#Mobile').val();
// let Email = $('#Email').val();
// let IdType = $('#IdType').val();
// let IdNumber = $('#IdNumber').val();
// let ceatedDate = $('#ceatedDate').val();
// let IdExpairyDate = $('#IdExpairyDate').val();
// let BankLocation = $('#BankLocation').val();
// let ReceiverAccountNumber = $('#ReceiverAccountNumber').val();
// let BankName = $('#BankName').val();
let Data = {
//Country: country,
Country: country,
firstName: firstName,
middleName: middleName,
lastName1: lastName1,
@ -391,7 +377,7 @@
State: State,
Mobile: Mobile,
Email: Email,
//paymentMode: paymentMode;
zipCode : zipCode,
idType: idType,
idNumber: idNumber,
createdDate: createdDate,
@ -399,22 +385,8 @@
bankLocation: bankLocation,
receiverAccountNumber: receiverAccountNumber,
bankName: bankName,
// country: country,
// FirstName: FirstName,
// MiddleName: MiddleName,
// LastName1: LastName1,
// Relationship: Relationship,
// Address: Address,
// State: State,
// Mobile: Mobile,
// Email: Email,
// IdType: IdType,
// IdNumber: IdNumber,
// CreatedDate: CreatedDate,
// IdExpairyDate: IdExpairyDate,
// BankLocation: BankLocation,
// ReceiverAccountNumber: ReceiverAccountNumber,
// BankName: BankName,
paymentMode: PaymentMode,
};
@ -434,18 +406,49 @@
EnableReceiveButton();
if (response.responseCode != 0) {
ShowAlertMessage(response.responseCode, response.responseMessage);
//ShowAlertMessage("Receiver Successfully created")
return;
}
//window.location.replace("/ReceiverInformation/Success?id=" + response.ReceiverId);
clearFields();
$('#Country').focus();
$('#message').text('Data successfully submitted');
// window.location.replace("/ReceiverInformation/Success?id=" + response.ReceiverId);
},
error: function () {
return null;
}
});
}
function clearFields() {
// Clear the fields you want
$('#Country').val('');
$('#firstName').val('');
$('#middleName').val('');
$('#lastName1').val('');
$('#Relationship').val('');
$('#Address').val('');
$('#State').val('');
$('#Mobile').val('');
$('#Email').val('');
$('#paymentMode').val('');
$('#idType').val('');
$('#idNumber').val('');
$('#createdDate').val('');
$('#idExpairyDate').val('');
$('#bankLocation').val('');
$('#receiverAccountNumber').val('');
$('#bankName').val('');
$('#PaymentMode').val('');
}
function DisableReceiveButton() {
$('.btnTextReceive').hide();
$('#btnReceive').css('cursor', 'not-allowed');
@ -462,140 +465,4 @@
}
</script>
@* <script type="text/javascript">
(function () {
'use strict'
// Fetch all the forms we want to apply custom Bootstrap validation styles to
var forms = document.querySelectorAll('#ReceiverForm')
// Receiver();
// Loop over them and prevent submission
Array.prototype.slice.call(forms)
.forEach(function (form) {
form.addEventListener('submit', function (event) {
if (!form.checkValidity()) {
event.preventDefault()
event.stopPropagation()
}
else {
event.preventDefault();
Receiver();
}
form.classList.add('was-validated')
}, false)
})
})();
function Receiver() {
debugger;
DisableReceiverButton();
let Country = $('#Country').val();
let ReceiverFName = $('#ReceiverFName').val();
let ReceiverMName = $('#ReceiverMName').val();
let ReceiverLName = $('#ReceiverLName').val();
let Relationship = $('#Relationship').val();
let ReceiverAddress = $('#ReceiverAddress').val();
let State = $('#State').val();
let SenderMobileNo = $('#SenderMobileNo').val();
let Email = $('#Email').val();
let zipCode = $('#zipCode').val();
let TypeId = $('#TypeId').val();
let idNumTypeValueber = $('#TypeValue').val();
let fromDate = $('#fromDate').val();
let toDate = $('#toDate').val();
let BankLocation = $('#BankLocation').val();
let BenificaryAc = $('#BenificaryAc').val();
let BankName = $('#BankName').val();
let Data = {
Country: Country,
ReceiverFName: ReceiverFName,
ReceiverMName: ReceiverMName,
ReceiverLName: ReceiverLName,
Relationship: Relationship,
ReceiverAddress: ReceiverAddress,
State: State,
SenderMobileNo: SenderMobileNo,
Email: Email,
TypeId: TypeId,
TypeValue: TypeValue,
fromDate: fromDate,
toDate: toDate,
BankLocation: BankLocation,
BenificaryAc: BenificaryAc,
BankName: BankName,
};
$.ajax(
{
type: 'POST',
url: '/ReceiverInformation/AddReceiver',
data: Data,
processData: true,
headers: {
"RequestVerificationToken":
$('input[name="__RequestVerificationToken"]').val()
},
async: true,
success: function (response) {
EnableReceiverButton();
if (response.responseCode != 0) {
ShowAlertMessage(response.responseCode, response.responseMessage);
return;
}
window.location.replace("/ReceiverInformation/Success?id=" + response.ReceiverId);
},
error: function () {
return null;
}
});
}
function DisableReceiverButton() {
$('.btnTextReceiver').hide();
$('#btnReceiver').css('cursor', 'not-allowed');
$('.loadingReceiver').show();
$('#btnReceiver').prop('disabled', true);
}
function EnableReceiverButton() {
$('.btnTextReceiver').show();
$('#btnReceiver').css('cursor', 'pointer');
$('.loadingReceiver').hide();
$('#btnReceiver').prop('disabled', false);
}
</script>
*@
}
}

BIN
CustomerOnlineV2/CustomerOnlineV2/bin/Debug/net7.0/CustomerOnlineV2.Api.dll

BIN
CustomerOnlineV2/CustomerOnlineV2/bin/Debug/net7.0/CustomerOnlineV2.Api.pdb

BIN
CustomerOnlineV2/CustomerOnlineV2/bin/Debug/net7.0/CustomerOnlineV2.Business.dll

BIN
CustomerOnlineV2/CustomerOnlineV2/bin/Debug/net7.0/CustomerOnlineV2.Business.pdb

BIN
CustomerOnlineV2/CustomerOnlineV2/bin/Debug/net7.0/CustomerOnlineV2.Common.dll

BIN
CustomerOnlineV2/CustomerOnlineV2/bin/Debug/net7.0/CustomerOnlineV2.Common.pdb

BIN
CustomerOnlineV2/CustomerOnlineV2/bin/Debug/net7.0/CustomerOnlineV2.Repository.dll

BIN
CustomerOnlineV2/CustomerOnlineV2/bin/Debug/net7.0/CustomerOnlineV2.Repository.pdb

BIN
CustomerOnlineV2/CustomerOnlineV2/bin/Debug/net7.0/CustomerOnlineV2.dll

BIN
CustomerOnlineV2/CustomerOnlineV2/bin/Debug/net7.0/CustomerOnlineV2.pdb

BIN
CustomerOnlineV2/CustomerOnlineV2/obj/Debug/net7.0/CustomerOnlineV2.csproj.AssemblyReference.cache

BIN
CustomerOnlineV2/CustomerOnlineV2/obj/Debug/net7.0/CustomerOnlineV2.dll

BIN
CustomerOnlineV2/CustomerOnlineV2/obj/Debug/net7.0/CustomerOnlineV2.pdb

BIN
CustomerOnlineV2/CustomerOnlineV2/obj/Debug/net7.0/ref/CustomerOnlineV2.dll

BIN
CustomerOnlineV2/CustomerOnlineV2/obj/Debug/net7.0/refint/CustomerOnlineV2.dll

Loading…
Cancel
Save