Added 'View Attachments' if any in all popup view windows
[fa-stable.git] / purchasing / view / view_supp_credit.php
index 79e6e5b9b9d7ddf3bc80d22857559f4c02ce4a23..9313484799bd487f07c0e6789df99678049ff8c9 100644 (file)
@@ -20,7 +20,7 @@ include_once($path_to_root . "/purchasing/includes/purchasing_ui.inc");
 $js = "";
 if ($use_popup_windows)
        $js .= get_js_open_window(900, 500);
-page(_("View Supplier Credit Note"), true, false, "", $js);
+page(_($help_context = "View Supplier Credit Note"), true, false, "", $js);
 
 if (isset($_GET["trans_no"]))
 {
@@ -75,6 +75,6 @@ if (!$voided)
        display_allocations_from(PT_SUPPLIER, $supp_trans->supplier_id, ST_SUPPCREDIT, $trans_no, -($supp_trans->ov_amount + $supp_trans->ov_gst));
 }
 
-end_page(true);
+end_page(true, false, false, ST_SUPPCREDIT, $trans_no);
 
 ?>
\ No newline at end of file