|
|
@ -260,14 +260,14 @@ var allColumns = [ |
|
|
|
if(!text.rencana_biaya){ |
|
|
|
if(!text.rencana_biaya){ |
|
|
|
return |
|
|
|
return |
|
|
|
} |
|
|
|
} |
|
|
|
let rencana_biaya = text.rencana_biaya |
|
|
|
let rencana_biaya = roundToTwo(text.rencana_biaya) |
|
|
|
return "Rp. "+ formatRupiah(rencana_biaya) |
|
|
|
return "Rp. "+ formatRupiah(rencana_biaya) |
|
|
|
} }, |
|
|
|
} }, |
|
|
|
{ name: "cost_actual", label: "Cost Actual", align: "right", min_width: 100, resize: true, template: function (text) { |
|
|
|
{ name: "cost_actual", label: "Cost Actual", align: "right", min_width: 100, resize: true, template: function (text) { |
|
|
|
if(!text.biaya_actual){ |
|
|
|
if(!text.biaya_actual){ |
|
|
|
return |
|
|
|
return |
|
|
|
} |
|
|
|
} |
|
|
|
let biaya_actual = text.biaya_actual |
|
|
|
let biaya_actual = roundToTwo(text.biaya_actual) |
|
|
|
return "Rp. "+ formatRupiah(biaya_actual) |
|
|
|
return "Rp. "+ formatRupiah(biaya_actual) |
|
|
|
} }, |
|
|
|
} }, |
|
|
|
{ name: "assign_hr", label: "Assign To", align: "center", min_width: 150, resize: true, template: function (text) { |
|
|
|
{ name: "assign_hr", label: "Assign To", align: "center", min_width: 150, resize: true, template: function (text) { |
|
|
@ -357,7 +357,7 @@ var allColumns = [ |
|
|
|
{ name: "progress", label: "Actual Progress (%)", align: "center", min_width: 125, template: function (text) { |
|
|
|
{ name: "progress", label: "Actual Progress (%)", align: "center", min_width: 125, template: function (text) { |
|
|
|
let progress = text.progress |
|
|
|
let progress = text.progress |
|
|
|
progress = progress*100 |
|
|
|
progress = progress*100 |
|
|
|
return progress; |
|
|
|
return roundToTwo(progress); |
|
|
|
}, resize: true }, |
|
|
|
}, resize: true }, |
|
|
|
{ name:"progress_actual", label: "Total Actual Progress (%)", align: "center", min_width: 150, template: function (text) { |
|
|
|
{ name:"progress_actual", label: "Total Actual Progress (%)", align: "center", min_width: 150, template: function (text) { |
|
|
|
let progress = text.progress |
|
|
|
let progress = text.progress |
|
|
|