gagan 4 years ago
parent
commit
fd90409fc8
  1. 5
      Business/Customer/CustomerServices.cs
  2. 2
      Business/Customer/ICustomerServices.cs
  3. 34
      JMEAgentSystem/Properties/PublishProfiles/FolderProfile.pubxml.user
  4. 143
      JMEAgentSystem/WebPages/BenificiaryRegistration/Manage.aspx
  5. 31
      JMEAgentSystem/WebPages/BenificiaryRegistration/Manage.aspx.cs
  6. 18
      JMEAgentSystem/WebPages/BenificiaryRegistration/Manage.aspx.designer.cs
  7. 20
      JMEAgentSystem/WebPages/CustomerRegistration/Manage.aspx
  8. 39
      JMEAgentSystem/WebPages/CustomerRegistration/PrintDetails.aspx
  9. 1
      JMEAgentSystem/WebPages/CustomerRegistration/PrintDetails.aspx.cs
  10. 53
      JMEAgentSystem/WebPages/CustomerRegistration/PrintDetails.aspx.designer.cs
  11. 8
      Repository/Repository/OnlineCustomerDao/CustomerRepository.cs
  12. 2
      Repository/Repository/OnlineCustomerDao/ICustomerRepository.cs

5
Business/Customer/CustomerServices.cs

@ -90,5 +90,10 @@ namespace Business.Customer
{
return _customerRepo.UpdateCustomerDocument(cdId, customerId, fileName, fileDescription, fileType, documentType, user);
}
public DataSet GetCustomerAndReceiver(string customerId, string user)
{
return _customerRepo.GetCustomerAndReceiver(customerId, user);
}
}
}

2
Business/Customer/ICustomerServices.cs

@ -36,5 +36,7 @@ namespace Business.Customer
DataTable GetCustomerDetailsWitDT(string customerId, string user);
DataSet GetCustomerInfoFromMembershiId(string user, string membershipId, string receiverId, string rowId);
DataSet GetCustomerAndReceiver(string customerId, string user);
}
}

34
JMEAgentSystem/Properties/PublishProfiles/FolderProfile.pubxml.user

@ -37,16 +37,16 @@ by editing this MSBuild file. In order to learn more about this please visit htt
<publishTime>08/11/2020 16:56:02</publishTime>
</File>
<File Include="bin/Business.dll">
<publishTime>08/16/2020 13:11:54</publishTime>
<publishTime>08/17/2020 11:16:47</publishTime>
</File>
<File Include="bin/Business.pdb">
<publishTime>08/16/2020 13:11:54</publishTime>
<publishTime>08/17/2020 11:16:47</publishTime>
</File>
<File Include="bin/Common.dll">
<publishTime>08/13/2020 17:18:29</publishTime>
<publishTime>08/17/2020 11:16:46</publishTime>
</File>
<File Include="bin/Common.pdb">
<publishTime>08/13/2020 17:18:29</publishTime>
<publishTime>08/17/2020 11:16:46</publishTime>
</File>
<File Include="bin/EntityFramework.dll">
<publishTime>08/11/2020 16:56:02</publishTime>
@ -55,10 +55,10 @@ by editing this MSBuild file. In order to learn more about this please visit htt
<publishTime>08/11/2020 16:56:02</publishTime>
</File>
<File Include="bin/JMEAgentSystem.dll">
<publishTime>08/17/2020 10:06:54</publishTime>
<publishTime>08/17/2020 12:43:00</publishTime>
</File>
<File Include="bin/JMEAgentSystem.pdb">
<publishTime>08/17/2020 10:06:54</publishTime>
<publishTime>08/17/2020 12:43:00</publishTime>
</File>
<File Include="bin/Microsoft.AspNet.FriendlyUrls.dll">
<publishTime>08/11/2020 16:56:02</publishTime>
@ -121,10 +121,10 @@ by editing this MSBuild file. In order to learn more about this please visit htt
<publishTime>08/11/2020 16:56:02</publishTime>
</File>
<File Include="bin/Repository.dll">
<publishTime>08/16/2020 13:11:53</publishTime>
<publishTime>08/17/2020 11:16:46</publishTime>
</File>
<File Include="bin/Repository.pdb">
<publishTime>08/16/2020 13:11:53</publishTime>
<publishTime>08/17/2020 11:16:46</publishTime>
</File>
<File Include="bin/roslyn/csc.exe">
<publishTime>08/11/2020 16:56:02</publishTime>
@ -784,7 +784,7 @@ by editing this MSBuild file. In order to learn more about this please visit htt
<publishTime>08/11/2020 16:56:08</publishTime>
</File>
<File Include="Scripts/Customer/CustomerRegistration.js">
<publishTime>08/17/2020 10:05:18</publishTime>
<publishTime>08/17/2020 10:52:57</publishTime>
</File>
<File Include="Scripts/Customer/Document.js">
<publishTime>08/12/2020 14:27:30</publishTime>
@ -853,10 +853,10 @@ by editing this MSBuild file. In order to learn more about this please visit htt
<publishTime>08/11/2020 16:56:08</publishTime>
</File>
<File Include="Scripts/Receiver/ReceiverRegistation.js">
<publishTime>08/17/2020 10:05:23</publishTime>
<publishTime>08/17/2020 10:53:12</publishTime>
</File>
<File Include="Scripts/Receiver/ReceiverRegistrationNew.js">
<publishTime>08/17/2020 09:31:45</publishTime>
<publishTime>08/17/2020 10:34:16</publishTime>
</File>
<File Include="Scripts/ReferralReports/DashBoard.js">
<publishTime>08/11/2020 16:56:08</publishTime>
@ -889,7 +889,7 @@ by editing this MSBuild file. In order to learn more about this please visit htt
<publishTime>08/11/2020 16:56:08</publishTime>
</File>
<File Include="Site.Master">
<publishTime>08/12/2020 16:34:49</publishTime>
<publishTime>08/17/2020 12:28:30</publishTime>
</File>
<File Include="Site.Mobile.Master">
<publishTime>10/25/2019 16:47:02</publishTime>
@ -1282,7 +1282,7 @@ by editing this MSBuild file. In order to learn more about this please visit htt
<publishTime>10/20/2019 15:35:21</publishTime>
</File>
<File Include="Web.config">
<publishTime>08/13/2020 16:15:34</publishTime>
<publishTime>08/17/2020 12:43:02</publishTime>
</File>
<File Include="WebPages/About.aspx">
<publishTime>08/11/2020 16:56:09</publishTime>
@ -1309,7 +1309,7 @@ by editing this MSBuild file. In order to learn more about this please visit htt
<publishTime>08/12/2020 15:58:42</publishTime>
</File>
<File Include="WebPages/BenificiaryRegistration/Manage.aspx">
<publishTime>08/17/2020 09:30:35</publishTime>
<publishTime>08/17/2020 12:28:29</publishTime>
</File>
<File Include="WebPages/BenificiaryRegistration/PrintBeneficiaryDetails.aspx">
<publishTime>08/17/2020 09:57:44</publishTime>
@ -1318,10 +1318,10 @@ by editing this MSBuild file. In order to learn more about this please visit htt
<publishTime>08/11/2020 16:56:08</publishTime>
</File>
<File Include="WebPages/CustomerRegistration/Manage.aspx">
<publishTime>08/16/2020 11:01:08</publishTime>
<publishTime>08/17/2020 12:28:29</publishTime>
</File>
<File Include="WebPages/CustomerRegistration/PrintDetails.aspx">
<publishTime>08/17/2020 09:53:41</publishTime>
<publishTime>08/17/2020 11:07:57</publishTime>
</File>
<File Include="WebPages/Default.aspx">
<publishTime>08/11/2020 16:56:09</publishTime>
@ -1342,7 +1342,7 @@ by editing this MSBuild file. In order to learn more about this please visit htt
<publishTime>08/17/2020 09:52:49</publishTime>
</File>
<File Include="WebPages/SendTxn/SendTxnRequest.aspx">
<publishTime>08/17/2020 08:59:55</publishTime>
<publishTime>08/17/2020 12:28:29</publishTime>
</File>
<File Include="WebPages/SendTxn/SendV1.aspx">
<publishTime>07/31/2020 10:42:21</publishTime>

143
JMEAgentSystem/WebPages/BenificiaryRegistration/Manage.aspx

@ -9,18 +9,6 @@
</div>
<div class="page-wrapper">
<div class="row">
<div class="col-sm-12">
<div class="page-title">
<h1></h1>
<ol class="breadcrumb">
<li><a href="../../Front.aspx" target="mainFrame"><i class="fa fa-home"></i></a></li>
<li><a href="#">Registration </a></li>
<li><a href="#">Add Beneficiary </a></li>
</ol>
</div>
</div>
</div>
<div class="row">
<div class="col-md-12">
<div class="register-form">
@ -30,17 +18,63 @@
Add Beneficiary
</div>
<div class="panel-body">
<div class="col-md-12">
<div class="col-md-6">
<div class="form-group">
<label>Enter Customer Id:<span class="errormsg">*</span></label>
<asp:TextBox ID="customerId" Width="200px" runat="server" CssClass="form-control"></asp:TextBox>
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<asp:Button ID="search" runat="server" CssClass="btn btn-primary m-t-25" Text="Search" />
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="row" id="infoDiv">
<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 </h4>
</div>
<div class="panel-body">
<div class="table-responsive">
<table id="receiverTbl" class="table table-striped table-bordered">
<thead>
<tr>
<th>S. No.</th>
<th>Name</th>
<th>Address</th>
<th>Mobile</th>
<th>IdType</th>
</tr>
</thead>
<tbody>
</tbody>
</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">
<asp:Button ID="add" runat="server" CssClass="btn btn-primary m-t-25" Text="Add" />
</div>
</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">
@ -76,7 +110,7 @@
</asp:DropDownList>
</div>
</div>
<div class="col-md-4">
<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>
@ -236,8 +270,7 @@
<div class="form-group">
<label class="checkbox-ui">
<input type="checkbox" runat="server" class="custom-control-input" id="BenificiaryAgreement" />
<small class="custom-control-label">
私は本依頼書に記載されているジャパンマネーエクスプレス株式会社の「海外送金利用規約」の内容に同意します。<br />
<small class="custom-control-label">私は本依頼書に記載されているジャパンマネーエクスプレス株式会社の「海外送金利用規約」の内容に同意します。<br />
私の依頼する送金は、北朝鮮及びイランとは関係無い取引であり、反社会勢力と一切の関りはありません。<br />
受取人及び私は「外内国の重要な公的な地位にある者」ではありません。<br />
また申込書に表示された内容について間違いが無い事を確認した上で、JME送金サービスの受取人登録を依頼します.
@ -333,4 +366,82 @@
<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/Receiver/ReceiverRegistrationNew.js"></script>
<script src="../../Plugins/datatables/jquery.dataTables.min.js"></script>
<script type="text/javascript">
$(document).ready(function () {
$("#" + mId + "regUp").hide();
$("#" + mId + "search").click(function () {
var dataObject = {
MethodName: 'GetCustomerAndReceiver',
CustomerId: $('#' + mId + 'customerId').val()
};
url = '';
$.post(url, dataObject, function (data) {
debugger
var table = $('#receiverTbl');
let response = JSON.parse(data);
var dataAvalilabe = 'Table' in response;
if (!dataAvalilabe) {
$("#loadingDiv").LoadingOverlay("hide", true);
table.DataTable().clear().draw();
return;
}
var customerFound = 'Table1' in response;
if (customerFound) {
$("#infoDiv").show();
var arrayData = [];
var result = response.Table1;
var count = 1;
$.each(result, function (i, d) {
arrayData.push({
"SNo": count,
"Name": d['fullname'],
"Address": d['address'],
"Mobile": d['mobile'],
"IdType": d['idType']
});
count++;
});
table.DataTable().destroy();
table.DataTable({
data: arrayData,
dom: 'Bfrtip',
lengthMenu: [
[10, 25, 50, -1],
['10', '25', '50', 'All']
],
responsive: true,
buttons: [
//'excelHtml5',
'pdfHtml5',
'print',
],
columns: [
{ "data": "SNo" },
{ "data": "Name" },
{ "data": "Address" },
{ "data": "Mobile" },
{ "data": "IdType" }
]
});
//$("#loadingDiv").LoadingOverlay("hide", true);
}
}).fail(function () {
//$("#loadingDiv").LoadingOverlay("hide", true);
swal(result.Msg, "Error Occured", "error");
});
});
$("#" + mId + "add").click(function () {
$("#" + mId + "regUp").show();
//$("#" + mId + "add").attr("disabled", "disabled");
});
});
</script>
</asp:Content>

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

@ -1,7 +1,9 @@
using Business.Configuration;
using Business.Customer;
using Business.ReferralReports;
using Common.Helper;
using Common.Model.BenificiaryModel;
using Common.Model.ReferralReports;
using Common.Utility;
using JMEAgentSystem.Library.Remittance;
using Newtonsoft.Json;
@ -28,6 +30,7 @@ namespace JMEAgentSystem.WebPages.BenificiaryRegistration
private readonly ReceiverInformationDAO _receiver = new ReceiverInformationDAO();
private const string ViewFunctionId = "20213000";
private const string AddFunctionId = "20213010";
private readonly IReferralReportsServices _referralReports = AutoFacContainer.Resolve<IReferralReportsServices>();
protected void Page_Load(object sender, EventArgs e)
{
@ -65,6 +68,13 @@ namespace JMEAgentSystem.WebPages.BenificiaryRegistration
case "LoadCustomerInfo":
LoadCustomerInfo();
break;
case "GetCustomerAndReceiver":
GetCustomerAndReceiver();
break;
case "ViewTransactionReport":
ViewTransactionReport();
break;
}
Authenticate();
var a = otherRelationshipTextBox.Text;
@ -498,6 +508,27 @@ namespace JMEAgentSystem.WebPages.BenificiaryRegistration
{
return Request.Form["customerId"];
}
private void GetCustomerAndReceiver()
{
DataSet result = _cd.GetCustomerAndReceiver(getCustomerId(), GetStatic.GetUser());
String jsonData = JsonConvert.SerializeObject(result);
Response.Write(jsonData);
Response.End();
}
private void ViewTransactionReport()
{
ViewStatementModel _model = new ViewStatementModel()
{
fromDate = Request.Form["FromDate"],
toDate = Request.Form["ToDate"],
referralCode = GetStatic.GetUser()
};
List<TransactionStatementModel> result = _referralReports.ViewTransactionReport(_model);
GetStatic.JsonResponse(result, this);
}
}
}
public class DropDownModel

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

@ -39,6 +39,24 @@ namespace JMEAgentSystem.WebPages.BenificiaryRegistration {
/// </remarks>
protected global::System.Web.UI.WebControls.TextBox customerId;
/// <summary>
/// search 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 search;
/// <summary>
/// add 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 add;
/// <summary>
/// regUp control.
/// </summary>

20
JMEAgentSystem/WebPages/CustomerRegistration/Manage.aspx

@ -325,19 +325,19 @@
<div class="col-md-4">
<div class="form-group">
<label>First Name:<span class="errormsg">*</span></label>
<asp:TextBox runat="server" ID="recTxtReceiverFName" CssClass="form-control" placeholder="Receiver First Name"></asp:TextBox>
<asp:TextBox runat="server" ID="recTxtReceiverFName" CssClass="form-control" placeholder="Beneficiary First Name"></asp:TextBox>
</div>
</div>
<div class="col-md-4">
<div class="form-group">
<label>Mid Name:</label>
<asp:TextBox runat="server" ID="recTxtReceiverMName" CssClass="form-control" placeholder="Receiver Mid Name"></asp:TextBox>
<asp:TextBox runat="server" ID="recTxtReceiverMName" CssClass="form-control" placeholder="Beneficiary Mid 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="recTxtReceiverLName" CssClass="form-control" placeholder="Receiver Last Name"></asp:TextBox>
<asp:TextBox runat="server" ID="recTxtReceiverLName" CssClass="form-control" placeholder="Beneficiary Last Name"></asp:TextBox>
</div>
</div>
</div>
@ -351,14 +351,14 @@
</div>
<div class="col-md-4">
<div class="form-group">
<label>Receiver Address:<span class="errormsg">*</span></label>
<asp:TextBox runat="server" ID="recTxtReceiverAddress" CssClass="form-control" placeholder="Receiver Address"></asp:TextBox>
<label>Beneficiary Address:<span class="errormsg">*</span></label>
<asp:TextBox runat="server" ID="recTxtReceiverAddress" CssClass="form-control" placeholder="Beneficiary Address"></asp:TextBox>
</div>
</div>
<div class="col-md-4">
<div class="form-group">
<label>Receiver City:</label>
<asp:TextBox runat="server" ID="recTxtReceiverCity" CssClass="form-control" placeholder="Receiver City"></asp:TextBox>
<label>Beneficiary City:</label>
<asp:TextBox runat="server" ID="recTxtReceiverCity" CssClass="form-control" placeholder="Beneficiary City"></asp:TextBox>
</div>
</div>
</div>
@ -366,7 +366,7 @@
<div class="col-md-4">
<div class="form-group">
<label>Contact No:</label>
<asp:TextBox runat="server" ID="recTxtContactNo" CssClass="form-control" placeholder="Receiver Contact No" MaxLength="15" onchange="return CheckForPhoneNumber(this,'Phone No.')"></asp:TextBox>
<asp:TextBox runat="server" ID="recTxtContactNo" CssClass="form-control" placeholder="Beneficiary Contact No" MaxLength="15" onchange="return CheckForPhoneNumber(this,'Phone No.')"></asp:TextBox>
</div>
</div>
<div class="col-md-4">
@ -472,7 +472,7 @@
<div class="row">
<div class="col-md-12">
<div class="form-group">
<label>Receiver Registation Remarks:</label>
<label>Beneficiary Registation Remarks:</label>
<asp:TextBox ID="recTxtRemarksRec" runat="server" TextMode="MultiLine" Rows="2" CssClass="form-control"></asp:TextBox>
</div>
</div>
@ -561,7 +561,7 @@
<label class="checkbox-ui">
<input type="checkbox" id="agreement" name="agreement" required="required" />
<small>
<asp:Localize runat="server" meta:resourcekey="Register_048" Text="By submitting of this form, I hereby understand and aggree the Terms & Condition with Japan Money Express Co. Ltd."></asp:Localize><br />
<asp:Localize runat="server" meta:resourcekey="Register_048" Text="By submitting of this form, I hereby understand and agree the Terms & Condition with Japan Money Express Co. Ltd."></asp:Localize><br />
</small>
</label>
<a data-toggle="modal" data-target="#termsAndCondition">

39
JMEAgentSystem/WebPages/CustomerRegistration/PrintDetails.aspx

@ -33,17 +33,31 @@
<td class="tg-7btt" colspan="6">Personal Information</td>
</tr>
<tr>
</tr>
<tr>
<td class="tg-fymr">Country:</td>
<td colspan="2" class="tg-0pky" runat="server" id="txtCountry"></td>
<td class="tg-fymr">Zip Code :</td>
<td colspan="2" class="tg-0pky" runat="server" id="txtZipcCode"></td>
<td colspan="3" class="tg-0pky" runat="server" id="txtCountry"></td>
<td style="white-space: nowrap" class="tg-fymr">Native Country :</td>
<td colspan="2" class="tg-0pky" runat="server" id="txtNativeCountry"></td>
</tr>
<tr>
<td class="tg-fymr">Address:</td>
<td colspan="3" class="tg-0pky" runat="server" id="txtAddress"></td>
<td class="tg-0pky" runat="server" id="txtAddress" colspan="5"></td>
</tr>
<tr>
<td class="tg-fymr">Date of Birth:</td>
<td class="tg-0pky" runat="server" id="txtDateOfBirth" colspan="5"></td>
</tr>
<tr>
<td class="tg-fymr">City:</td>
<td colspan="1" class="tg-0pky" runat="server" id="txtCity"></td>
<td colspan="3" class="tg-0pky" runat="server" id="txtCity">txtCity</td>
<td class="tg-fymr">Gender:</td>
<td colspan="1" class="tg-0pky" runat="server" id="txtGender"></td>
</tr>
<tr>
<td class="tg-fymr">Occupation :</td>
@ -55,8 +69,9 @@
<tr>
<td class="tg-fymr">Source Of Fund :</td>
<td colspan="3" class="tg-0pky" runat="server" id="txtSourceOfFund"></td>
<td style="white-space: nowrap" class="tg-fymr">Native Country :</td>
<td colspan="1" class="tg-0pky" runat="server" id="txtNativeCountry"></td>
<td class="tg-fymr">Zip Code :</td>
<td colspan="2" class="tg-0pky" runat="server" id="txtZipcCode"></td>
</tr>
<tr>
@ -85,13 +100,7 @@
<td class="tg-fymr">SSN No. :</td>
<td colspan="2" class="tg-0pky" runat="server" id="txtSSnNo"></td>
</tr>
<tr>
<td class="tg-fymr">Date of Birth :</td>
<td colspan="3" class="tg-0pky" runat="server" id="txtDateOfBirth"></td>
<td class="tg-fymr">Gender:</td>
<td colspan="1" class="tg-0pky" runat="server" id="txtGender"></td>
</tr>
<tr>
</tr>
<tr>
@ -128,10 +137,6 @@
<td class="tg-fymr">Beneficiary Type:</td>
<td colspan="2" class="tg-0pky" runat="server" id="recBeneficiaryType"></td>
</tr>
<tr>
<td class="tg-fymr">Email:</td>
<td class="tg-0pky" runat="server" id="recEmail" colspan="5"></td>
</tr>
<tr>
<td class="tg-fymr">Full Name:</td>
<td class="tg-0pky" runat="server" id="recFullName" colspan="5"></td>

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

@ -92,7 +92,6 @@ namespace JMEAgentSystem.WebPages.CustomerRegistration
{
recCountry.InnerText = dr["country"].ToString();
recBeneficiaryType.InnerText = dr["receiverType"].ToString();
recEmail.InnerText = dr["email"].ToString();
recFullName.InnerText = dr["customerName"].ToString();
recNativeCountry.InnerText = dr["NativeCountry"].ToString();
recAddress.InnerText = dr["address"].ToString();

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

@ -49,13 +49,13 @@ namespace JMEAgentSystem.WebPages.CustomerRegistration {
protected global::System.Web.UI.HtmlControls.HtmlTableCell txtCountry;
/// <summary>
/// txtZipcCode control.
/// txtNativeCountry 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 txtZipcCode;
protected global::System.Web.UI.HtmlControls.HtmlTableCell txtNativeCountry;
/// <summary>
/// txtAddress control.
@ -66,6 +66,15 @@ namespace JMEAgentSystem.WebPages.CustomerRegistration {
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTableCell txtAddress;
/// <summary>
/// txtDateOfBirth 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 txtDateOfBirth;
/// <summary>
/// txtCity control.
/// </summary>
@ -75,6 +84,15 @@ namespace JMEAgentSystem.WebPages.CustomerRegistration {
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTableCell txtCity;
/// <summary>
/// txtGender 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 txtGender;
/// <summary>
/// txtOccupation control.
/// </summary>
@ -103,13 +121,13 @@ namespace JMEAgentSystem.WebPages.CustomerRegistration {
protected global::System.Web.UI.HtmlControls.HtmlTableCell txtSourceOfFund;
/// <summary>
/// txtNativeCountry control.
/// txtZipcCode 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 txtNativeCountry;
protected global::System.Web.UI.HtmlControls.HtmlTableCell txtZipcCode;
/// <summary>
/// txtMonthlyIncome control.
@ -183,24 +201,6 @@ namespace JMEAgentSystem.WebPages.CustomerRegistration {
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTableCell txtSSnNo;
/// <summary>
/// txtDateOfBirth 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 txtDateOfBirth;
/// <summary>
/// txtGender 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 txtGender;
/// <summary>
/// txtRemarks control.
/// </summary>
@ -282,15 +282,6 @@ namespace JMEAgentSystem.WebPages.CustomerRegistration {
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTableCell recBeneficiaryType;
/// <summary>
/// recEmail 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 recEmail;
/// <summary>
/// recFullName control.
/// </summary>

8
Repository/Repository/OnlineCustomerDao/CustomerRepository.cs

@ -342,5 +342,13 @@ namespace Repository.Repository.OnlineCustomerDao
sql += ",@user =" + FilterString(user);
return ExecuteDataTable(sql);
}
public DataSet GetCustomerAndReceiver(string customerId, string user)
{
string sql = "Exec proc_customerInfo @flag='getCustomerAndReceiverInfo'";
sql += " ,@customerId =" + FilterString(customerId);
sql += " ,@user =" + FilterString(user);
return ExecuteDataSet(sql);
}
}
}

2
Repository/Repository/OnlineCustomerDao/ICustomerRepository.cs

@ -39,5 +39,7 @@ namespace Repository.Repository.OnlineCustomerDao
DataTable GetDocumentByCustomerId(string customerId, string fileDescription, string sessionId);
DataSet GetCustomerInfoFromMembershiId(string user, string membershipId, string receiverId, string rowId);
DataSet GetCustomerAndReceiver(string customerId, string user);
}
}
Loading…
Cancel
Save