@extends('layout.default') @section('title', $__t('Consume')) @section('activeNav', 'consume') @section('viewJsName', 'consume') @push('pageScripts') @endpush @section('content')
@yield('title')
@if(!$embedded)
{{ $__t('Scan mode') }}
@if(boolval($userSettings['scan_mode_consume_enabled'])) {{ $__t('on') }} @else {{ $__t('off') }} @endif
@else @endif
@include('components.productpicker', array( 'products' => $products, 'barcodes' => $barcodes, 'nextInputSelector' => '#amount', 'disallowAddProductWorkflows' => true ))
{{ $__t('Consume exact amount') }}
@include('components.productamountpicker', array( 'value' => 1, 'additionalHtmlContextHelp' => '
' . $__t('Tare weight handling enabled - please weigh the whole container, the amount to be posted will be automatically calculcated') . '
' ))
{{ $__t('Location') }}
@foreach($locations as $location)
{{ $location->name }}
@endforeach
{{ $__t('A location is required') }}
{{ $__t('Spoiled') }}
{{ $__t('Use a specific stock item') }}
@if (GROCY_FEATURE_FLAG_RECIPES) @include('components.recipepicker', array( 'recipes' => $recipes, 'isRequired' => false, 'hint' => $__t('This is for statistical purposes only') )) @endif
{{ $__t('OK') }}
@if(GROCY_FEATURE_FLAG_STOCK_PRODUCT_OPENED_TRACKING)
{{ $__t('Mark as opened') }}
@endif
@include('components.productcard')
@stop