Added 'View Attachments' if any in all popup view windows
[fa-stable.git] / gl / view / bank_transfer_view.php
index 3ae52d961c102edf709e62a37100106d0192a026..a2e0da4b614018df5d90e8bf6eb1abdfaa828e66 100644 (file)
@@ -14,7 +14,7 @@ $path_to_root="../..";
 
 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");
@@ -28,7 +28,7 @@ if (isset($_GET["trans_no"])){
 $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);
@@ -91,5 +91,5 @@ end_table(1);
 
 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