projects
/
textcart.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac3d738
)
[0000712] Work Order issue with 0 qty is accepted
author
Joe Hunt
<joe.hunt.consulting@gmail.com>
Tue, 12 Apr 2011 13:40:54 +0000
(15:40 +0200)
committer
Joe Hunt
<joe.hunt.consulting@gmail.com>
Tue, 12 Apr 2011 13:40:54 +0000
(15:40 +0200)
manufacturing/work_order_issue.php
patch
|
blob
|
history
diff --git
a/manufacturing/work_order_issue.php
b/manufacturing/work_order_issue.php
index 236d4ab5c2f02feb2c04ebdae8a330688d8a7a8c..c7d1cd7cc5d43b15b14f31652f880f078e541d01 100644
(file)
--- a/
manufacturing/work_order_issue.php
+++ b/
manufacturing/work_order_issue.php
@@
-136,7
+136,7
@@
if (isset($_POST['Process']) && can_process())
function check_item_data()
{
- if (!check_num('qty', 0))
+ if (
input_num('qty') == 0 ||
!check_num('qty', 0))
{
display_error(_("The quantity entered is negative or invalid."));
set_focus('qty');