diff --git a/resources/views/fields/camera-capture.blade.php b/resources/views/fields/camera-capture.blade.php index 42b3c92..aa73f5f 100644 --- a/resources/views/fields/camera-capture.blade.php +++ b/resources/views/fields/camera-capture.blade.php @@ -818,7 +818,10 @@ function cameraCapture() { // Extract serial numbers (digits only) const matches = detectedText.match(/\d+/g) || []; this.serialNumbers = matches.slice(0, 4); // take first 4 serials + this.$refs.serialInput.value = JSON.stringify(this.serialNumbers); + alert("Serial numbers stored in hidden input:\n" + this.$refs.serialInput.value); + } } catch (err) { console.error("OCR verify error:", err);