Files
bus-manager/busManager/coord/templates/reports/bus_summary.html
T
John Mullins f9981aadf0 New reports
Added per term fare paid to traveller model
Fixed parent in emergency contacts report
2023-08-28 11:41:31 +10:00

26 lines
643 B
HTML

{% for route in routes %}
<h1>{{ route.bus.company }}</h1>
<table>
<tr>
<th>Route name</th>
<th>Driver</th>
</tr>
<tr>
<td>{{ route.bus.route_name }}</td>
<td>{{ route.drivers }}</td>
</tr>
</table>
<table>
<tr>
<th>Stop #</th>
<th>Address</th>
</tr>
{% for stop in route.stops %}
<tr>
<td>{{ stop.get_stop_number }}</td>
<td>{{ stop.address }}</td>
</tr>
{% endfor %}
</table>
<p style="page-break-after: always">
{% endfor %}