Added SMS functions to buses and travellers
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user