From 5303952be11fd587f435f9f48ece8721427d4600 Mon Sep 17 00:00:00 2001 From: Benoit Anastay <45088785+BenoitAnastay@users.noreply.github.com> Date: Sat, 31 Oct 2020 16:15:26 +0100 Subject: [PATCH] Unit stock name in the mealplan (#1109) 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 + ' \
\