Commit a467e0a6 by Owo Sugiana

Bug fixed Kota Cimahi nilai pokok tagihan

1 parent 5a47a6df
0.4.12 2023-08-16
-----------------
- Bug fixed Kota Cimahi pada nilai tagihan pokok. Adapun total yang harus
dibayarkan tidak berubah.
0.4.11 2023-08-15
-----------------
- Discount Kabupaten Tangerang
......
......@@ -27,8 +27,9 @@ class Inquiry:
if self.invoice.get('hasil') == '0':
self.invoice = None
else:
self.tagihan = self.total = int(self.invoice['Tagihan'])
self.tagihan = int(self.invoice['Pokok'])
self.denda = self.invoice['Denda']
self.total = int(self.invoice['Tagihan'])
self.total_bayar = self.discount_denda = 0
self.bln_tunggakan = None
self.notes = None
......@@ -114,6 +115,9 @@ class Inquiry:
def do_payment(self, ntb=None):
return self.transaction(self.invoice_id, '2', True)
def get_kohir_model(self): # Override
pass
class Reversal:
def __init__(self, ntp):
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!