diff --git a/resources/views/backend/pages/forms/entertainment/index.blade.php b/resources/views/backend/pages/forms/entertainment/index.blade.php index 6b197b4..67bcda1 100644 --- a/resources/views/backend/pages/forms/entertainment/index.blade.php +++ b/resources/views/backend/pages/forms/entertainment/index.blade.php @@ -452,7 +452,7 @@ } // Handle Approve Button Click - $('.open-approve-modal').on('click', function () { + $(document).on('click', '.open-approve-modal', function() { const approveUrl = $(this).data('id'); // Show spinner and hide content initially @@ -501,7 +501,7 @@ }); // Handle Approve Button Click - $('.final-approve-modal').on('click', function () { + $(document).on('click', '.final-approve-modal', function() { const approveUrl = $(this).data('id'); // Show spinner and hide content initially diff --git a/resources/views/backend/pages/forms/meeting/index.blade.php b/resources/views/backend/pages/forms/meeting/index.blade.php index f80d75c..4a8ad4d 100644 --- a/resources/views/backend/pages/forms/meeting/index.blade.php +++ b/resources/views/backend/pages/forms/meeting/index.blade.php @@ -464,7 +464,7 @@ } // Handle Approve Button Click - $('.open-approve-modal').on('click', function () { + $(document).on('click', '.open-approve-modal', function() { const approveUrl = $(this).data('id'); // Show spinner and hide content initially @@ -512,7 +512,7 @@ }); // Handle Approve Button Click - $('.final-approve-modal').on('click', function () { + $(document).on('click', '.final-approve-modal', function() { const approveUrl = $(this).data('id'); // Show spinner and hide content initially diff --git a/resources/views/backend/pages/forms/upcountry/index.blade.php b/resources/views/backend/pages/forms/upcountry/index.blade.php index 619df6c..a0a3896 100644 --- a/resources/views/backend/pages/forms/upcountry/index.blade.php +++ b/resources/views/backend/pages/forms/upcountry/index.blade.php @@ -505,7 +505,7 @@ } // Handle Approve Button Click - $('.open-approve-modal').on('click', function () { + $(document).on('click', '.open-approve-modal', function() { const approveUrl = $(this).data('id'); // Show spinner and hide content initially @@ -560,7 +560,7 @@ }); // Handle Approve Button Click - $('.final-approve-modal').on('click', function () { + $(document).on('click', '.final-approve-modal', function() { const approveUrl = $(this).data('id'); // Show spinner and hide content initially diff --git a/resources/views/backend/pages/forms/vehicle/index.blade.php b/resources/views/backend/pages/forms/vehicle/index.blade.php index a96821d..bd5b602 100644 --- a/resources/views/backend/pages/forms/vehicle/index.blade.php +++ b/resources/views/backend/pages/forms/vehicle/index.blade.php @@ -460,7 +460,7 @@ } // Handle Approve Button Click - $('.open-approve-modal').on('click', function () { + $(document).on('click', '.open-approve-modal', function() { const approveUrl = $(this).data('id'); // Show spinner and hide content initially @@ -509,7 +509,7 @@ }); // Handle Approve Button Click - $('.final-approve-modal').on('click', function () { + $(document).on('click', '.final-approve-modal', function() { const approveUrl = $(this).data('id'); // Show spinner and hide content initially