@extends('layout.default') @section('title', $__t('Stock entry')) @section('activeNav', 'stockdetail') @section('viewJsName', 'stockdetail') @push('pageScripts') @endpush @push('pageStyles') @endpush @section('content')
product_id | {{ $__t('Product') }} | {{ $__t('Amount') }} | {{ $__t('Best before date') }} | @if(GROCY_FEATURE_FLAG_STOCK_LOCATION_TRACKING){{ $__t('Location') }} | @endif @if(GROCY_FEATURE_FLAG_STOCK_PRICE_TRACKING){{ $__t('Price') }} | @endif{{ $__t('Purchased date') }} | @include('components.userfields_thead', array( 'userfields' => $userfields ))|
---|---|---|---|---|---|---|---|
1
{{ $__t('All') }}
@if(GROCY_FEATURE_FLAG_STOCK_PRODUCT_OPENED_TRACKING)
1
@endif
|
{{ $currentStockEntry->product_id }} | {{ FindObjectInArrayByPropertyValue($products, 'id', $currentStockEntry->product_id)->name }} | {{ $currentStockEntry->amount }} {{ $__n($currentStockEntry->amount, FindObjectInArrayByPropertyValue($quantityunits, 'id', FindObjectInArrayByPropertyValue($products, 'id', $currentStockEntry->product_id)->qu_id_stock)->name, FindObjectInArrayByPropertyValue($quantityunits, 'id', FindObjectInArrayByPropertyValue($products, 'id', $currentStockEntry->product_id)->qu_id_stock)->name_plural) }} @if($currentStockEntry->amount_opened > 0){{ $__t('%s opened', $currentStockEntry->amount_opened) }}@endif @if($currentStockEntry->is_aggregated_amount == 1) {{ $currentStockEntry->amount_aggregated }} {{ $__n($currentStockEntry->amount_aggregated, FindObjectInArrayByPropertyValue($quantityunits, 'id', FindObjectInArrayByPropertyValue($products, 'id', $currentStockEntry->product_id)->qu_id_stock)->name, FindObjectInArrayByPropertyValue($quantityunits, 'id', FindObjectInArrayByPropertyValue($products, 'id', $currentStockEntry->product_id)->qu_id_stock)->name_plural) }} @if($currentStockEntry->amount_opened_aggregated > 0){{ $__t('%s opened', $currentStockEntry->amount_opened_aggregated) }}@endif @endif | {{ $currentStockEntry->best_before_date }} | @if(GROCY_FEATURE_FLAG_STOCK_LOCATION_TRACKING){{ FindObjectInArrayByPropertyValue($locations, 'id', $currentStockEntry->location_id)->name }} | @endif @if(GROCY_FEATURE_FLAG_STOCK_PRICE_TRACKING){{ $currentStockEntry->price }} | @endif{{ $currentStockEntry->purchased_date }} |