@extends('layout.default') @section('title', $L('Shopping list')) @section('activeNav', 'shoppinglist') @section('viewJsName', 'shoppinglist') @section('content')

@yield('title') {{ $L('Add') }} {{ $L('Clear list') }} {{ $L('Add products that are below defined min. stock amount') }}

{{ Pluralize(count($missingProducts), $L('#1 product is below defined min. stock amount', count($missingProducts)), $L('#1 products are below defined min. stock amount', count($missingProducts))) }}

@foreach($listItems as $listItem) @endforeach
# {{ $L('Product') }} / {{ $L('Note') }} {{ $L('Amount') }}
@if(!empty($listItem->product_id)) {{ FindObjectInArrayByPropertyValue($products, 'id', $listItem->product_id)->name }}
@endif{{ $listItem->note }}
{{ $listItem->amount + $listItem->amount_autoadded }} @if(!empty($listItem->product_id)){{ Pluralize($listItem->amount + $listItem->amount_autoadded, FindObjectInArrayByPropertyValue($quantityunits, 'id', FindObjectInArrayByPropertyValue($products, 'id', $listItem->product_id)->qu_id_purchase)->name, FindObjectInArrayByPropertyValue($quantityunits, 'id', FindObjectInArrayByPropertyValue($products, 'id', $listItem->product_id)->qu_id_purchase)->name_plural) }}@endif
@include('components.calendarcard')
@stop