amount > 0) table-warning @elseif (FindObjectInArrayByPropertyValue($missingProducts, 'id', $currentStockEntry->product_id) !== null) table-info @endif">
+
+
+ 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 }}
+ |
+
+ @endforeach
+