Jul 9 - Update to allow customer to manage their facilities' QR codes

This commit is contained in:
2026-07-09 09:58:43 -04:00
parent 97a559d5c0
commit b2ac816bc2
6 changed files with 58 additions and 28 deletions
+1 -1
View File
@@ -17,7 +17,7 @@
<i class="bi bi-arrow-left"></i> Back to Facility
</a>
<div class="d-flex gap-2">
{% if current_user.role in ['admin', 'director'] %}
{% if current_user.role in ['admin', 'director', 'customer'] %}
<form method="POST"
action="{{ url_for('facilities.facility_qr_regenerate', facility_id=facility.id) }}"
onsubmit="return confirm('Regenerate this QR code? Any codes already printed and posted for {{ facility.name }} will STOP working and must be reprinted.');">