X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=sales%2Fmanage%2Fcredit_status.php;h=6b0ee02d608b233911389da2433b201ff0708edf;hb=d353784c397bcb347ccde807c01487fe126e26a2;hp=f4608d088e3c10d2cef45fc934d287af768868ab;hpb=8259c324f645a39cb847d5a4346b70e225e1b02c;p=fa-stable.git diff --git a/sales/manage/credit_status.php b/sales/manage/credit_status.php index f4608d08..6b0ee02d 100644 --- a/sales/manage/credit_status.php +++ b/sales/manage/credit_status.php @@ -19,6 +19,7 @@ function can_process() if (strlen($_POST['reason_description']) == 0) { display_error(_("The credit status description cannot be empty.")); + set_focus('reason_description'); return false; } @@ -71,8 +72,8 @@ if ($Mode == 'Delete') { delete_credit_status($selected_id); display_notification(_('Selected credit status has been deleted')); - $Mode = 'RESET'; } + $Mode = 'RESET'; } if ($Mode == 'RESET')