mirror of
https://github.com/grocy/grocy.git
synced 2025-04-29 17:45:39 +00:00
51 lines
1.6 KiB
PHP
51 lines
1.6 KiB
PHP
@extends('layout.default')
|
|
|
|
@section('title', $__t('Shopping list settings'))
|
|
|
|
@section('viewJsName', 'shoppinglistsettings')
|
|
|
|
@section('content')
|
|
<div class="row">
|
|
<div class="col">
|
|
<h2 class="title">@yield('title')</h2>
|
|
</div>
|
|
</div>
|
|
|
|
<hr class="my-2">
|
|
|
|
<div class="row">
|
|
<div class="col-lg-6 col-xs-12">
|
|
<h4 class="mt-2">{{ $__t('Shopping list') }}</h4>
|
|
<div class="form-group">
|
|
<div class="custom-control custom-checkbox">
|
|
<input type="checkbox"
|
|
class="form-check-input custom-control-input user-setting-control"
|
|
id="shopping_list_show_calendar"
|
|
data-setting-key="shopping_list_show_calendar">
|
|
<label class="form-check-label custom-control-label"
|
|
for="shopping_list_show_calendar">
|
|
{{ $__t('Show a month-view calendar') }}
|
|
</label>
|
|
</div>
|
|
</div>
|
|
|
|
<h4 class="mt-2">{{ $__t('Shopping list to stock workflow') }}</h4>
|
|
<div class="form-group">
|
|
<div class="custom-control custom-checkbox">
|
|
<input type="checkbox"
|
|
class="form-check-input custom-control-input user-setting-control"
|
|
id="shopping_list_to_stock_workflow_auto_submit_when_prefilled"
|
|
data-setting-key="shopping_list_to_stock_workflow_auto_submit_when_prefilled">
|
|
<label class="form-check-label custom-control-label"
|
|
for="shopping_list_to_stock_workflow_auto_submit_when_prefilled">
|
|
{{ $__t('Automatically do the booking using the last price and the amount of the shopping list item, if the product has "Default due days" set') }}
|
|
</label>
|
|
</div>
|
|
</div>
|
|
|
|
<a href="{{ $U('/shoppinglist') }}"
|
|
class="btn btn-success">{{ $__t('OK') }}</a>
|
|
</div>
|
|
</div>
|
|
@stop
|