$js = "";
if ($use_popup_windows)
$js .= get_js_open_window(900, 600);
-page(_("View Sales Invoice"), true, false, "", $js);
+page(_($help_context = "View Sales Invoice"), true, false, "", $js);
if (isset($_GET["trans_no"]))
is_voided_display(ST_SALESINVOICE, $trans_id, _("This invoice has been voided."));
-end_page(true);
+end_page(true, false, false, ST_SALESINVOICE, $trans_id);
?>
\ No newline at end of file