Commit 33467469 by Owo Sugiana

Bug fixed discount denda Kabupaten Subang

1 parent 52b5b310
......@@ -33,7 +33,7 @@ class Inquiry(BaseInquiry):
tgl_bayar = self.tgl_bayar.date()
if AWAL_DISC <= tgl_bayar <= AKHIR_DISC:
tgl = self.invoice.masadari.date()
if tgl.year == 2024:
if tgl.year <= 2024:
return self.denda_pokok, self.opsen_denda
return 0, 0
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!