Fix calculation in realisasi by removing denda_sppt from the sum

1 parent b8f31ed0
......@@ -653,8 +653,9 @@ class Views(BaseView):
realisasi = PembayaranSppt.query_from(
[PembayaranSppt.kd_kecamatan,
func.sum(PembayaranSppt.jml_sppt_yg_dibayar -
PembayaranSppt.denda_sppt)
func.sum(PembayaranSppt.jml_sppt_yg_dibayar)
# -
# PembayaranSppt.denda_sppt)
])\
.filter(PembayaranSppt.thn_pajak_sppt == self.tahun)\
.group_by(PembayaranSppt.kd_kecamatan)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!