Files
bus-manager/busManager/coord/templates/reports/bus_numbers.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

34 lines
814 B
HTML

<style>
td {
text-align: left;
padding-inline: 5px;
background-color: #ffffff;
border: 1px solid #dddfe1;
}
</style>
<h1>Bus Numbers</h1>
<table>
<tr>
<th>Route Name</th>
<th>Driver</th>
<th>Route Travellers</th>
<th>Shuttle</th>
<th>Shuttle Travellers</th>
<th>Seating Max</th>
</tr>
{% for bus in buses %}
<tr>
<td>{{ bus.route_name }}</td>
<td>{{ bus.drivers }}</td>
<td>{{ bus.route_travellers }}</td>
<td>{{ bus.shuttle }}</td>
<td>{{ bus.shuttle_travellers }}</td>
{% if bus.over_capacity %}
<td style="color:red"><b>{{ bus.seating_capacity }}</b></td>
{% else %}
<td>{{ bus.seating_capacity }}</td>
{% endif %}
</tr>
{% endfor %}
</table>