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 0.4.11 2023-08-15
----------------- -----------------
- Discount Kabupaten Tangerang - Discount Kabupaten Tangerang
......
...@@ -27,8 +27,9 @@ class Inquiry: ...@@ -27,8 +27,9 @@ class Inquiry:
if self.invoice.get('hasil') == '0': if self.invoice.get('hasil') == '0':
self.invoice = None self.invoice = None
else: else:
self.tagihan = self.total = int(self.invoice['Tagihan']) self.tagihan = int(self.invoice['Pokok'])
self.denda = self.invoice['Denda'] self.denda = self.invoice['Denda']
self.total = int(self.invoice['Tagihan'])
self.total_bayar = self.discount_denda = 0 self.total_bayar = self.discount_denda = 0
self.bln_tunggakan = None self.bln_tunggakan = None
self.notes = None self.notes = None
...@@ -114,6 +115,9 @@ class Inquiry: ...@@ -114,6 +115,9 @@ class Inquiry:
def do_payment(self, ntb=None): def do_payment(self, ntb=None):
return self.transaction(self.invoice_id, '2', True) return self.transaction(self.invoice_id, '2', True)
def get_kohir_model(self): # Override
pass
class Reversal: class Reversal:
def __init__(self, ntp): 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!