- ref_row(_("Reference:"), 'ref', '', references::get_next(systypes::location_transfer()));
+ ref_row(_("Reference:"), 'ref', '', $Refs->get_next(ST_LOCTRANSFER));
date_row(_("Date:"), 'AdjDate', '', true);
date_row(_("Date:"), 'AdjDate', '', true);
$th = array(_("Item Code"), _("Item Description"), _("Quantity"), _("Unit"), '');
if ( count($order->line_items)) $th[] = '';
table_header($th);
$th = array(_("Item Code"), _("Item Description"), _("Quantity"), _("Unit"), '');
if ( count($order->line_items)) $th[] = '';
table_header($th);