Add of restriction for refilling

This commit is contained in:
lsacienne
2022-04-20 14:01:33 +02:00
parent 757ff7ead7
commit c6caf5dbce
3 changed files with 12 additions and 3 deletions

View File

@ -107,7 +107,7 @@
<input type="submit" value="{% trans %}Cancel{% endtrans %}" />
</form>
</div>
{% if counter.type == 'BAR' %}
{% if (counter.type == 'BAR' and barmens_can_refill) %}
<h5>{% trans %}Refilling{% endtrans %}</h5>
<div>
<form method="post" action="{{ url('counter:click', counter_id=counter.id, user_id=customer.user.id) }}">