$js .= get_js_open_window(800, 500);
if ($use_date_picker)
$js .= get_js_date_picker();
-set_focus('CodeID2');
+set_focus('_code_id_edit');
page(_("Bank Account Payment Entry"), false, false, '', $js);
//-----------------------------------------------------------------------------------------------
if (!isset($_POST['Process']))
{
- submit_center_first('Update', _("Update"));
if ($_SESSION['pay_items']->count_gl_items() >= 1)
+ {
+ submit_center_first('Update', _("Update"));
submit_center_last('Process', _("Process Payment"));
+ }
+ else
+ submit_center('Update', _("Update"));
}
end_form();