@extends('layout.default') @section('title', $__t('Stock settings')) @section('viewJsName', 'stocksettings') @section('content')

@yield('title')

{{ $__t('Presets for new products') }}

@if(GROCY_FEATURE_FLAG_STOCK_LOCATION_TRACKING)
@endif

{{ $__t('Stock overview') }}

@include('components.numberpicker', array( 'id' => 'stock_expring_soon_days', 'additionalAttributes' => 'data-setting-key="stock_expring_soon_days"', 'label' => 'Expiring soon days', 'min' => 1, 'invalidFeedback' => $__t('This cannot be lower than %s', '1'), 'additionalCssClasses' => 'user-setting-control' ))

{{ $__t('Purchase') }}

@include('components.numberpicker', array( 'id' => 'stock_default_purchase_amount', 'additionalAttributes' => 'data-setting-key="stock_default_purchase_amount"', 'label' => 'Default amount for purchase', 'min' => 0, 'invalidFeedback' => $__t('This cannot be lower than %s', '1'), 'additionalCssClasses' => 'user-setting-control' ))

{{ $__t('Consume') }}

@include('components.numberpicker', array( 'id' => 'stock_default_consume_amount', 'additionalAttributes' => 'data-setting-key="stock_default_consume_amount"', 'label' => 'Default amount for consume', 'min' => 1, 'invalidFeedback' => $__t('This cannot be lower than %s', '1'), 'additionalCssClasses' => 'user-setting-control' ))
{{ $__t('OK') }}
@stop