mirror of
https://github.com/grocy/grocy.git
synced 2025-04-29 17:45:39 +00:00
Added a new sub feature flag FEATURE_FLAG_SHOPPINGLIST_MULTIPLE_LISTS
This commit is contained in:
parent
ff92e8235f
commit
700db9ae00
@ -4,6 +4,9 @@
|
||||
### Recipe fixes
|
||||
- Fixed that recipes were displayed without ingredients if the total recipe count was > 100
|
||||
|
||||
### Shopping list improvements
|
||||
- Added a new sub feature flag `FEATURE_FLAG_SHOPPINGLIST_MULTIPLE_LISTS` to disable multiple shopping lists if you only need one (defaults to `true`, so no changed behavior when not configured)
|
||||
|
||||
### Chores improvements
|
||||
- Added a new period type "yearly" (for yearly schedules)
|
||||
- Added a "period interval" option per chore to have more flexible schedules (possible for the daily/weekly/monthly/yearly schedules, means "schedule this chore only every x days/weeks/months" to have for example biweekly schedules)
|
||||
|
@ -124,6 +124,7 @@ Setting('FEATURE_FLAG_STOCK_PRICE_TRACKING', true);
|
||||
Setting('FEATURE_FLAG_STOCK_LOCATION_TRACKING', true);
|
||||
Setting('FEATURE_FLAG_STOCK_BEST_BEFORE_DATE_TRACKING', true);
|
||||
Setting('FEATURE_FLAG_STOCK_PRODUCT_OPENED_TRACKING', true);
|
||||
Setting('FEATURE_FLAG_SHOPPINGLIST_MULTIPLE_LISTS', true);
|
||||
Setting('FEATURE_FLAG_CHORES_ASSIGNMENTS', true);
|
||||
|
||||
|
||||
|
@ -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(
|
||||
|
Loading…
x
Reference in New Issue
Block a user