Commit e0a71434 by Solo Group

auto-push

1 parent 60870575
......@@ -138,7 +138,8 @@ class Vendor(VendorClass):
log.info("ODEO Payment Request: %s" % self.request)
self.save_log("payment")
inq = None
if self.vendor_produk.produk.kategori=="e-payment":
if self.vendor_produk.produk.kategori.kode=="e-payment":
inq = self.inquiry()
......@@ -184,7 +185,7 @@ class Vendor(VendorClass):
or self.serial_number
self.vend_inv_no = "order_id" in data and data["order_id"] or {}
if inq:
if not inq:
self.amt_buy = "price" in data and data["price"] or 0
parsd["total"] = self.amt_buy
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!