From 375e789d171675eced2affd006e2dd788c222a19 Mon Sep 17 00:00:00 2001 From: Kurt Riddlesperger Date: Wed, 9 Oct 2019 23:10:14 -0500 Subject: [PATCH] Add Purchase Factor to Stock Overview --- views/stockoverview.blade.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/views/stockoverview.blade.php b/views/stockoverview.blade.php index ed52c0c5..df777624 100644 --- a/views/stockoverview.blade.php +++ b/views/stockoverview.blade.php @@ -85,6 +85,7 @@ {{ $__t('Product') }} {{ $__t('Amount') }} + {{ $__t('Purchase Factor') }} {{ $__t('Next best before date') }} Hidden location Hidden status @@ -183,6 +184,9 @@ @endif + + {{ $currentStockEntry->factor_purchase_amount }} {{ $__n($currentStockEntry->factor_purchase_amount, FindObjectInArrayByPropertyValue($quantityunits, 'id', FindObjectInArrayByPropertyValue($products, 'id', $currentStockEntry->product_id)->qu_id_purchase)->name, FindObjectInArrayByPropertyValue($quantityunits, 'id', FindObjectInArrayByPropertyValue($products, 'id', $currentStockEntry->product_id)->qu_id_purchase)->name_plural) }} + {{ $currentStockEntry->best_before_date }}