2020-02-01 12:54:05 +01:00
@ extends ( 'layout.default' )
@ section ( 'title' , $__t ( 'Shopping list settings' ))
@ section ( 'viewJsName' , 'shoppinglistsettings' )
@ section ( 'content' )
2020-04-19 08:51:02 -04:00
< div class = " row " >
< div class = " col " >
< h2 class = " title " >@ yield ( 'title' ) </ h2 >
</ div >
</ div >
2020-10-31 18:37:10 +01:00
< hr class = " my-2 py-1 " >
2020-02-01 12:54:05 +01:00
< 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 = " checkbox " >
< label for = " shopping-list-show-calendar " >
2020-08-31 20:32:50 +02:00
< input type = " checkbox "
class = " user-setting-control "
id = " shopping-list-show-calendar "
name = " shopping-list-show-calendar "
data - setting - key = " shopping_list_show_calendar " > {{ $__t ( 'Show a month-view calendar' ) }}
2020-02-01 12:54:05 +01:00
</ label >
</ div >
</ div >
2020-02-09 15:36:03 +01:00
< div class = " form-group " >
< div class = " checkbox " >
< label for = " shopping-list-disable-auto-compact-view-on-mobile " >
2020-08-31 20:32:50 +02:00
< input type = " checkbox "
class = " user-setting-control "
id = " shopping-list-disable-auto-compact-view-on-mobile "
name = " shopping-list-disable-auto-compact-view-on-mobile "
data - setting - key = " shopping_list_disable_auto_compact_view_on_mobile " > {{ $__t ( 'Don\'t automatically switch to the compact view on mobile devices' ) }}
2020-02-09 15:36:03 +01:00
</ label >
</ div >
</ div >
2020-02-01 12:54:05 +01:00
< h4 class = " mt-2 " > {{ $__t ( 'Shopping list to stock workflow' ) }} </ h4 >
< div class = " form-group " >
< div class = " checkbox " >
< label for = " shopping-list-to-stock-workflow-auto-submit-when-prefilled " >
2020-08-31 20:32:50 +02:00
< input type = " checkbox "
class = " user-setting-control "
id = " shopping-list-to-stock-workflow-auto-submit-when-prefilled "
name = " shopping-list-to-stock-workflow-auto-submit-when-prefilled "
data - setting - key = " 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 best before days" set' ) }}
2020-02-01 12:54:05 +01:00
</ label >
</ div >
</ div >
2020-08-31 20:32:50 +02:00
< a href = " { { $U ('/shoppinglist') }} "
class = " btn btn-success " > {{ $__t ( 'OK' ) }} </ a >
2020-02-01 12:54:05 +01:00
</ div >
</ div >
@ stop