Commit a2efe5be by Tatang

status

1 parent 1c41c941
......@@ -527,12 +527,10 @@ class Vendor(VendorClass): # VendorClass
status = int(data['status'])
if status == 0:
# pembayaran sukses
self.invoice_det.status = 1
flush_row(self.invoice_det)
self.status = 1
elif status == 1:
# pembayaran gagal / reversal
self.invoice_det.status = 2
flush_row(self.invoice_det)
self.status = 2
self.response = data
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!