projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added invoice preselection option.
[fa-stable.git]
/
purchasing
/
po_entry_items.php
diff --git
a/purchasing/po_entry_items.php
b/purchasing/po_entry_items.php
index d25cba3ca8a6eae92c6fddfbe295dc9d4a69637b..5a7958d28d9295ba6941b311c6f481dcc2bc4388 100644
(file)
--- a/
purchasing/po_entry_items.php
+++ b/
purchasing/po_entry_items.php
@@
-218,14
+218,11
@@
function handle_add_new_item()
{
foreach ($_SESSION['PO']->line_items as $order_item)
{
{
foreach ($_SESSION['PO']->line_items as $order_item)
{
-
/* do a loop round the items on the order to see that the item
is not already on this order */
/* do a loop round the items on the order to see that the item
is not already on this order */
- if (($order_item->stock_id == $_POST['stock_id']) &&
- ($order_item->Deleted == false))
+ if (($order_item->stock_id == $_POST['stock_id']))
{
{
- $allow_update = false;
- display_error(_("The selected item is already on this order."));
+ display_warning(_("The selected item is already on this order."));
}
} /* end of the foreach loop to look for pre-existing items of the same code */
}
}
} /* end of the foreach loop to look for pre-existing items of the same code */
}