Cleanups in price/cost/reorder levels pages.
[fa-stable.git] / inventory / adjustments.php
index 384dd30ce63bb4adc2e674a1f509b56b44a3420c..18f26096f98c27f8fdad4536f12d5f8042fa120e 100644 (file)
@@ -47,6 +47,8 @@ if (isset($_GET['AddedID']))
 
        hyperlink_no_params($_SERVER['PHP_SELF'], _("Enter &Another Adjustment"));
 
+       hyperlink_params("$path_to_root/admin/attachments.php", _("Add an Attachment"), "filterType=$trans_type&trans_no=$trans_no");
+
        display_footer_exit();
 }
 //--------------------------------------------------------------------------------------------------
@@ -67,8 +69,6 @@ function handle_new_order()
                unset ($_SESSION['adj_items']);
        }
 
-    //session_register("adj_items");
-
     $_SESSION['adj_items'] = new items_cart(ST_INVADJUST);
        $_POST['AdjDate'] = new_doc_date();
        if (!is_date_in_fiscalyear($_POST['AdjDate']))