Commit dac35c7c by Owo Sugiana

Bug fixed WEBR

1 parent ec69c917
......@@ -68,6 +68,7 @@ class App(BaseApp):
inv = q.first()
self.invoice_id = inv.kode
iso = self.get_iso(pay)
channel_id = '0000'
if iso:
channel_id = iso.bit_018.strip()
channel_name = get_channel_name_by_row(iso)
......@@ -87,7 +88,6 @@ class App(BaseApp):
self.ntb_va:
channel_name = 'VA'
else:
channel_id = '0000'
tgl = pay.created.date()
channel_name = self.get_va_channel(tgl) or 'MANUAL'
stan = iso and iso.bit_011 or None
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!