Browse Source

js reference ifx

feature/19315_Customer-Registration-new
shakun 10 months ago
parent
commit
80ed744185
  1. 1
      CustomerOnlineV2/CustomerOnlineV2.Repository/Repository/HomeRepository/HomeRepository.cs
  2. 2
      CustomerOnlineV2/CustomerOnlineV2/Controllers/AccountController.cs
  3. 5
      CustomerOnlineV2/CustomerOnlineV2/Views/ReceiverInformation/Receiver.cshtml
  4. 3
      CustomerOnlineV2/CustomerOnlineV2/Views/Shared/_Layout.cshtml
  5. 22
      CustomerOnlineV2/CustomerOnlineV2/Views/Shared/_Layout2.cshtml

1
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();
}
}
}

2
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);

5
CustomerOnlineV2/CustomerOnlineV2/Views/ReceiverInformation/Receiver.cshtml

@ -262,7 +262,7 @@
</body>
</html>
@section Scripts{
<script>
(function () {
'use strict'
@ -773,5 +773,4 @@
}
</script>
@* @section Scripts{
} *@
}

3
CustomerOnlineV2/CustomerOnlineV2/Views/Shared/_Layout.cshtml

@ -154,7 +154,7 @@
<!-- Profile Details -->
<div class="bg-white rounded text-center p-3 mb-4">
<div class="profile-thumb mt-3 mb-4">
<img id="profile_img" class="rounded-circle" height="90" width="100" alt="" src="@User.FindFirst("SelfieDoc").Value"">
<img id="profile_img" class="rounded-circle" height="90" width="100" alt="" src="">
<div class="profile-thumb-edit bg-primary text-white" data-bs-toggle="tooltip" title="Change Profile Picture">
<i class="fas fa-camera position-absolute"></i>
<input type="file" class="custom-file-input" id="customFile" accept="image">
@ -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;

22
CustomerOnlineV2/CustomerOnlineV2/Views/Shared/_Layout2.cshtml

@ -22,11 +22,7 @@
left: -14px !important;
}
</style>
<script src="~/vendor/jquery/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/12.1.5/js/intlTelInput.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/12.1.5/js/utils.js"></script>
@await RenderSectionAsync("Scripts", required: false)
</head>
<body>
@{
@ -165,6 +161,14 @@
</footer> *@
<!-- Footer end -->
</div>
<script src="~/vendor/jquery/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/jquery-validation@1.19.5/dist/jquery.validate.js"></script>
<script src="~/vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
<script src="~/vendor/bootstrap-select/js/bootstrap-select.min.js"></script>
<script src="~/vendor/owl.carousel/owl.carousel.min.js"></script>
<script src="~/js/script.js"></script>
<script src="~/js/custom.js"></script>
<script src="~/vendor/toast-alert/izitoast.min.js"></script>
<script type="text/javascript">
let errorMsg = '@errorMessage';
@ -250,12 +254,8 @@
$('#notificationDetail').hide();
}
</script>
<script src="https://cdn.jsdelivr.net/npm/jquery-validation@1.19.5/dist/jquery.validate.js"></script>
<script src="~/vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
<script src="~/vendor/bootstrap-select/js/bootstrap-select.min.js"></script>
<script src="~/vendor/owl.carousel/owl.carousel.min.js"></script>
<script src="~/js/script.js"></script>
<script src="~/js/custom.js"></script>
<script src="~/vendor/toast-alert/izitoast.min.js"></script>
@await RenderSectionAsync("Scripts", required: false)
<script src="https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/12.1.5/js/intlTelInput.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/12.1.5/js/utils.js"></script>
</body>
</html>
Loading…
Cancel
Save