tickets: Show number of payed tickets instead of reservations.
[matthijs/projects/dorestad-bookings.git] / tickets / templates / tickets / bookings.html
index ae2d6a912281d0db915f49f5e8b3640170926247..787067b4feddae3e3dfcab642d1084c1601b004b 100644 (file)
@@ -4,16 +4,16 @@
 <h1>Overzicht reserveringen</h1>
 <table>
     <thead>
-       <tr><th>Voorstelling</th><th>Reserveringen</th><th>Betaald</th></tr>
+       <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.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>