From 99925cb37085cf4e4f3ec09db878b3cc0c0d41a0 Mon Sep 17 00:00:00 2001 From: Joe Hunt Date: Wed, 14 Mar 2018 14:37:33 +0100 Subject: [PATCH] Wrong error message in Save Items. --- inventory/includes/db/items_db.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inventory/includes/db/items_db.inc b/inventory/includes/db/items_db.inc index df28cfee..fa3d21a2 100644 --- a/inventory/includes/db/items_db.inc +++ b/inventory/includes/db/items_db.inc @@ -142,7 +142,7 @@ function item_in_foreign_codes($stock_id) _('Cannot delete this item record because there are bills of material that require this part as a component.'), "SELECT COUNT(*) FROM " .TB_PREF."sales_order_details WHERE stk_code=".db_escape($stock_id) => - _('Cannot delete this item because there are existing purchase order items for it.'), + _('Cannot delete this item because there are existing sales order items for it.'), "SELECT COUNT(*) FROM " .TB_PREF."purch_order_details WHERE item_code=".db_escape($stock_id)=> _('Cannot delete this item because there are existing purchase order items for it.') -- 2.30.2