mirror of
https://github.com/grocy/grocy.git
synced 2025-08-20 04:12:59 +00:00
Applied formatting rules for by #1000 changed files
This commit is contained in:
@@ -35,11 +35,11 @@
|
||||
data-target="@productpicker">
|
||||
<option value=""></option>
|
||||
@foreach($products as $product)
|
||||
@php $bc = null;
|
||||
if(isset($barcodes)) {
|
||||
$bc = FindObjectInArrayByPropertyValue($barcodes, 'product_id', $product->id);
|
||||
}
|
||||
@endphp
|
||||
@php $bc = null;
|
||||
if(isset($barcodes)) {
|
||||
$bc = FindObjectInArrayByPropertyValue($barcodes, 'product_id', $product->id);
|
||||
}
|
||||
@endphp
|
||||
<option data-additional-searchdata="@if(isset($bc)){{ $bc->barcodes }}@endif,"
|
||||
value="{{ $product->id }}">{{ $product->name }}</option>
|
||||
@endforeach
|
||||
|
@@ -12,7 +12,8 @@
|
||||
data-next-input-selector="{{ $nextInputSelector }}"
|
||||
data-prefill-by-name="{{ $prefillByName }}"
|
||||
data-prefill-by-id="{{ $prefillById }}">
|
||||
<label for="shopping_location_id">{{ $__t($label) }} <span @if(!empty($hintId))id="{{ $hintId }}" @endif
|
||||
<label for="shopping_location_id">{{ $__t($label) }} <span @if(!empty($hintId))id="{{ $hintId }}"
|
||||
@endif
|
||||
class="small text-muted">{{ $hint }}</span></label>
|
||||
<select class="form-control shopping-location-combobox"
|
||||
id="shopping_location_id"
|
||||
|
Reference in New Issue
Block a user