Fixed kick option appearing on confirmed rooms

This commit is contained in:
Ed 2022-12-18 18:11:38 +01:00
parent 2082b11d79
commit 94c95a53ee
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@
{% else %}
<p><strong style="color:#060;">PAID</strong></p>
{% endif %}
{% if order.room_owner and person.code != order.code %}<a href="/manage/room/kick/{{person.code}}">KICK</a>{% endif %}
{% if order.room_owner and person.code != order.code and (not order.room_confirmed) %}<a href="/manage/room/kick/{{person.code}}">KICK</a>{% endif %}
</div>
{% if person.status != 'paid' %}