Merge branch 'new-master' of https://gitlab.com/online-sistem1/kaunter into auto-tawarruq

This commit is contained in:
Afiq Zakwan Hamdan
2021-05-17 13:53:19 +08:00
25 changed files with 3351 additions and 675 deletions
File diff suppressed because it is too large Load Diff
+6 -4
View File
@@ -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!',
});
}
}