added augmented mode to label scanner to use vendor labels for part lookup to see part storage location quickly

This commit is contained in:
swdee 2026-01-16 22:42:20 +13:00
parent f3cd32cc91
commit d6eae90e04
7 changed files with 445 additions and 82 deletions

View file

@ -12,13 +12,16 @@
<div class="offset-sm-3 col-sm-9">
<div class="img-thumbnail" style="max-width: 600px;">
<div id="reader-box" {{ stimulus_controller('pages/barcode_scan') }}></div>
<div id="reader-box" {{ stimulus_controller('pages/barcode_scan') }}
data-augmented-url="{{ path('scan_augmented') }}"></div>
</div>
</div>
</div>
</div>
<div id="scan-augmented-result" class="mt-3"></div>
{{ form_start(form, {'attr': {'id': 'scan_dialog_form'}}) }}
{{ form_end(form) }}