Changed the GL accounts in Manufacturing to go from Cost accounts to Assembly Account...
[fa-stable.git] / manufacturing / work_order_issue.php
index cfd4d19761fb49d3e7d841b78c1155906c5bcb64..7054f94a2f86cd2e12de80a1f3f96ff47968dd17 100644 (file)
@@ -99,7 +99,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;
@@ -211,7 +211,7 @@ echo "<br>";
 
 start_form();
 
-start_table(TABLESTYLE, "width=90%", 10);
+start_table(TABLESTYLE, "width='90%'", 10);
 echo "<tr><td>";
 display_issue_items(_("Items to Issue"), $_SESSION['issue_items']);
 issue_options_controls();