mirror of
https://github.com/grocy/grocy.git
synced 2025-10-12 16:44:55 +00:00
add purchased date to purchase (#1056)
This commit is contained in:
@@ -29,6 +29,7 @@
|
||||
|
||||
var jsonData = {};
|
||||
jsonData.amount = amount;
|
||||
jsonData.purchased_date = Grocy.Components.DateTimePicker2.GetValue();
|
||||
if (Grocy.Components.DateTimePicker)
|
||||
{
|
||||
jsonData.best_before_date = Grocy.Components.DateTimePicker.GetValue();
|
||||
|
Reference in New Issue
Block a user