Mix box and canister labels on shared sheets

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-10-11 12:53:57 +03:30
parent 7b9255d31c
commit 08b234c254
5 changed files with 30 additions and 26 deletions

View File

@@ -59,7 +59,7 @@
<div class="form-group">
<label data-i18n="labels_preview">Labels Generated</label>
<div class="computed-value" style="font-size: 0.9em" id="preview-display">
Canisters: - ( - pages ) | Boxes: - ( - pages )
Canisters: - | Boxes: - | - pages
</div>
</div>

View File

@@ -176,8 +176,9 @@
<div class="preview-controls">
<p style="margin-bottom: 10px; font-family: sans-serif;">
Order #{{ order.id }} — {{ order.product.code }} <br>
{{ order.canister_count }} Canisters ({{ order.canister_pages }} Pages) |
{{ order.box_count }} Boxes ({{ order.box_pages }} Pages)
{{ order.canister_count }} Canisters |
{{ order.box_count }} Boxes |
{{ order.canister_pages|add:order.box_pages }} Pages
</p>
<label class="page-range">
Pages