This commit is contained in:
Bernd Bestel
2021-01-01 20:00:24 +01:00
parent 43ef9b793b
commit fe665ac766

View File

@@ -45,7 +45,7 @@ $('#save-purchase-button').on('click', function(e)
jsonData.price = price;
}
if (Grocy.UserSettings.show_purchased_date_on_purchase)
if (BoolVal(Grocy.UserSettings.show_purchased_date_on_purchase))
{
jsonData.purchased_date = Grocy.Components.DateTimePicker2.GetValue();
}