From 57acb62520e885b8678afd151a5b859ab0a7da12 Mon Sep 17 00:00:00 2001 From: Bernd Bestel Date: Thu, 4 Jan 2018 21:55:12 +0100 Subject: [PATCH] Show note below product name --- views/shoppinglist.php | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/views/shoppinglist.php b/views/shoppinglist.php index e0718d88..e1250947 100644 --- a/views/shoppinglist.php +++ b/views/shoppinglist.php @@ -15,9 +15,8 @@ # - Product + Product / Note Amount - Note @@ -32,14 +31,11 @@ - product_id)) echo GrocyPhpHelper::FindObjectInArrayByPropertyValue($products, 'id', $listItem->product_id)->name; ?> + product_id)) echo GrocyPhpHelper::FindObjectInArrayByPropertyValue($products, 'id', $listItem->product_id)->name . '
'; ?>note; ?> amount + $listItem->amount_autoadded; if (!empty($listItem->product_id)) echo ' ' . GrocyPhpHelper::FindObjectInArrayByPropertyValue($quantityunits, 'id', GrocyPhpHelper::FindObjectInArrayByPropertyValue($products, 'id', $listItem->product_id)->qu_id_purchase)->name; ?> - - note; ?> -