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