This commit is contained in:
Bernd Bestel 2021-01-01 20:00:24 +01:00
parent 43ef9b793b
commit fe665ac766
No known key found for this signature in database
GPG Key ID: 71BD34C0D4891300

View File

@ -45,7 +45,7 @@ $('#save-purchase-button').on('click', function(e)
jsonData.price = price; 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(); jsonData.purchased_date = Grocy.Components.DateTimePicker2.GetValue();
} }