Commit db537811 by Owo Sugiana

Bug fixed saat field bunga terisi

1 parent 0e47a9d6
...@@ -314,6 +314,7 @@ class Inquiry(BaseInquiry): ...@@ -314,6 +314,7 @@ class Inquiry(BaseInquiry):
elif self.invoice.jatuhtempotgl: elif self.invoice.jatuhtempotgl:
if self.invoice.status_pembayaran == 0: if self.invoice.status_pembayaran == 0:
self.hitung_denda_waktu() self.hitung_denda_waktu()
self.denda_pokok += self.invoice.bunga
else: else:
self.bln_tunggakan = self.denda_pokok = self.opsen_denda = 0 self.bln_tunggakan = self.denda_pokok = self.opsen_denda = 0
self.discount_denda_pokok, self.discount_opsen_denda = \ self.discount_denda_pokok, self.discount_opsen_denda = \
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!