feat: auto check-in on barcode scan of existing assets
- handleBarcode() now calls autoCheckin() after finding asset via barcode - showScannedAsset() no longer shows manual checkin card - Replace 'Check In' button with 'Auto checked in' indicator - Add CSS for sr-checkin-done span
This commit is contained in:
@@ -39,14 +39,16 @@
|
||||
|
||||
---
|
||||
|
||||
## Feature 4: Building # → trailer number sync
|
||||
## Feature 4: Building # → trailer number sync ✅ DONE
|
||||
**Current:** `building_number` and `trailer_number` are separate fields
|
||||
**Target:** When building_number is entered, auto-populate trailer_number with same value
|
||||
|
||||
**Files:**
|
||||
- `static/index.html` — manual form event listeners, auto-checkin logic
|
||||
|
||||
**Change:** Add an `oninput` handler on the building number field that copies the value to trailer number. Also handle the OCR/barcode creation paths if they ever populate building number.
|
||||
**Change:** Added `oninput` handler on `manBuildingNumber` → copies to `manAddress` (address/trailer combo field) and `locFormBldgNum` → copies to `locFormTrailer`.
|
||||
|
||||
**Commit:** 02b3ba6
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user