Browse Source

Add formatting

pull/1/head
Wahyu Ramadhan 1 year ago
parent
commit
c65569b86c
  1. 6
      edit-mode/function/reportActivity.js

6
edit-mode/function/reportActivity.js

@ -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) : '-'

Loading…
Cancel
Save