mirror of
				https://github.com/grocy/grocy.git
				synced 2025-10-31 02:36:54 +00:00 
			
		
		
		
	| @@ -17,7 +17,9 @@ | ||||
| @php if(!isset($noNameAttribute)) { $noNameAttribute = false; } @endphp | ||||
|  | ||||
| <div class="form-group {{ $additionalGroupCssClasses }}"> | ||||
| 	<label for="{{ $id }}">{{ $__t($label) }}  <span id="{{ $hintId }}" class="small text-muted">{{ $hint }}</span>{!! $additionalHtmlContextHelp !!}</label> | ||||
| 	<label for="{{ $id }}"> | ||||
| 		{{ $__t($label) }}  | ||||
| 		<i class="fas fa-question-circle" id="{{ $hintId }}" data-toggle="tooltip" title="{{ $hint }}"></i>{!! $additionalHtmlContextHelp !!}</label> | ||||
| 	<div class="input-group"> | ||||
| 		<input {!! $additionalAttributes !!} type="number" class="form-control numberpicker {{ $additionalCssClasses }}" id="{{ $id }}" @if(!$noNameAttribute) name="{{ $id }}" @endif value="{{ $value }}" min="{{ $min }}" max="{{ $max }}" step="{{ $step }}" @if($isRequired) required @endif> | ||||
| 		<div class="input-group-append"> | ||||
|   | ||||
| @@ -13,7 +13,11 @@ | ||||
| @php if(empty($nextInputSelector)) { $nextInputSelector = ''; } @endphp | ||||
|  | ||||
| <div class="form-group" data-next-input-selector="{{ $nextInputSelector }}" data-disallow-add-product-workflows="{{ BoolToString($disallowAddProductWorkflows) }}" data-disallow-all-product-workflows="{{ BoolToString($disallowAllProductWorkflows) }}" data-prefill-by-name="{{ $prefillByName }}" data-prefill-by-id="{{ $prefillById }}"> | ||||
| 	<label for="product_id">{{ $__t($label) }} <i class="fas fa-barcode"></i><span id="barcode-lookup-disabled-hint" class="small text-muted d-none"> {{ $__t('Barcode lookup is disabled') }}</span>  <span class="small text-muted">{{ $hint }}</span></label> | ||||
| 	<label for="product_id"> | ||||
| 		{{ $__t($label) }} <i class="fas fa-barcode"></i>  | ||||
| 		<span id="barcode-lookup-disabled-hint" class="small text-muted d-none"> {{ $__t('Barcode lookup is disabled') }}</span>  | ||||
| 		<i class="fas fa-question-circle" data-toggle="tooltip" title="{{ $hint }}"></i> | ||||
| 	</label> | ||||
| 	<select class="form-control product-combobox barcodescanner-input" id="product_id" name="product_id" @if($isRequired) required @endif @if($disabled) disabled @endif data-target="@productpicker"> | ||||
| 		<option value=""></option> | ||||
| 		@foreach($products as $product) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user