Display total cost of recipes based on last purchase prices (closes #128)

This commit is contained in:
Bernd Bestel
2019-03-03 16:33:48 +01:00
parent 8c11d0f15d
commit bb5daa5f8b
6 changed files with 124 additions and 21 deletions

View File

@@ -501,3 +501,8 @@ $("#about-dialog-link").on("click", function()
closeButton: false
});
});
$(".local-number-format[data-format='currency']").each(function ()
{
$(this).text(parseFloat($(this).text()).toLocaleString(undefined, { minimumFractionDigits: 2 }));
});