New reports
Added per term fare paid to traveller model Fixed parent in emergency contacts report
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
{% 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 %}
|
||||
Reference in New Issue
Block a user