mirror of
https://github.com/grocy/grocy.git
synced 2025-08-21 04:43:32 +00:00
Finished shopping list feature
This commit is contained in:
@@ -57,6 +57,7 @@ $('#product_id').on('change', function(e)
|
||||
$('#selected-product-last-used-timeago').text($.timeago(productDetails.last_used || ''));
|
||||
$('#amount').attr('max', productDetails.stock_amount);
|
||||
$('#consumption-form').validator('update');
|
||||
$('#amount_qu_unit').text(productDetails.quantity_unit_stock.name);
|
||||
|
||||
Grocy.EmptyElementWhenMatches('#selected-product-last-purchased-timeago', 'NaN years ago');
|
||||
Grocy.EmptyElementWhenMatches('#selected-product-last-used-timeago', 'NaN years ago');
|
||||
|
Reference in New Issue
Block a user