Переезд на схему нового доступа
All checks were successful
Deploy MES Core / deploy (push) Successful in 11s

This commit is contained in:
2026-04-13 08:26:07 +03:00
parent ecc0193d0a
commit 69edd3fa97
5 changed files with 33 additions and 9 deletions

View File

@@ -4,7 +4,7 @@
<div class="card shadow border-secondary">
<div class="card-header border-secondary py-3 d-flex justify-content-between align-items-center">
<h3 class="text-accent mb-0"><i class="bi bi-building me-2"></i>Заказчики</h3>
{% if user_role in 'admin,technologist' %}
{% if user_role in 'admin,technologist,clerk,manager' %}
<button type="button" class="btn btn-outline-accent btn-sm" data-bs-toggle="modal" data-bs-target="#companyModal">
<i class="bi bi-plus-lg me-1"></i>Добавить заказчика
</button>

View File

@@ -229,7 +229,7 @@
<div class="col-md-4">
<label class="form-label">Склад</label>
<select class="form-select" name="location_id" required>
{% for loc in transfer_locations %}
{% for loc in receipt_locations %}
<option value="{{ loc.id }}">{{ loc }}</option>
{% endfor %}
</select>