fix aliran tunai dan kelulusan
This commit is contained in:
Vendored
+64
-9
@@ -265,11 +265,39 @@ async function openuptambahdanserah(e)
|
||||
},
|
||||
success:function(data)
|
||||
{
|
||||
|
||||
Swal.fire({
|
||||
icon: 'success',
|
||||
title: 'Tambah Pendahuluan',
|
||||
text: 'Tambah Pendahuluan berjaya dipohon!'
|
||||
})
|
||||
title: 'Tunggu Pengesahan Daripada Khazanah.',
|
||||
icon: 'info',
|
||||
width: 600,
|
||||
padding: '3em',
|
||||
background: '#fffff',
|
||||
showCancelButton: false,
|
||||
showConfirmButton: false,
|
||||
allowOutsideClick: false,
|
||||
allowEscapeKey: false,
|
||||
allowEnterKey: false
|
||||
})
|
||||
|
||||
var pusher = new Pusher('26b0ec2f297f94b7aa9b', {
|
||||
cluster: 'ap1',
|
||||
encrypted: true
|
||||
});
|
||||
|
||||
var channel = pusher.subscribe('pendahuluanserahan-notice');
|
||||
channel.bind('penserahan-event', function(data) {
|
||||
// let message = JSON.stringify(data);
|
||||
|
||||
Swal.fire({
|
||||
icon: 'success',
|
||||
title: 'Tambah Pendahuluan',
|
||||
text: 'Tambah Pendahuluan berjaya dipohon!'
|
||||
}).then(function(){
|
||||
location.reload();
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
},
|
||||
error: function(xhRequest, ajaxOptions, thrownError){
|
||||
console.log(xhRequest);
|
||||
@@ -372,11 +400,38 @@ function tambahdanserahanfunc(e)
|
||||
},
|
||||
success:function(data)
|
||||
{
|
||||
Swal.fire({
|
||||
icon: 'success',
|
||||
title: 'Serahan Modal',
|
||||
text: 'Serahan modal berjaya dipohon!'
|
||||
})
|
||||
Swal.fire({
|
||||
title: 'Tunggu Pengesahan Daripada Khazanah.',
|
||||
icon: 'info',
|
||||
width: 600,
|
||||
padding: '3em',
|
||||
background: '#fffff',
|
||||
showCancelButton: false,
|
||||
showConfirmButton: false,
|
||||
allowOutsideClick: false,
|
||||
allowEscapeKey: false,
|
||||
allowEnterKey: false
|
||||
})
|
||||
|
||||
var pusher = new Pusher('26b0ec2f297f94b7aa9b', {
|
||||
cluster: 'ap1',
|
||||
encrypted: true
|
||||
});
|
||||
|
||||
var channel = pusher.subscribe('pendahuluanserahan-notice');
|
||||
channel.bind('penserahan-event', function(data) {
|
||||
// let message = JSON.stringify(data);
|
||||
|
||||
Swal.fire({
|
||||
icon: 'success',
|
||||
title: 'Serahan Modal',
|
||||
text: 'Serahan modal berjaya dipohon!'
|
||||
}).then(function(){
|
||||
location.reload();
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
$('#denominasiModal').modal('hide');
|
||||
},
|
||||
error: function(xhRequest, ajaxOptions, thrownError){
|
||||
|
||||
Reference in New Issue
Block a user