From 88c78b604a8c034a9987b58af7ff942d43dcafa3 Mon Sep 17 00:00:00 2001 From: Benoit Anastay <45088785+BenoitAnastay@users.noreply.github.com> Date: Fri, 30 Oct 2020 00:33:11 +0100 Subject: [PATCH] Unit stock name in the mealplan Stock name instead of purchase name --- public/viewjs/mealplan.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/viewjs/mealplan.js b/public/viewjs/mealplan.js index 002ffee5..0181d524 100644 --- a/public/viewjs/mealplan.js +++ b/public/viewjs/mealplan.js @@ -220,7 +220,7 @@ var calendar = $("#calendar").fullCalendar({ element.html('\
\
' + productDetails.product.name + '
\ -
' + mealPlanEntry.product_amount + " " + __n(mealPlanEntry.product_amount, productDetails.quantity_unit_purchase.name, productDetails.quantity_unit_purchase.name_plural) + '
\ +
' + mealPlanEntry.product_amount + " " + __n(mealPlanEntry.product_amount, productDetails.quantity_unit_stock.name, productDetails.quantity_unit_stock.name_plural) + '
\
' + fulfillmentIconHtml + " " + fulfillmentInfoHtml + '
\ ' + costsAndCaloriesPerServing + ' \
\