Commit 8da9a9cd by Solo Group

auto-push

1 parent 90d9879e
...@@ -291,12 +291,12 @@ class Vendor(VendorClass): ...@@ -291,12 +291,12 @@ class Vendor(VendorClass):
jml_period = 0 jml_period = 0
i = 0 i = 0
for inq in inquiries: for inq in inquiries:
pokok += inq["base_price"] pokok += int(inq["base_price"])
denda += inq["fine"] denda += int(inq["fine"])
if "admin" in inq: if "admin" in inq:
admin += inq["admin"] admin += int(inq["admin"])
if "admin_fee" in inq: if "admin_fee" in inq:
admin += inq["admin_fee"] admin += int(inq["admin_fee"])
period += "period" in inq and 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:
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!