fix lapfix
This commit is contained in:
Vendored
+2
-2
@@ -466,7 +466,7 @@ async function openuptambahdanserah(e)
|
||||
var channel = pusher.subscribe('pendahuluanserahan-notice');
|
||||
channel.bind('penserahan-event', function(data) {
|
||||
|
||||
if(data.pengesahan === 'Lulus')
|
||||
if(data.pengesahan === 'Lulus' && data.cawangan == kodcaw)
|
||||
{
|
||||
Swal.fire({
|
||||
icon: 'success',
|
||||
@@ -631,7 +631,7 @@ function tambahdanserahanfunc(e)
|
||||
channel.bind('penserahan-event', function(data) {
|
||||
// let message = JSON.stringify(data);
|
||||
|
||||
if(data.pengesahan === 'Lulus')
|
||||
if(data.pengesahan === 'Lulus' && data.cawangan == kodcaw)
|
||||
{
|
||||
Swal.fire({
|
||||
icon: 'success',
|
||||
|
||||
Reference in New Issue
Block a user