forked from CGM_Public/pretix_original
Fix unavailable input options (Z#23194875) (#5178)
* Fix unavailable input options * Fix it also for items with variations * Fix it also for items with variations
This commit is contained in:
@@ -186,7 +186,7 @@
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
</div>
|
||||
{% if var.cached_availability.0 == 100 or var.initial %}
|
||||
{% if not item.current_unavailability_reason and not var.current_unavailability_reason and var.cached_availability.0 == 100 or var.initial %}
|
||||
<div class="col-md-2 col-sm-3 col-xs-6 availability-box available">
|
||||
{% if c.max_count == 1 or not c.multi_allowed %}
|
||||
<label class="btn btn-default btn-checkbox">
|
||||
@@ -327,7 +327,7 @@
|
||||
{% endif %}
|
||||
</p>
|
||||
</div>
|
||||
{% if item.cached_availability.0 == 100 or item.initial %}
|
||||
{% if not item.current_unavailability_reason and item.cached_availability.0 == 100 or item.initial %}
|
||||
<div class="col-md-2 col-sm-3 col-xs-6 availability-box available">
|
||||
{% if c.max_count == 1 or not c.multi_allowed %}
|
||||
<label class="btn btn-default btn-checkbox">
|
||||
|
||||
Reference in New Issue
Block a user