Update from usntable branch.
[fa-stable.git] / inventory / includes / stock_transfers_ui.inc
index 729f8c7ac42c1ce88d46fe0780b241309a3307a5..33df8fde7b33981b799ea296124574f1aaebf9c5 100644 (file)
@@ -26,7 +26,7 @@ function add_to_order(&$order, $new_item, $new_item_qty, $standard_cost)
 
 function display_order_header(&$order)
 {
-       global $table_style;
+       global $table_style, $Refs;
 
        start_outer_table("width=70% $table_style");
 
@@ -37,9 +37,9 @@ function display_order_header(&$order)
 
        table_section(2, "33%");
 
-       ref_row(_("Reference:"), 'ref', '', references::get_next(systypes::location_transfer()));
+       ref_row(_("Reference:"), 'ref', '', $Refs->get_next(ST_LOCTRANSFER));
 
-    date_row(_("Date:"), 'AdjDate');
+    date_row(_("Date:"), 'AdjDate', '', true);
 
        table_section(3, "33%");