f9981aadf0
Added per term fare paid to traveller model Fixed parent in emergency contacts report
26 lines
643 B
HTML
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 %} |