Commit 007797c4 by Owo Sugiana

Bug fixed discount Kabupaten Cirebon

1 parent 6a70bb2b
......@@ -42,7 +42,7 @@ class Inquiry(BaseInquiry):
def hitung_discount(self): # Override
self.discount_pokok = self.discount_denda = 0
if AWAL_DISC <= self.tgl_bayar <= AKHIR_DISC and \
'2009' <= self.invoice.thn_pajak_sppt < '2025':
'2009' <= self.invoice.thn_pajak_sppt <= '2025':
self.discount = self.discount_denda = self.denda
def before_save(self, payment): # Override
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!