tickets: Show number of payed tickets instead of reservations.
[matthijs/projects/dorestad-bookings.git] / tickets / templates / tickets / bookings.html
index 26d0018ffd7e540056684fcffa960ad12e93ae76..787067b4feddae3e3dfcab642d1084c1601b004b 100644 (file)
@@ -7,13 +7,13 @@
        <tr><th>Voorstelling</th><th>Reserveringen</th><th>Gereserveerde kaarten</th><th>Betaalde kaarten</th></tr>
     </thead>
     <tbody>
-{% for show, info in shows.items %}
-<tr><td>{{ show }}</td><td>{{ info.bookings|length }}</td><td>{{ info.tickets }}</td><td>{{ info.payed|length }}</td></tr>
+{% for show, info in shows %}
+<tr><td>{{ show }}</td><td>{{ info.bookings|length }}</td><td>{{ info.tickets }}</td><td>{{ info.payed }}</td></tr>
 {% endfor %}
     </tbody>
 </table>
 
-{% for show, info in shows.items %}
+{% for show, info in shows %}
 <h2>{{ show }}</h2>
 <table>
     <thead>