Added shuttles to bus roll

This commit is contained in:
John Mullins
2023-09-05 11:14:42 +10:00
parent c55471a298
commit 86a3ad139d
2 changed files with 23 additions and 3 deletions
@@ -1,5 +1,7 @@
<style>
@page {
margin: 2cm;
}
table.stopHeader th {
text-align: left;
min-width: 150px;
@@ -65,5 +67,16 @@
</table>
<br>
{% endfor %}
{% if route.has_shuttle %}
<p style="page-break-after: always">
<h1 style="font-size: 2.5em">{{ route.bus.route_name }} (Shuttle)</h1>
<table class="traveller">
{% for traveller in route.shuttle_travellers %}
<tr>
<td style="padding-top: 3px; padding-left: 2px; text-align: left">{{ traveller.display }}</td>
</tr>
{% endfor %}
</table>
{% endif %}
<p style="page-break-after: always">
{% endfor %}