diff --git a/Controllers/Main/DataOfftakerController.cs b/Controllers/Main/DataOfftakerController.cs
index 5c9ed8c..43148c6 100644
--- a/Controllers/Main/DataOfftakerController.cs
+++ b/Controllers/Main/DataOfftakerController.cs
@@ -21,9 +21,9 @@ namespace BankSampahApp.Controllers.Main
kecamatan = "Cipayung",
status= "
+
Nama Offtaker: BPS11
+
Email: bps11@gmail.com
+
Nomor HP: 0813191501974
+
+
Provinsi: DKI JAKARTA
+
Kota: KOTA ADM. JAKARTA TIMUR
+
Kecamatan: KRAMATJATI
+
Kelurahan: KRAMATJATI
+
+
Alamat: jalan dato tonggara V
+
RT / RW: 016 / 011
+
Kode Pos: 13510
+
Status: Disetujui
+
+ `,
+ icon: 'question',
+ showCancelButton: true,
+ showDenyButton: true,
+ confirmButtonText: 'Setujui Data',
+ denyButtonText: 'Tolak Data',
+ cancelButtonText: 'Batal',
+ buttonsStyling: false,
+ customClass: {
+ confirmButton: 'btn bg-bank-sampah-primary-500 rounded-full text-white',
+ denyButton: 'btn bg-red-500 text-white hover:bg-red-600 px-4 py-2 rounded-full mr-2',
+ cancelButton: 'btn bg-white text-gray-500 hover:bg-gray-50 px-4 py-2 rounded-full border border-gray-300'
+ },
+ }).then((result) => {
+
+ // APPROVE
+ if (result.isConfirmed) {
+ Swal.fire({
+ icon: 'success',
+ title: 'Sukses!',
+ text: 'Data berhasil di setujui.',
+ timer: 1000,
+ showConfirmButton: false
+ });
+ }
+
+ // REJECT → open reason form
+ else if (result.isDenied) {
+ Swal.fire({
+ title: 'Alasan Penolakan',
+ input: 'textarea',
+ inputPlaceholder: 'Masukkan keterangan mengapa data ditolak...',
+ inputAttributes: {
+ 'aria-label': 'Reason'
+ },
+ showCancelButton: true,
+ confirmButtonText: 'Ya, Tolak',
+ cancelButtonText: 'Batal',
+ buttonsStyling: false,
+ customClass: {
+ confirmButton: 'btn bg-red-500 text-white hover:bg-red-600 px-4 py-2 rounded-full mr-2',
+ cancelButton: 'btn bg-white text-gray-500 hover:bg-gray-50 px-4 py-2 rounded-full border border-gray-300',
+ },
+ }).then((reasonResult) => {
+ if (reasonResult.isConfirmed) {
+ Swal.fire({
+ icon: 'success',
+ title: 'Sukses!',
+ text: 'Data berhasil di tolak.',
+ timer: 1000,
+ showConfirmButton: false
+ });
+ }
+ });
+ }
+ });
+ });
+
+
function closeModal() {
// Reset form
$('#formTambah')[0].reset();