Fixed a layout bug in footer.inc
[fa-stable.git] / inventory / includes / stock_transfers_ui.inc
index c0395af47b3ad1ae95709e9b6618446066776d53..2cbfc7cc1999d29c203c647ec0e471781e923936 100644 (file)
@@ -43,7 +43,7 @@ function display_order_header(&$order)
 
        echo "<table>";
 
-       ref_row(_("Reference:"), 'ref', references::get_next(systypes::location_transfer()));
+       ref_row(_("Reference:"), 'ref', '', references::get_next(systypes::location_transfer()));
 
     date_row(_("Date:"), 'AdjDate');
 
@@ -124,7 +124,7 @@ function transfer_edit_item_controls(&$order, $stock_id=null)
        else
        {
        echo "<TD colspan=2>";
-       stock_costable_items_list('stock_id', $_POST['stock_id'], false, true);
+       stock_costable_items_list('stock_id', null, false, true);
        echo "</TD>";
 
        $item_info = get_item_edit_info($_POST['stock_id']);
@@ -134,7 +134,7 @@ function transfer_edit_item_controls(&$order, $stock_id=null)
        }
 
 
-       small_amount_cells(null, 'qty', $_POST['qty']);
+       small_qty_cells(null, 'qty', $_POST['qty']);
        label_cell($_POST['units']);
 
        if (isset($_GET['Edit']))