@extends('layout.default') @section('title', $__t('Consume')) @section('activeNav', 'consume') @section('viewJsName', 'consume') @push('pageScripts') @endpush @section('content')

@include('components.productpicker', [ 'productsQuery' => 'query%5B%5D=active%3D1&only_in_stock=1&order=name', 'nextInputSelector' => '#amount', 'disallowAddProductWorkflows' => true, ])
@include('components.productamountpicker', [ 'value' => 1, 'additionalHtmlContextHelp' => '
' . $__t( 'Tare weight handling enabled - please weigh the whole container, the amount to be posted will be automatically calculcated' ) . '
', ])
{{-- TODO: Select2: dynamic data: locations --}}
{{ $__t('A location is required') }}
@if (GROCY_FEATURE_FLAG_RECIPES) @include('components.recipepicker', [ 'recipes' => $recipes, 'isRequired' => false, 'hint' => $__t('This is for statistical purposes only'), ]) @endif @if (GROCY_FEATURE_FLAG_STOCK_PRODUCT_OPENED_TRACKING) @endif
@include('components.productcard')
@stop