Adding Attachments to Dimension
authorJoe Hunt <joe.hunt.consulting@gmail.com>
Wed, 9 May 2018 13:38:01 +0000 (15:38 +0200)
committerJoe Hunt <joe.hunt.consulting@gmail.com>
Wed, 9 May 2018 13:38:01 +0000 (15:38 +0200)
dimensions/dimension_entry.php

index f46be106cc12e50b266030a63fe69759cc6cba77..98c1d120974f9a2b4d41faa21bff1e69b2eb685d 100644 (file)
@@ -92,11 +92,11 @@ if (isset($_GET['ReopenedID']))
 
 function safe_exit()
 {
-       global $path_to_root;
+       global $path_to_root, $id;
 
        hyperlink_no_params("", _("Enter a &new dimension"));
-       echo "<br>";
        hyperlink_no_params($path_to_root . "/dimensions/inquiry/search_dimensions.php", _("&Select an existing dimension"));
+    hyperlink_no_params($path_to_root . "/admin/attachments.php?filterType=40&trans_no=$id", _("&Add Attachment"));
 
        display_footer_exit();
 }