it_manager/locations: редактор шаблона этикеток, раздельная печать QR/EAN и карточка поставщика.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-10-07 16:40:48 +03:00
parent 82ad90c661
commit d54f6fbe42
18 changed files with 1192 additions and 66 deletions
+7 -1
View File
@@ -216,7 +216,13 @@
{% include "partials/it-equipment-assign-fields.html" with widget_id="bulk-assign" selected_target="" selected_location_id=None selected_employee_id=None require_target=True allow_empty=False %}
<button type="submit" class="btn btn-primary">{% trans "Выдать" %}</button>
<button type="button" class="btn btn-secondary" style="border:1px solid var(--color-border);"
onclick="itEquipmentOpenLabels()">{% trans "Этикетки QR / EAN-13" %}</button>
onclick="itEquipmentOpenLabels('qr')">{% trans "QR" %}</button>
<button type="button" class="btn btn-secondary" style="border:1px solid var(--color-border);"
onclick="itEquipmentOpenLabels('ean')">{% trans "EAN-13" %}</button>
<button type="button" class="btn btn-secondary" style="border:1px solid var(--color-border);"
onclick="itEquipmentOpenLabels('both')">{% trans "QR + EAN" %}</button>
<a href="/it-manager/equipment/labels/template/" target="_blank" rel="noopener"
class="btn btn-ghost" style="text-decoration:none; font-size:0.8125rem;">{% trans "Шаблон этикетки" %}</a>
<button type="button" class="btn btn-ghost" onclick="itBulkClearSelection()">{% trans "Отменить выбор" %}</button>
</form>
</div>