fix komen pusher

This commit is contained in:
nurafrinaalimi16
2025-11-17 15:50:12 +08:00
parent c06e33bc1c
commit b8cc3f38cc
2 changed files with 2 additions and 2 deletions
+1 -2
View File
@@ -13,11 +13,10 @@ class NotifikasiAnggota implements ShouldBroadcast
public $nokp;
public $status; // DILULUSKAN atau DITOLAK
public $siri;
public $komen;
public $tagoperasi;
public function __construct($nokp, $status, $siri, $komen, $tagoperasi = null)
public function __construct($nokp, $status, $komen, $tagoperasi = null)
{
$this->nokp = $nokp;
$this->status = strtoupper($status); // pastikan huruf besar DILULUSKAN/DITOLAK
@@ -3421,6 +3421,7 @@
Swal.fire({
icon: 'success',
title: 'Diluluskan oleh Operasi',
text: `Komen: No Anggota ${data.komen}`,
confirmButtonText: 'OK'
}).then(() => location.reload());
} else if (data.status === 'DITOLAK') {