Commit 31d093b9 by Tatang

np register

1 parent 5da8ce29
...@@ -54,11 +54,7 @@ class VendorClass(object): ...@@ -54,11 +54,7 @@ class VendorClass(object):
self.amt_buy = 0 self.amt_buy = 0
self.amt_sell = 0 self.amt_sell = 0
self.discount = 0 self.discount = 0
# tambahan by tatang
self.row_invoice = invoice_det and invoice_det.h2h_ar_invoice or None
self.row_customer = self.row_invoice and self.row_invoice.customer or None
def set_response(self, data=None, message=None, code=999, typ="inquiry"): def set_response(self, data=None, message=None, code=999, typ="inquiry"):
if not data and message: if not data and message:
message = message and message or "No Response From Biller" message = message and message or "No Response From Biller"
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!