PHP 8.2 rerun of /sales/includes/cart_class.inc. Fixed back to deliver_to.
[fa-stable.git] / purchasing / po_entry_items.php
index 22f383819b0f0ab0980f6a23b11fa808df88032d..f69feb9223d5b34fab555b4537a62d14dd4fb16c 100644 (file)
@@ -96,6 +96,9 @@ if (isset($_GET['AddedID']))
        
        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'])) {
@@ -114,11 +117,11 @@ if (isset($_GET['AddedID']))
        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'])) {
@@ -135,11 +138,11 @@ if (isset($_GET['AddedID']))
        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();  
 }