Commit 44b4580d by Owo Sugiana

bin/webr_inquiry menyertakan total bayar

1 parent 712b9a97
...@@ -62,6 +62,7 @@ def show(inq): ...@@ -62,6 +62,7 @@ def show(inq):
show_val('Jatuh Tempo', inq.get_jatuh_tempo()) show_val('Jatuh Tempo', inq.get_jatuh_tempo())
show_rp('Tagihan Pokok', inq.tagihan) show_rp('Tagihan Pokok', inq.tagihan)
show_rp('Denda', inq.denda) show_rp('Denda', inq.denda)
show_rp('Total Bayar', inq.total_bayar)
show_rp('Total Tagihan', inq.total) show_rp('Total Tagihan', inq.total)
show_field(inq.invoice, 'status') show_field(inq.invoice, 'status')
if inq.total_bayar: if inq.total_bayar:
......
...@@ -158,7 +158,6 @@ class Reversal(Inquiry): ...@@ -158,7 +158,6 @@ class Reversal(Inquiry):
if self.invoice: if self.invoice:
self.payment = self.get_payment() self.payment = self.get_payment()
def do_reversal(self): def do_reversal(self):
DBSession = get_db_session() DBSession = get_db_session()
self.invoice.status_bayar = 0 self.invoice.status_bayar = 0
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!