Fix calculation in realisasi by removing denda_sppt from the sum

1 parent b8f31ed0
...@@ -653,8 +653,9 @@ class Views(BaseView): ...@@ -653,8 +653,9 @@ class Views(BaseView):
realisasi = PembayaranSppt.query_from( realisasi = PembayaranSppt.query_from(
[PembayaranSppt.kd_kecamatan, [PembayaranSppt.kd_kecamatan,
func.sum(PembayaranSppt.jml_sppt_yg_dibayar - func.sum(PembayaranSppt.jml_sppt_yg_dibayar)
PembayaranSppt.denda_sppt) # -
# PembayaranSppt.denda_sppt)
])\ ])\
.filter(PembayaranSppt.thn_pajak_sppt == self.tahun)\ .filter(PembayaranSppt.thn_pajak_sppt == self.tahun)\
.group_by(PembayaranSppt.kd_kecamatan) .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!