Commit 4699c0a0 by Ari Agung Prasetiyo Committed by pbbm2

penyesuain sort ketetapan, realisasi, sisa & %

1 parent de05db8b
...@@ -530,7 +530,7 @@ ...@@ -530,7 +530,7 @@
"columnDefs": [ "columnDefs": [
{ className: 'text-center', width: "50px", targets: [0] }, { className: 'text-center', width: "50px", targets: [0] },
{ className: 'text-left', targets: [1] }, { className: 'text-left', targets: [1] },
{ className: 'text-right', width: "100px", targets: [2, 3, 4, 5] } { className: 'text-right', width: "100px", target:0, targets: [2, 3, 4, 5], render: $.fn.dataTable.render.number('.', ',', 0, '') },
] ]
} }
); );
...@@ -545,9 +545,9 @@ ...@@ -545,9 +545,9 @@
table.row.add([ table.row.add([
row.kode, row.kode,
row.nama, row.nama,
row.ketetapan.toLocaleString("id-ID"), row.ketetapan,
row.realisasi.toLocaleString("id-ID"), row.realisasi,
row.sisa.toLocaleString("id-ID"), row.sisa,
row.persen.toFixed(2) row.persen.toFixed(2)
]); ]);
...@@ -568,4 +568,4 @@ ...@@ -568,4 +568,4 @@
</script> </script>
</html>
\ No newline at end of file \ No newline at end of file
</html>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!