Merge branch 'new-master' of https://gitlab.com/online-sistem1/kaunter into auto-tawarruq
This commit is contained in:
@@ -1002,10 +1002,12 @@
|
||||
var nowakil = nw;
|
||||
|
||||
$.ajax({
|
||||
method:'put',
|
||||
method:'get',
|
||||
datatype: 'json',
|
||||
url: api + '/api/updatetebus/' + kodcaw + '/' + norujukan,
|
||||
url: "{{ route('tebus.penuh') }}",
|
||||
data:{
|
||||
"kodcaw" : kodcaw,
|
||||
"norujukan" : norujukan,
|
||||
"nopelanggan" : nopelanggan,
|
||||
"jenistebus" : jenistebus,
|
||||
"jbg" : jbg,
|
||||
@@ -1025,7 +1027,7 @@
|
||||
success:function(success_data){
|
||||
|
||||
|
||||
if(success_data == 1)
|
||||
if(success_data == 'success')
|
||||
{
|
||||
$.ajax({
|
||||
method: 'put',
|
||||
@@ -1056,7 +1058,7 @@
|
||||
Swal.fire({
|
||||
icon: 'error',
|
||||
title: 'Amaran!',
|
||||
text: 'norujukan Sudah Ditebus Di Dalam Table Gadai!',
|
||||
text: 'norujukan Sudah ditebus di dalam table gadai!',
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user