Perbaikan realiasi

1 parent 635d16bc
......@@ -515,7 +515,9 @@ class Views(BaseView):
realisasi = PembayaranSppt.query_from(
func.sum(PembayaranSppt.jml_sppt_yg_dibayar - PembayaranSppt.denda_sppt))\
.filter(PembayaranSppt.thn_pajak_sppt == tahun).scalar()
resp["realisasi"] =[ketetapan or 0, realisasi or 0]
bagi = 1000000
resp["realisasi"] = [["Ketetapan", ketetapan/bagi or 0],
["Realisasi", realisasi/bagi or 0]]
elif act == 'bphtb':
resp = self.get_bphtb_data()
......
......@@ -498,7 +498,6 @@
}
var tableRefresh = function () {
var table = $('#table1').DataTable(
{
"destroy": true,
......@@ -514,6 +513,7 @@
]
}
);
var tableRefresh = function () {
table.clear();
newData.tabel.forEach(function (row) {
console.log(row);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!