mirror of
https://github.com/grocy/grocy.git
synced 2025-10-03 05:38:52 +00:00
Added a chore start date option (closes #1612)
This commit is contained in:
@@ -142,7 +142,7 @@ $('.save-product-button').on('click', function(e)
|
||||
|
||||
if (Grocy.EditMode == "edit")
|
||||
{
|
||||
Grocy.Api.Get('objects/stock_log?query[]=product_id=' + Grocy.EditObjectId,
|
||||
Grocy.Api.Get('objects/stock_log?limit=1&query[]=product_id=' + Grocy.EditObjectId,
|
||||
function(productJournalEntries)
|
||||
{
|
||||
if (productJournalEntries.length == 0)
|
||||
|
Reference in New Issue
Block a user