mirror of
https://github.com/grocy/grocy.git
synced 2025-04-29 09:39:57 +00:00
Unit stock name in the mealplan (#1109)
Stock name instead of purchase name
This commit is contained in:
parent
af0a7dc2be
commit
5303952be1
@ -220,7 +220,7 @@ var calendar = $("#calendar").fullCalendar({
|
||||
element.html('\
|
||||
<div> \
|
||||
<h5 class="text-truncate">' + productDetails.product.name + '<h5> \
|
||||
<h5 class="small text-truncate"><span class="locale-number locale-number-quantity-amount">' + mealPlanEntry.product_amount + "</span> " + __n(mealPlanEntry.product_amount, productDetails.quantity_unit_purchase.name, productDetails.quantity_unit_purchase.name_plural) + '</h5> \
|
||||
<h5 class="small text-truncate"><span class="locale-number locale-number-quantity-amount">' + mealPlanEntry.product_amount + "</span> " + __n(mealPlanEntry.product_amount, productDetails.quantity_unit_stock.name, productDetails.quantity_unit_stock.name_plural) + '</h5> \
|
||||
<h5 class="small timeago-contextual text-truncate">' + fulfillmentIconHtml + " " + fulfillmentInfoHtml + '</h5> \
|
||||
' + costsAndCaloriesPerServing + ' \
|
||||
<h5> \
|
||||
|
Loading…
x
Reference in New Issue
Block a user