From 5bbf7e9aa9081e5b7e4fe5d511da181013818c74 Mon Sep 17 00:00:00 2001 From: Leeza Baidar Date: Sun, 3 Mar 2024 20:58:12 +0545 Subject: [PATCH] #26000 post code in push Notification --- Swift.DAL/MobileDao/MobileConfigDao.cs | 3 +- .../PushNotification/ManageBroadCast.aspx | 113 ++++++++++++------ .../PushNotification/ManageBroadCast.aspx.cs | 5 +- .../ManageBroadCast.aspx.designer.cs | 25 ++-- 4 files changed, 101 insertions(+), 45 deletions(-) diff --git a/Swift.DAL/MobileDao/MobileConfigDao.cs b/Swift.DAL/MobileDao/MobileConfigDao.cs index ba7722a..a6fa41d 100644 --- a/Swift.DAL/MobileDao/MobileConfigDao.cs +++ b/Swift.DAL/MobileDao/MobileConfigDao.cs @@ -78,7 +78,7 @@ namespace Swift.DAL.MobileDao return ParseDbResult(sql); } - public DbResult SaveBroadCastCustomer(string user, string rowId, string customerId, string msgType, string body, string customerType , string nativeCountry) + public DbResult SaveBroadCastCustomer(string user, string rowId, string customerId, string msgType, string body, string customerType , string nativeCountry, string postCode) { var sql = "EXEC ProcMobileConfig @flag = '" + (string.IsNullOrEmpty(rowId) ? "IN-BROADCAST" : "UN-BROADCAST") + "'"; sql += ", @User = " + FilterString(user); @@ -88,6 +88,7 @@ namespace Swift.DAL.MobileDao sql += ", @msgType = " + FilterString(msgType); sql += ", @customerType = " + FilterString(customerType); sql += ", @nativeCountry = " + FilterString(nativeCountry); + sql += ", @postCode = " + FilterString(postCode); return ParseDbResult(sql); } diff --git a/Swift.web/MobileRemit/Admin/PushNotification/ManageBroadCast.aspx b/Swift.web/MobileRemit/Admin/PushNotification/ManageBroadCast.aspx index faa5ba1..2c90828 100644 --- a/Swift.web/MobileRemit/Admin/PushNotification/ManageBroadCast.aspx +++ b/Swift.web/MobileRemit/Admin/PushNotification/ManageBroadCast.aspx @@ -29,7 +29,7 @@