Commit 82eb7a18 by Solo Group

pln

1 parent 8601bd07
...@@ -249,8 +249,8 @@ class Vendor(VendorClass): ...@@ -249,8 +249,8 @@ class Vendor(VendorClass):
for inq in inquiries: for inq in inquiries:
pokok += inq["base_price"] pokok += inq["base_price"]
denda += inq["fine"] denda += inq["fine"]
admin += inq["admin"] admin += "admin" in inq and inq["admin"] or 0
period += inq["period"] + " " period += "period" in inq and inq["period"] + " "
jml_period += 1 jml_period += 1
if "meter_changes" in inq: if "meter_changes" in inq:
meter += inq["meter_changes"] meter += inq["meter_changes"]
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!