feat: local ZXing fallback, Register New Asset button, OCR serial search

Three fixes:
1. Barcode scanner: load ZXing locally with CDN fallback so it works
   even when CDN is unreachable.
2. Scan result: add 'Register' button to create a new asset from a
   scanned machine_id — works for both found and not-found results.
3. OCR serial search: when extracted machine_id isn't found, also try
   searching all numeric strings from OCR text as serial numbers; add
   'Register as New Asset' button on OCR not-found result.
This commit is contained in:
2026-06-02 19:08:58 -04:00
parent 95a368163a
commit b8ea7374e4
2 changed files with 62 additions and 6 deletions
+1
View File
File diff suppressed because one or more lines are too long