From b75db02f2769c7deff705fa6209d33a603a64a78 Mon Sep 17 00:00:00 2001 From: Daeng Deni Mardaeni Date: Sat, 10 Aug 2024 21:07:22 +0700 Subject: [PATCH] Fix Delete Modal --- resources/views/cities/index.blade.php | 2 +- resources/views/districts/index.blade.php | 2 +- resources/views/provinces/index.blade.php | 2 +- resources/views/villages/index.blade.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/resources/views/cities/index.blade.php b/resources/views/cities/index.blade.php index 1b16961..143f75e 100644 --- a/resources/views/cities/index.blade.php +++ b/resources/views/cities/index.blade.php @@ -94,7 +94,7 @@ function deleteData(data) { Swal.fire({ title: 'Are you sure?', - text: "You won't be able to revert this!" + data, + text: "You won't be able to revert this!" , icon: 'warning', showCancelButton: true, confirmButtonColor: '#3085d6', diff --git a/resources/views/districts/index.blade.php b/resources/views/districts/index.blade.php index c7ba56c..03cfff0 100644 --- a/resources/views/districts/index.blade.php +++ b/resources/views/districts/index.blade.php @@ -102,7 +102,7 @@ function deleteData(data) { Swal.fire({ title: 'Are you sure?', - text: "You won't be able to revert this!" + data, + text: "You won't be able to revert this!" , icon: 'warning', showCancelButton: true, confirmButtonColor: '#3085d6', diff --git a/resources/views/provinces/index.blade.php b/resources/views/provinces/index.blade.php index 048e6ad..836d969 100644 --- a/resources/views/provinces/index.blade.php +++ b/resources/views/provinces/index.blade.php @@ -92,7 +92,7 @@ function deleteData(data) { Swal.fire({ title: 'Are you sure?', - text: "You won't be able to revert this!" + data, + text: "You won't be able to revert this!" , icon: 'warning', showCancelButton: true, confirmButtonColor: '#3085d6', diff --git a/resources/views/villages/index.blade.php b/resources/views/villages/index.blade.php index b126abf..de5e496 100644 --- a/resources/views/villages/index.blade.php +++ b/resources/views/villages/index.blade.php @@ -120,7 +120,7 @@ function deleteData(data) { Swal.fire({ title: 'Are you sure?', - text: "You won't be able to revert this!" + data, + text: "You won't be able to revert this!" , icon: 'warning', showCancelButton: true, confirmButtonColor: '#3085d6',