Bug in tax_types_list (spec_id)
[fa-stable.git] / manufacturing / includes / work_order_issue_ui.inc
index c81b779256f4c3b06130858fd639ffa74e7954ba..8d061381f34279c1dcaaa984d370fe9cfbef8040 100644 (file)
@@ -57,7 +57,7 @@ function display_adjustment_items($Title, &$order)
                label_cell("<a target='_blank' href='$path_to_root/inventory/inquiry/stock_status.php?" . SID . "stock_id=" . $stock_item->stock_id . "'>$stock_item->stock_id</a>");
                label_cell($stock_item->item_description);
                qty_cell($stock_item_quantity);
-               if (strlen($stock_item->units)
+               if (strlen($stock_item->units))
                        label_cell($stock_item->units);
                else
                        label_cell("");
@@ -141,7 +141,7 @@ function adjustment_options_controls()
        echo "<br>";
        start_table();
 
-    ref_row(_("Reference:"), 'ref', references::get_next(28));
+    ref_row(_("Reference:"), 'ref', '', references::get_next(28));
 
        if (!isset($_POST['IssueType']))
                $_POST['IssueType'] = 0;