From: Joe Hunt Date: Wed, 14 Mar 2018 13:37:33 +0000 (+0100) Subject: Wrong error message in Save Items. X-Git-Tag: v2.4.4~4 X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=99925cb37085cf4e4f3ec09db878b3cc0c0d41a0;p=fa-stable.git Wrong error message in Save Items. --- 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.')