Commit 3eef6b6a by Solo Group

va

1 parent 26951636
...@@ -36,6 +36,11 @@ class Vendor(VendorClass): #VendorClass ...@@ -36,6 +36,11 @@ class Vendor(VendorClass): #VendorClass
self.cust_inv_no = self.invoice_det.cust_inv_no self.cust_inv_no = self.invoice_det.cust_inv_no
self.bank_cd, self.pay_method = self.v_produk_kd.split('-') self.bank_cd, self.pay_method = self.v_produk_kd.split('-')
if self.pay_method=="02":
self.mid="VACTFOPEND"
key = ":".join([self.mid, self.key]).encode()
self.auth = base64.b64encode(key).decode()
self.va_typ = None self.va_typ = None
self.reccuring = False self.reccuring = False
self.amt = str(self.invoice_det.amt_sell) self.amt = str(self.invoice_det.amt_sell)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!