mirror of
https://github.com/grocy/grocy.git
synced 2025-08-20 04:12:59 +00:00
Added a new sub feature flag FEATURE_FLAG_SHOPPINGLIST_MULTIPLE_LISTS
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
@endpush
|
||||
|
||||
@section('content')
|
||||
@if(GROCY_FEATURE_FLAG_SHOPPINGLIST_MULTIPLE_LISTS)
|
||||
<div class="row border-bottom pb-2 mb-2 d-print-none">
|
||||
<div class="col-xs-12 col-md-4">
|
||||
<label for="selected-shopping-list">{{ $__t('Selected shopping list') }}</label>
|
||||
@@ -44,6 +45,7 @@
|
||||
</div>-->
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<div class="row d-print-none">
|
||||
<div class="col">
|
||||
|
@@ -21,6 +21,7 @@
|
||||
|
||||
<form id="shoppinglist-form" novalidate>
|
||||
|
||||
@if(GROCY_FEATURE_FLAG_SHOPPINGLIST_MULTIPLE_LISTS)
|
||||
<div class="form-group">
|
||||
<label for="shopping_list_id">{{ $__t('Shopping list') }}</label>
|
||||
<select class="form-control" id="shopping_list_id" name="shopping_list_id">
|
||||
@@ -29,6 +30,9 @@
|
||||
@endforeach
|
||||
</select>
|
||||
</div>
|
||||
@else
|
||||
<input type="hidden" id="shopping_list_id" name="shopping_list_id" value="1">
|
||||
@endif
|
||||
|
||||
@php if($mode == 'edit') { $productId = $listItem->product_id; } else { $productId = ''; } @endphp
|
||||
@include('components.productpicker', array(
|
||||
|
Reference in New Issue
Block a user