Removed obsolete complete parameter.
[fa-stable.git] / purchasing / allocations / supplier_allocate.php
index 4997b2de51255889b3770ad0f853f4a857e641c6..82530c762975bdc51e1651e806f0ceab5fd3cc75 100644 (file)
@@ -26,7 +26,7 @@ if ($use_popup_windows)
 
 add_js_file('allocate.js');
 
-page(_("Allocate Supplier Payment or Credit Note"), false, false, "", $js);
+page(_($help_context = "Allocate Supplier Payment or Credit Note"), false, false, "", $js);
 
 //--------------------------------------------------------------------------------
 
@@ -37,12 +37,14 @@ function clear_allocations()
                unset($_SESSION['alloc']->allocs);
                unset($_SESSION['alloc']);
        }
-       session_register("alloc");
+       //session_register("alloc");
 }
 //--------------------------------------------------------------------------------
 
 function edit_allocations_for_transaction($type, $trans_no)
 {
+       global $systypes_array;
+
        start_form();
 
     display_heading(_("Allocation of") . " " . $systypes_array[$_SESSION['alloc']->type] . " # " . $_SESSION['alloc']->trans_no);