Added 'View Attachments' if any in all popup view windows
[fa-stable.git] / purchasing / view / view_grn.php
index b47881996db4706b041ab4ea6e6afcd64e5f109c..8336ff2c264b82d5e922123e30391a21669b1ae2 100644 (file)
@@ -18,7 +18,7 @@ include($path_to_root . "/includes/session.inc");
 $js = "";
 if ($use_popup_windows)
        $js .= get_js_open_window(900, 500);
-page(_("View Purchase Order Delivery"), true, false, "", $js);
+page(_($help_context = "View Purchase Order Delivery"), true, false, "", $js);
 
 include($path_to_root . "/purchasing/includes/purchasing_ui.inc");
 
@@ -72,8 +72,8 @@ label_row(_("Total Excluding Tax/Shipping"),  $display_total,
 
 end_table(1);
 
-is_voided_display(25, $_GET['trans_no'], _("This delivery has been voided."));
+is_voided_display(ST_SUPPRECEIVE, $_GET['trans_no'], _("This delivery has been voided."));
 
-end_page(true);
+end_page(true, false, false, ST_SUPPRECEIVE, $_GET['trans_no']);
 
 ?>