Add room availability even to paid orders
This commit is contained in:
parent
3ded3a21c5
commit
5a2103aec0
|
@ -112,15 +112,13 @@
|
|||
{% endif %}
|
||||
|
||||
{# Room availability is always shown #}
|
||||
{% if not order.room_confirmed %}
|
||||
<h4>Room availability</h4>
|
||||
<table>
|
||||
{% for q in quota.data['results'] if 'Room' in q['name'] %}
|
||||
<tr {% if q['available_number'] == 0 %}style="text-decoration:line-through;"{% endif %}>
|
||||
<td>{{q['name']}}</td>
|
||||
<td>{{q['available_number']}} left</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
{% endif %}
|
||||
<h4>Room availability</h4>
|
||||
<table>
|
||||
{% for q in quota.data['results'] if 'Room' in q['name'] %}
|
||||
<tr {% if q['available_number'] == 0 %}style="text-decoration:line-through;"{% endif %}>
|
||||
<td>{{q['name']}}</td>
|
||||
<td>{{q['available_number']}} left</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
</details>
|
||||
|
|
Loading…
Reference in New Issue