feat: lock pooled rooms once the pool is used up
This commit is contained in:
1 parent
a1645784fe
commit
ac23baf625
5 files changed
+157
-11
No files matched your search
@@ -3,7 +3,8 @@
|
||||
{% set htmx_change_trigger = 'change delay:300ms' %}
|
||||
|
||||
{% macro stepFormField(form, roomId, pool = null) %}
|
||||
<div class="grid grid-cols-3 pb-2">
|
||||
{# A room whose shared contingent the other selected rooms have used up #}
|
||||
<div class="grid grid-cols-3 pb-2{{ pool is not null and form.quantity.vars.max_value == 0 ? ' opacity-50' }}">
|
||||
<div class="col-span-2 pr-2">
|
||||
<div class="font-semibold">
|
||||
{{ form.vars.label_room }}
|
||||
|
||||
Reference in new issue
Block a user