tambah function tanya upah dan status bayaran dlm callcenter
This commit is contained in:
@@ -1251,11 +1251,20 @@
|
||||
$.each(data,function(index,bayaran){
|
||||
|
||||
var urlroute = '{{ route("resit.ansuran", ":id") }}';
|
||||
var bayaranteller;
|
||||
|
||||
if(bayaran['teller'] != 'Online')
|
||||
bayaranteller = 'KT';
|
||||
|
||||
if(bayaran['teller'] == 'Online')
|
||||
bayaranteller = 'ON';
|
||||
|
||||
urlroute = urlroute.replace(':id', bayaran['id']);
|
||||
historybayarandatatable.row.add([
|
||||
counter,
|
||||
bayaran['created_at'],
|
||||
"RM " + bayaran['duit_masuk'],
|
||||
bayaranteller,
|
||||
bayaran['trans_type'],
|
||||
''
|
||||
]).draw();
|
||||
|
||||
Reference in New Issue
Block a user