projects
/
fa-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b1c2fa3
)
Wrong error message in Save Items.
author
Joe Hunt
<joe.hunt.consulting@gmail.com>
Wed, 14 Mar 2018 13:37:33 +0000
(14:37 +0100)
committer
Joe Hunt
<joe.hunt.consulting@gmail.com>
Wed, 14 Mar 2018 13:37:33 +0000
(14:37 +0100)
inventory/includes/db/items_db.inc
patch
|
blob
|
history
diff --git
a/inventory/includes/db/items_db.inc
b/inventory/includes/db/items_db.inc
index df28cfee92a85c87285bd95a29c8ddfd2963ab3f..fa3d21a282efd2ae06aa37da3bb7401bfd741204 100644
(file)
--- 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 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.')
"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.')