Added SMS functions to buses and travellers

This commit is contained in:
John Mullins
2024-11-11 11:36:39 +11:00
parent a7e4f3e2de
commit 6bd2664352
5 changed files with 173 additions and 36 deletions
+10 -6
View File
@@ -10,12 +10,16 @@
<th>Emergency B</th>
</tr>
{% for item in items %}
<tr>
<td>{{ item }}</td>
<td>{{ item.parent_A_phone }}</td>
<td>{{ item.parent_B_phone }}</td>
<td>{{ item.emergency_contact_A_phone }}</td>
<td>{{ item.emergency_contact_B_phone }}</td>
{% if item.has_failed_number %}
<tr style="color:red">
{% else %}
<tr>
{% endif %}
<td>{{ item.traveller }}</td>
<td>{{ item.parent_A }}</td>
<td>{{ item.parent_B }}</td>
<td>{{ item.contact_A }}</td>
<td>{{ item.contact_B }}</td>
</tr>
{% endfor %}
</table>