|
|
|
@ -125,11 +125,13 @@ $(document).ready(function () {
|
|
|
|
|
}, |
|
|
|
|
"columns": [ |
|
|
|
|
{ data: 'material_name', name: 'material_name' }, |
|
|
|
|
{ data: 'type', name: 'type', render: function(data, type){ |
|
|
|
|
{ |
|
|
|
|
data: 'type', name: 'type', render: function (data, type) { |
|
|
|
|
if (data == 'expense') |
|
|
|
|
return "Overhead" |
|
|
|
|
return "Material" |
|
|
|
|
}}, |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
data: 'qty_planning', render: function (data, type) { |
|
|
|
|
return data ? formatRupiah(data) : '-' |
|
|
|
|