update alpha v0.906

This commit is contained in:
2026-02-24 15:48:14 -08:00
parent bcaa5d714b
commit 16a8e2dd2b
11 changed files with 706 additions and 35 deletions

View File

@@ -515,7 +515,8 @@
<th>Штрихкод</th><th>Модель</th><th>Остаток</th>
</tr>
{% for b,m,q,minq in items %}
<tr class="js-cartridge-row {{ 'table-danger' if q < minq else '' }}"
{% set model_key = (m or '')|trim|lower %}
<tr class="js-cartridge-row {{ 'table-danger' if (q < minq) or (model_key in orphan_model_keys) else '' }}"
data-barcode="{{ b }}"
data-model="{{ m or '' }}"
data-quantity="{{ q }}">