diff --git a/localization/strings.pot b/localization/strings.pot index ab6ec8e0..192e3298 100644 --- a/localization/strings.pot +++ b/localization/strings.pot @@ -1870,7 +1870,7 @@ msgstr "" msgid "Show a warning when the due date of the purchased product is earlier than the next due date in stock" msgstr "" -msgid "There are items in stock which are due earlier" +msgid "This is due earlier than already in-stock items" msgstr "" msgid "When enabled, the amount will always be filled with 1 after changing/scanning a product and if all fields could be automatically populated (by product defaults), the transaction is automatically submitted" diff --git a/public/viewjs/purchase.js b/public/viewjs/purchase.js index e206018a..08654027 100644 --- a/public/viewjs/purchase.js +++ b/public/viewjs/purchase.js @@ -119,7 +119,7 @@ $('#save-purchase-button').on('click', function(e) { if (moment(jsonData.best_before_date).isBefore(CurrentProductDetails.next_due_date)) { - toastr.warning(__t("There are items in stock which are due earlier")); + toastr.warning(__t("This is due earlier than already in-stock items")); } }