Browse Source

add new template

feature/Redmine-17825-Email_Template
shakun 10 months ago
parent
commit
b4dac92640
  1. 14
      Business/Mobile/MobileServices.cs
  2. 3
      Common/Model/Enum/Notifications.cs
  3. 3
      JsonRx/Api/SendMoneyController.cs

14
Business/Mobile/MobileServices.cs

@ -270,6 +270,7 @@ namespace Business.Mobile
return jsonRx;
}
}
public string getSenderFormattedNumber(string number)
{
string finalNo = number;
if (!number.Contains("+44"))
@ -1042,18 +1043,6 @@ namespace Business.Mobile
return jsonRx;
}
}
{
if (string.IsNullOrEmpty(kyc.otherOccupation))
{
enumString = RESPONSE_MSG.VALIDATE_FORM_9.ToString();
var map = Utilities.GetLanguageMapping(enumString, lang);
jsonRx.SetResponse("1", map.Message);
return jsonRx;
}
}
}
//if (string.IsNullOrEmpty(kyc.idNumber))
@ -2197,7 +2186,6 @@ namespace Business.Mobile
}
jsonRx.ErrorCode = "0";
jsonRx.Data = liWalletStmtResponse;
jsonRx.Data = liWalletStmtResponse;
return jsonRx;

3
Common/Model/Enum/Notifications.cs

@ -51,7 +51,8 @@ namespace Common.Model.Enum
TRANSACTION_SUCCESS = 15,
TF_NO_BALANCE = 16
TF_NO_BALANCE = 16,
NEW_REGISTER_WELCOME = 17,
}
}

3
JsonRx/Api/SendMoneyController.cs

@ -231,7 +231,6 @@ namespace JsonRx.Api
{
res = _bussiness.SendTransaction(model);
Log.Debug("DOTRANSACTION | RESPONSE : " + JsonConvert.SerializeObject(res));
Log.Debug("DOTRANSACTION | RESPONSE : " + JsonConvert.SerializeObject(res));
if (res.ErrorCode == "0")
{
@ -270,7 +269,7 @@ namespace JsonRx.Api
}
if (res.ErrorCode.Equals("0"))
{
if (res.Extra3 != null && res.Extra3.ToString() == "N")
if (res.Extra3 != null && res.Extra3.ToString() == "N")
enumString = RESPONSE_MSG.SEND_TRANSACTION_SUCCESS.ToString();
else

Loading…
Cancel
Save