From b4dac92640164881a7a0f4dd46488e33e21a36a9 Mon Sep 17 00:00:00 2001 From: shakun Date: Sun, 26 Nov 2023 11:10:54 +0545 Subject: [PATCH] add new template --- Business/Mobile/MobileServices.cs | 14 +------------- Common/Model/Enum/Notifications.cs | 3 ++- JsonRx/Api/SendMoneyController.cs | 3 +-- 3 files changed, 4 insertions(+), 16 deletions(-) diff --git a/Business/Mobile/MobileServices.cs b/Business/Mobile/MobileServices.cs index 7420f01..07dad6a 100644 --- a/Business/Mobile/MobileServices.cs +++ b/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; diff --git a/Common/Model/Enum/Notifications.cs b/Common/Model/Enum/Notifications.cs index 862fae6..192a132 100644 --- a/Common/Model/Enum/Notifications.cs +++ b/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, } } diff --git a/JsonRx/Api/SendMoneyController.cs b/JsonRx/Api/SendMoneyController.cs index 03e89e7..948609d 100644 --- a/JsonRx/Api/SendMoneyController.cs +++ b/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