Commit 4246d8a3 by Owo Sugiana

Bug fixed Kota Bekasi saat payment

1 parent a7dcbdd9
...@@ -66,9 +66,9 @@ class Inquiry(BaseInquiry): ...@@ -66,9 +66,9 @@ class Inquiry(BaseInquiry):
self.denda = round_up(denda) self.denda = round_up(denda)
def hitung_discount(self): # Override def hitung_discount(self): # Override
self.discount_denda = self.discount_pokok = 0
if self.tgl_bayar.year != 2024: if self.tgl_bayar.year != 2024:
return return
self.discount_denda = self.discount_pokok = 0
if self.invoice.thn_pajak_sppt == '2024': if self.invoice.thn_pajak_sppt == '2024':
if not self.invoice.faktor_pengurang_sppt: if not self.invoice.faktor_pengurang_sppt:
for awal, akhir, potongan in DISC_POKOK: for awal, akhir, potongan in DISC_POKOK:
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!