Commit e860b936 by iwan

Discount denda Kabupaten Kuningan hanya untuk tahun pajak 2024

1 parent a64daed7
......@@ -47,6 +47,8 @@ class Inquiry(BaseInquiry):
def hitung_discount_denda(self): # Override
if self.denda < 1:
return 0
if self.invoice.thn_pajak_sppt != '2024':
return 0
if AWAL_DISC <= self.tgl_bayar <= AKHIR_DISC:
return self.denda
return 0
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!