Fixed a layout bug in footer.inc
[fa-stable.git] / inventory / includes / item_adjustments_ui.inc
index bf88c7dae5f7c41690e6997666a0a7a1d81d4337..28f38f0a0723abd90d8c8130922e51e0762b27a1 100644 (file)
@@ -35,7 +35,7 @@ function display_order_header(&$order)
        echo "<table>"; // inner table
 
        locations_list_row(_("Location:"), 'StockLocation', null);
-       ref_row(_("Reference:"), 'ref', references::get_next(systypes::inventory_adjustment()));
+       ref_row(_("Reference:"), 'ref', '', references::get_next(systypes::inventory_adjustment()));
 
        echo "</table>"; // inner table
 
@@ -149,7 +149,7 @@ function adjustment_edit_item_controls(&$order, $stock_id=null)
                $_POST['units'] = $item_info["units"];
        }
 
-       amount_cells(null, 'qty', $_POST['qty']);
+       qty_cells(null, 'qty', $_POST['qty']);
 
        label_cell($_POST['units']);
        amount_cells(null, 'std_cost', $_POST['std_cost']);