mirror of
https://github.com/grocy/grocy.git
synced 2026-04-07 05:16:15 +02:00
barcode scanner added to product barcodes input
This commit is contained in:
parent
eb9f569080
commit
6ff84c6457
|
|
@ -32,7 +32,10 @@
|
||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="name">{{ $__t('Barcode') }}<i class="fas fa-barcode"></i></label>
|
<label for="name">{{ $__t('Barcode') }}<i class="fas fa-barcode"></i></label>
|
||||||
<input type="text" class="form-control" required id="barcode" name="barcode" value="@if($mode == 'edit'){{ $barcode->barcode }}@endif">
|
<div class="input-group">
|
||||||
|
<input type="text" class="form-control barcodescanner-input" required id="barcode" name="barcode" value="@if($mode == 'edit'){{ $barcode->barcode }}@endif" data-target="#scanned_barcode">
|
||||||
|
@include('components.barcodescanner')
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@php if($mode == 'edit') { $value = $barcode->qu_factor_purchase_to_stock; } else { $value = 1; } @endphp
|
@php if($mode == 'edit') { $value = $barcode->qu_factor_purchase_to_stock; } else { $value = 1; } @endphp
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user