Commit daa70c55 by Owo Sugiana

Bug fixed Cimahi agar sesuai ISO8583

1 parent 58dc7c02
......@@ -16,7 +16,9 @@ class Inquiry(BaseInquiry):
if AWAL_DISC <= self.tgl_bayar <= AKHIR_DISC:
if '2013' <= self.invoice.thn_pajak_sppt <= '2025':
self.discount_denda = self.discount = self.denda
self.denda = 0
def before_save(self, pay): # Override
pay.denda_sppt = self.denda - self.discount_denda
class AvailableInvoice(BaseAvailableInvoice):
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!