hyperlink_no_params($path_to_root."/purchasing/inquiry/po_search.php", _("Select An &Outstanding Purchase Order"));
+ hyperlink_params("$path_to_root/admin/attachments.php", _("Add an Attachment"),
+ "filterType=$trans_type&trans_no=$order_no");
+
display_footer_exit();
} elseif (isset($_GET['AddedGRN'])) {
hyperlink_params("$path_to_root/purchasing/supplier_invoice.php",
_("Entry purchase &invoice for this receival"), "New=1");
+ hyperlink_params($_SERVER['PHP_SELF'], _("Enter &Another GRN"), "NewGRN=Yes");
+
hyperlink_params("$path_to_root/admin/attachments.php", _("Add an Attachment"),
"filterType=$trans_type&trans_no=$trans_no");
- hyperlink_params($_SERVER['PHP_SELF'], _("Enter &Another GRN"), "NewGRN=Yes");
-
display_footer_exit();
} elseif (isset($_GET['AddedPI'])) {
hyperlink_params("$path_to_root/purchasing/supplier_payment.php", _("Entry supplier &payment for this invoice"),
"trans_type=$trans_type&PInvoice=".$trans_no);
+ hyperlink_params($_SERVER['PHP_SELF'], _("Enter &Another Direct Invoice"), "NewInvoice=Yes");
+
hyperlink_params("$path_to_root/admin/attachments.php", _("Add an Attachment"),
"filterType=$trans_type&trans_no=$trans_no");
- hyperlink_params($_SERVER['PHP_SELF'], _("Enter &Another Direct Invoice"), "NewInvoice=Yes");
-
display_footer_exit();
}