This commit is contained in:
Jagad R R
2025-03-04 13:27:51 +07:00
parent c3f4a17598
commit 7c0c22b206
4 changed files with 8 additions and 8 deletions
@@ -452,7 +452,7 @@
} }
// Handle Approve Button Click // Handle Approve Button Click
$('.open-approve-modal').on('click', function () { $(document).on('click', '.open-approve-modal', function() {
const approveUrl = $(this).data('id'); const approveUrl = $(this).data('id');
// Show spinner and hide content initially // Show spinner and hide content initially
@@ -501,7 +501,7 @@
}); });
// Handle Approve Button Click // Handle Approve Button Click
$('.final-approve-modal').on('click', function () { $(document).on('click', '.final-approve-modal', function() {
const approveUrl = $(this).data('id'); const approveUrl = $(this).data('id');
// Show spinner and hide content initially // Show spinner and hide content initially
@@ -464,7 +464,7 @@
} }
// Handle Approve Button Click // Handle Approve Button Click
$('.open-approve-modal').on('click', function () { $(document).on('click', '.open-approve-modal', function() {
const approveUrl = $(this).data('id'); const approveUrl = $(this).data('id');
// Show spinner and hide content initially // Show spinner and hide content initially
@@ -512,7 +512,7 @@
}); });
// Handle Approve Button Click // Handle Approve Button Click
$('.final-approve-modal').on('click', function () { $(document).on('click', '.final-approve-modal', function() {
const approveUrl = $(this).data('id'); const approveUrl = $(this).data('id');
// Show spinner and hide content initially // Show spinner and hide content initially
@@ -505,7 +505,7 @@
} }
// Handle Approve Button Click // Handle Approve Button Click
$('.open-approve-modal').on('click', function () { $(document).on('click', '.open-approve-modal', function() {
const approveUrl = $(this).data('id'); const approveUrl = $(this).data('id');
// Show spinner and hide content initially // Show spinner and hide content initially
@@ -560,7 +560,7 @@
}); });
// Handle Approve Button Click // Handle Approve Button Click
$('.final-approve-modal').on('click', function () { $(document).on('click', '.final-approve-modal', function() {
const approveUrl = $(this).data('id'); const approveUrl = $(this).data('id');
// Show spinner and hide content initially // Show spinner and hide content initially
@@ -460,7 +460,7 @@
} }
// Handle Approve Button Click // Handle Approve Button Click
$('.open-approve-modal').on('click', function () { $(document).on('click', '.open-approve-modal', function() {
const approveUrl = $(this).data('id'); const approveUrl = $(this).data('id');
// Show spinner and hide content initially // Show spinner and hide content initially
@@ -509,7 +509,7 @@
}); });
// Handle Approve Button Click // Handle Approve Button Click
$('.final-approve-modal').on('click', function () { $(document).on('click', '.final-approve-modal', function() {
const approveUrl = $(this).data('id'); const approveUrl = $(this).data('id');
// Show spinner and hide content initially // Show spinner and hide content initially