new calculation upah
This commit is contained in:
@@ -99,20 +99,16 @@
|
||||
function tebustable(data){
|
||||
var counter = 1;
|
||||
var total_pinjaman = 0;
|
||||
// console.log(data);
|
||||
tabletebus.clear().draw();
|
||||
$.each(data,function(index,tebus){
|
||||
// console.log(tebus['norujukan']);
|
||||
$.ajax({
|
||||
url:api_url + '/api/gadai/norujukan/' + tebus['norujukan'],
|
||||
method:'get',
|
||||
success:function(gadai){
|
||||
// console.log(gadai[0][0]);
|
||||
$.ajax({
|
||||
url:api_url + '/api/customers/' + gadai[0][0]['nokp'],
|
||||
method:'get',
|
||||
success: function(customer){
|
||||
// console.log(customer[0]['nama']);
|
||||
tabletebus.row.add([
|
||||
counter,
|
||||
customer[0]['nama'],
|
||||
|
||||
Reference in New Issue
Block a user