iro/controller/viewinterface.py
changeset 309 7fa1d4713a4f
parent 295 dc3cc61c7f6f
child 311 81916344c63b
--- a/iro/controller/viewinterface.py	Sat Jul 27 13:36:18 2019 +0200
+++ b/iro/controller/viewinterface.py	Sat Jul 27 13:36:51 2019 +0200
@@ -192,7 +192,7 @@
             n=route.offer_name
             ret[n]={'price':0, 'anz':0, 'info':{}}
             for bill in route.bill:
-                ret[n]['info'][bill.info]={'price':float(bill.price),'anz':bill.anz}
+                ret[n][bill.info]={'price':float(bill.price),'anz':bill.anz}
                 ret[n]['price'] += bill.price
                 ret[n]['anz'] += bill.anz
             ret['total']['price'] += ret[n]['price']