gagan 4 years ago
parent
commit
3a1183e60d
  1. 10
      JMEAgentSystem/Properties/PublishProfiles/FolderProfile.pubxml.user
  2. 3
      JMEAgentSystem/Scripts/Receiver/ReceiverRegistation.js
  3. 3
      JMEAgentSystem/Scripts/Receiver/ReceiverRegistrationNew.js
  4. 18
      JMEAgentSystem/WebPages/BenificiaryRegistration/Manage.aspx.cs

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

@ -61,10 +61,10 @@ by editing this MSBuild file. In order to learn more about this please visit htt
<publishTime>08/11/2020 16:55:34</publishTime>
</File>
<File Include="bin/JMEAgentSystem.dll">
<publishTime>10/12/2020 17:08:21</publishTime>
<publishTime>10/13/2020 18:52:53</publishTime>
</File>
<File Include="bin/JMEAgentSystem.pdb">
<publishTime>10/12/2020 17:08:21</publishTime>
<publishTime>10/13/2020 18:52:53</publishTime>
</File>
<File Include="bin/Microsoft.AspNet.FriendlyUrls.dll">
<publishTime>08/11/2020 16:55:49</publishTime>
@ -880,10 +880,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>09/08/2020 10:26:41</publishTime>
<publishTime>10/13/2020 18:37:50</publishTime>
</File>
<File Include="Scripts/Receiver/ReceiverRegistrationNew.js">
<publishTime>09/07/2020 17:46:07</publishTime>
<publishTime>10/13/2020 18:41:31</publishTime>
</File>
<File Include="Scripts/ReferralReports/DashBoard.js">
<publishTime>09/07/2020 17:46:07</publishTime>
@ -1324,7 +1324,7 @@ by editing this MSBuild file. In order to learn more about this please visit htt
<publishTime>08/11/2020 16:56:09</publishTime>
</File>
<File Include="WebPages/Account/ForceChangePassword.aspx">
<publishTime>08/11/2020 16:56:09</publishTime>
<publishTime>10/13/2020 14:50:54</publishTime>
</File>
<File Include="WebPages/Account/ForgetPassword.aspx">
<publishTime>08/11/2020 16:56:09</publishTime>

3
JMEAgentSystem/Scripts/Receiver/ReceiverRegistation.js

@ -297,7 +297,8 @@ function save() {
ReceiverId: $("#" + mId + "hideBenificialId").val(),
hideCustomerId: $("#" + mId + "hideCustomerId").val(),
hideBenificialId: $("#" + mId + "hideBenificialId").val(),
hddSignatureImage: $("#" + mId + "hddImgURL").val()
hddSignatureImage: $("#" + mId + "hddImgURL").val(),
branchManual: $("#" + mId + "branch_manual").val()
};
$.ajax({
url: "",

3
JMEAgentSystem/Scripts/Receiver/ReceiverRegistrationNew.js

@ -340,7 +340,8 @@ function save() {
ReceiverId: $("#" + mId + "hideBenificialId").val(),
hideCustomerId: $("#" + mId + "hideCustomerId").val(),
hideBenificialId: $("#" + mId + "hideBenificialId").val(),
hddSignatureImage: $("#" + mId + "hddImgURL").val()
hddSignatureImage: $("#" + mId + "hddImgURL").val(),
branchManual: $("#" + mId + "branch_manual").val()
};
$.ajax({
url: "",

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

@ -127,6 +127,8 @@ namespace JMEAgentSystem.WebPages.BenificiaryRegistration
}
private void SaveReceiverDetails()
{
try
{
var customerIdVal = Request.Form["customerId"].ToString();
if (customerIdVal == "")
@ -181,7 +183,7 @@ namespace JMEAgentSystem.WebPages.BenificiaryRegistration
benificiar.ReceiverId = Request.Form["ReceiverId"].ToString();
//benificiar.customerId = (Request.Form["hideCustomerId"].ToString() != "" ? Request.Form["hideCustomerId"].ToString() : null);
benificiar.customerId = customerIdVal;
benificiar.branchText = branch_manual.Text;
benificiar.branchText = Request.Form["branchManual"].ToString();
//benificiar.agentId = GetStatic.GetAgent().ToInt();
benificiar.Flag = (Request.Form["hideBenificialId"].ToString() != "" ? "u" : "i-new");
@ -212,6 +214,20 @@ namespace JMEAgentSystem.WebPages.BenificiaryRegistration
Response.Write(jsonString);
Response.End();
}
catch (Exception ex)
{
DbResult Result = new DbResult()
{
ErrorCode = "1",
Msg = ex.InnerException.ToString()
};
var jsonString = JsonConvert.SerializeObject(Result);
Response.ContentType = "application/json";
Response.Write(jsonString);
Response.End();
}
}
private void LoadPayoutPartner()
{

Loading…
Cancel
Save