feat: button on/off products

This commit is contained in:
2024-12-29 20:02:51 -03:00
parent ac87c3a47d
commit 9cc0c72f10
17 changed files with 71 additions and 42 deletions

View File

@@ -24,14 +24,6 @@ RRB&C - Mesas
{% endif %}
>{{mesa.name}}
<form action="{% url 'onOffmesa' %}" method="post">
{% csrf_token %}
<input type="hidden" name="id-mesa" value="{{ mesa.id }}">
<button type="submit">On/Off</button>
</form>
</div>
{% endfor %}