Form submit/escape hotkeys added.
[fa-stable.git] / purchasing / allocations / supplier_allocate.php
index 6a0e83e3247f65692914e0f381ad0f073928d7ce..900f5cc1d1ea3d468affb4ff636b64c882b8b8bd 100644 (file)
@@ -185,7 +185,7 @@ function edit_allocations_for_transaction($type, $trans_no)
 {
        global $table_style;
 
-       start_form(false, true);
+       start_form();
 
     display_heading(_("Allocation of") . " " . systypes::name($_SESSION['alloc']->type) . " # " . $_SESSION['alloc']->trans_no);
 
@@ -249,15 +249,15 @@ function edit_allocations_for_transaction($type, $trans_no)
                hidden('TotalNumberOfAllocs', $counter);
 
        submit_center_first('UpdateDisplay', _("Refresh"), _('Start again allocation of selected amount'), true);
-               submit('Process', _("Process"), true, _('Process allocations'), true);
+               submit('Process', _("Process"), true, _('Process allocations'), 'default');
                submit_center_last('Cancel', _("Back to Allocations"),
-                       _('Abandon allocations and return to selection of allocatable amounts'), true);
+                       _('Abandon allocations and return to selection of allocatable amounts'), 'cancel');
        }
        else
        {
        display_note(_("There are no unsettled transactions to allocate."), 0, 1);
                submit_center('Cancel', _("Back to Allocations"), true,
-                       _('Abandon allocations and return to selection of allocatable amounts'), true);
+                       _('Abandon allocations and return to selection of allocatable amounts'), 'cancel');
     }
 
        div_end();