Commit ca4a998b by Owo Sugiana

Bug fixed rumus discount denda

1 parent 510885b7
...@@ -89,7 +89,6 @@ class Inquiry(BaseInquiry): ...@@ -89,7 +89,6 @@ class Inquiry(BaseInquiry):
self.discount_pokok = int(self.discount_pokok) self.discount_pokok = int(self.discount_pokok)
def hitung_discount_denda(self): def hitung_discount_denda(self):
if self.invoice.thn_pajak_sppt <= '2024':
if AWAL_DISC_DENDA <= self.tgl_bayar <= AKHIR_DISC_DENDA: if AWAL_DISC_DENDA <= self.tgl_bayar <= AKHIR_DISC_DENDA:
self.discount_denda = self.denda self.discount_denda = self.denda
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!