jonathanjordan21 commited on
Commit
92debac
·
verified ·
1 Parent(s): 6fd5d01

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -217,7 +217,7 @@ def build_outputs(results, descriptions, result_details, plate_number):
217
  out += f"\nWajib Pajak dengan NoPol {plate_number} ingin melakukan proses berikut:\n"
218
 
219
  for i, (res,desc,detail) in enumerate(zip(results, descriptions, result_details)):
220
- harga_jual = vehicle.get("harga_jual")
221
  out += f"{i+1}. {detail}\nDetail perhitungan: {desc.replace('harga_jual', harga_jual)} = {res}\n"
222
 
223
  out += "----------------------------\nEstimasi biaya: "
 
217
  out += f"\nWajib Pajak dengan NoPol {plate_number} ingin melakukan proses berikut:\n"
218
 
219
  for i, (res,desc,detail) in enumerate(zip(results, descriptions, result_details)):
220
+ harga_jual = str(vehicle.get("harga_jual"))
221
  out += f"{i+1}. {detail}\nDetail perhitungan: {desc.replace('harga_jual', harga_jual)} = {res}\n"
222
 
223
  out += "----------------------------\nEstimasi biaya: "