Eliminated non-static method calls and other bulk fixes to fix php5 warnings
[fa-stable.git] / inventory / view / view_transfer.php
index 0c448712919feff4400379e51affc2886e935523..85c0ae85d4699bc3585bbcd1df3fb3be2fd7f476 100644 (file)
@@ -30,7 +30,7 @@ $transfer_items = get_stock_transfer($trans_no);
 $from_trans = $transfer_items[0];
 $to_trans = $transfer_items[1];
 
-display_heading(systypes::name(systypes::location_transfer()) . " #$trans_no");
+display_heading($systypes_array[ST_LOCTRANSFER] . " #$trans_no");
 
 echo "<br>";
 start_table("$table_style2 width=90%");
@@ -47,7 +47,7 @@ label_cells(_("Adjustment Type"), $adjustment_type['name'], "class='tableheader2
 label_cells(_("Date"), sql2date($from_trans['tran_date']), "class='tableheader2'");
 end_row();
 
-comments_display_row(systypes::location_transfer(), $trans_no);
+comments_display_row(ST_LOCTRANSFER, $trans_no);
 
 end_table(1);
 
@@ -56,7 +56,7 @@ start_table("$table_style width=90%");
 
 $th = array(_("Item"), _("Description"), _("Quantity"), _("Units"));
 table_header($th);
-$transfer_items = get_stock_moves(systypes::location_transfer(), $trans_no);
+$transfer_items = get_stock_moves(ST_LOCTRANSFER, $trans_no);
 $k = 0;
 while ($item = db_fetch($transfer_items))
 {
@@ -74,7 +74,7 @@ while ($item = db_fetch($transfer_items))
 
 end_table(1);
 
-is_voided_display(systypes::location_transfer(), $trans_no, _("This transfer has been voided."));
+is_voided_display(ST_LOCTRANSFER, $trans_no, _("This transfer has been voided."));
 
 end_page(true);
 ?>
\ No newline at end of file