mirror of
https://github.com/grocy/grocy.git
synced 2025-08-20 04:12:59 +00:00
Streamline in stock / out of stock wording
This commit is contained in:
@@ -300,7 +300,7 @@ $('#product_id_text_input').on('blur', function(e)
|
||||
};
|
||||
}
|
||||
|
||||
// The product picker contains only in-stock products on some pages,
|
||||
// The product picker contains only in stock products on some pages,
|
||||
// so only show the workflow dialog when the entered input
|
||||
// does not match in existing product (name) or barcode,
|
||||
// otherwise an error validation message that the product is not in stock
|
||||
|
@@ -193,7 +193,7 @@ $('#save-purchase-button').on('click', function(e)
|
||||
{
|
||||
if (moment(jsonData.best_before_date).isBefore(CurrentProductDetails.next_due_date))
|
||||
{
|
||||
toastr.warning(__t("This is due earlier than already in-stock items"));
|
||||
toastr.warning(__t("This is due earlier than already in stock items"));
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user