include($path_to_root . "/includes/session.inc");
-page(_("View Bank Transfer"), true);
+page(_($help_context = "View Bank Transfer"), true);
include_once($path_to_root . "/includes/date_functions.inc");
include_once($path_to_root . "/includes/ui.inc");
$result = get_bank_trans(ST_BANKTRANSFER, $trans_no);
if (db_num_rows($result) != 2)
- display_db_error("Bank transfer does not contain two records", $sql);
+ display_db_error("Bank transfer does not contain two records");
$trans1 = db_fetch($result);
$trans2 = db_fetch($result);
is_voided_display(ST_BANKTRANSFER, $trans_no, _("This transfer has been voided."));
-end_page(true);
+end_page(true, false, false, ST_BANKTRANSFER, $trans_no);
?>
\ No newline at end of file