diff --git a/Views/ChecklistHarian/Input.cshtml b/Views/ChecklistHarian/Input.cshtml index db064ed..ba1e58d 100644 --- a/Views/ChecklistHarian/Input.cshtml +++ b/Views/ChecklistHarian/Input.cshtml @@ -10,7 +10,7 @@

Input Checklist Rumah

- @@ -178,6 +178,31 @@ $(document).ready(function () { } }); + $('#BtnSimpanInput').on('click', function (e) { + e.preventDefault(); + + Swal.fire({ + title: 'Simpan Input Checklist Rumah?', + text: "Pastikan Input Sudah Benar.", + icon: 'question', + showCancelButton: true, + confirmButtonColor: '#22c55e', + cancelButtonColor: '#6b7280', + confirmButtonText: 'Simpan', + cancelButtonText: 'Batal' + }).then((result) => { + if (result.isConfirmed) { + Swal.fire({ + title: 'Berhasil!', + text: 'Input Checklist Rumah Berhasil Disimpan.', + icon: 'success', + confirmButtonText: 'OK', + confirmButtonColor: '#22c55e' + }); + } + }); + }); + $('#BtnSimpanKegiatan').on('click', function (e) { e.preventDefault();