X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=manufacturing%2Fwork_order_issue.php;h=dfe11060557d844b293b7003ffd3a7d1f4075d00;hb=cfaa5cec1f5137bcc1599a4306879e3265d1dacd;hp=4f7837b444f8736d7bbbb7e1b83e054738a9ae2f;hpb=5e63c6ace55729bbb5ee3b060035a25a4426eb0a;p=fa-stable.git
diff --git a/manufacturing/work_order_issue.php b/manufacturing/work_order_issue.php
index 4f7837b4..dfe11060 100644
--- a/manufacturing/work_order_issue.php
+++ b/manufacturing/work_order_issue.php
@@ -100,7 +100,7 @@ function can_process()
}
$failed_item = $_SESSION['issue_items']->check_qoh($_POST['Location'], $_POST['date_'], !$_POST['IssueType']);
- if ($failed_item != -1)
+ if ($failed_item)
{
display_error(_("The issue cannot be processed because it would cause negative inventory balance for marked items as of document date or later."));
return false;
@@ -212,7 +212,7 @@ echo "
";
start_form();
-start_table(TABLESTYLE, "width=90%", 10);
+start_table(TABLESTYLE, "width='90%'", 10);
echo "