From 80ed744185f1a7764c912ad2b07bd3ebb28fdfa8 Mon Sep 17 00:00:00 2001 From: shakun Date: Mon, 20 Nov 2023 17:02:19 +0545 Subject: [PATCH] js reference ifx --- .../HomeRepository/HomeRepository.cs | 1 + .../Controllers/AccountController.cs | 2 +- .../Views/ReceiverInformation/Receiver.cshtml | 5 ++--- .../Views/Shared/_Layout.cshtml | 3 ++- .../Views/Shared/_Layout2.cshtml | 22 +++++++++---------- 5 files changed, 17 insertions(+), 16 deletions(-) diff --git a/CustomerOnlineV2/CustomerOnlineV2.Repository/Repository/HomeRepository/HomeRepository.cs b/CustomerOnlineV2/CustomerOnlineV2.Repository/Repository/HomeRepository/HomeRepository.cs index c9ef587..5867366 100644 --- a/CustomerOnlineV2/CustomerOnlineV2.Repository/Repository/HomeRepository/HomeRepository.cs +++ b/CustomerOnlineV2/CustomerOnlineV2.Repository/Repository/HomeRepository/HomeRepository.cs @@ -372,6 +372,7 @@ namespace CustomerOnlineV2.Repository.Repository.HomeRepository if (ds.Tables.Count > 1) { _response.RewardAmount = ds.Tables[1].Rows[0]["RewardAmount"].ToString(); + _response.SelfieDoc = ds.Tables[1].Rows[0]["SelfieDoc"].ToString(); } } } diff --git a/CustomerOnlineV2/CustomerOnlineV2/Controllers/AccountController.cs b/CustomerOnlineV2/CustomerOnlineV2/Controllers/AccountController.cs index 7a32a23..45b0605 100644 --- a/CustomerOnlineV2/CustomerOnlineV2/Controllers/AccountController.cs +++ b/CustomerOnlineV2/CustomerOnlineV2/Controllers/AccountController.cs @@ -76,7 +76,7 @@ namespace CustomerOnlineV2.Controllers new Claim("SessionId", result.SessionId), new Claim("UserId", result.UserId), new Claim("MembershipId", result.MembershipId), - new Claim("SelfieDoc", Convert.ToString(result.Selfiepath)), + //new Claim("SelfieDoc", Convert.ToString(result.Selfiepath)), }; var claimsIdentity = new ClaimsIdentity(claims, CookieAuthenticationDefaults.AuthenticationScheme); diff --git a/CustomerOnlineV2/CustomerOnlineV2/Views/ReceiverInformation/Receiver.cshtml b/CustomerOnlineV2/CustomerOnlineV2/Views/ReceiverInformation/Receiver.cshtml index bf543d4..30fcfd9 100644 --- a/CustomerOnlineV2/CustomerOnlineV2/Views/ReceiverInformation/Receiver.cshtml +++ b/CustomerOnlineV2/CustomerOnlineV2/Views/ReceiverInformation/Receiver.cshtml @@ -262,7 +262,7 @@ - +@section Scripts{ -@* @section Scripts{ -} *@ +} \ No newline at end of file diff --git a/CustomerOnlineV2/CustomerOnlineV2/Views/Shared/_Layout.cshtml b/CustomerOnlineV2/CustomerOnlineV2/Views/Shared/_Layout.cshtml index 1d847f9..534b493 100644 --- a/CustomerOnlineV2/CustomerOnlineV2/Views/Shared/_Layout.cshtml +++ b/CustomerOnlineV2/CustomerOnlineV2/Views/Shared/_Layout.cshtml @@ -154,7 +154,7 @@
- +
@@ -353,6 +353,7 @@ if (response.responseCode == 0) { var rewardPoints = response.rewardAmount; $('#rewardValue').text(rewardPoints); + $('#profile_img').attr('src', response.selfieDoc); var notificationDetail = $('#notificationDetail'); var countElement = $('#count'); var notificationCount = response.notificationModel[0].notificationCount; diff --git a/CustomerOnlineV2/CustomerOnlineV2/Views/Shared/_Layout2.cshtml b/CustomerOnlineV2/CustomerOnlineV2/Views/Shared/_Layout2.cshtml index 4bea6b0..47af07f 100644 --- a/CustomerOnlineV2/CustomerOnlineV2/Views/Shared/_Layout2.cshtml +++ b/CustomerOnlineV2/CustomerOnlineV2/Views/Shared/_Layout2.cshtml @@ -22,11 +22,7 @@ left: -14px !important; } - - - - @await RenderSectionAsync("Scripts", required: false) @{ @@ -165,6 +161,14 @@ *@
+ + + + + + + + - - - - - - - + @await RenderSectionAsync("Scripts", required: false) + + \ No newline at end of file