X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=purchasing%2Fsupplier_credit_grns.php;h=373e7676762d3dab7572de075662a01cb71ace8d;hb=0b0690657989cd259e5966faaac7cacbfa89cee2;hp=3d18c98ae93c451f8e0d1f01a33277297b8b783f;hpb=d34add5e762a470a52fade37173b4491462ee22a;p=fa-stable.git diff --git a/purchasing/supplier_credit_grns.php b/purchasing/supplier_credit_grns.php index 3d18c98a..373e7676 100644 --- a/purchasing/supplier_credit_grns.php +++ b/purchasing/supplier_credit_grns.php @@ -32,12 +32,14 @@ function check_data() if (!check_num('This_QuantityCredited', 0)) { display_error(_("The quantity to credit must be numeric and greater than zero.")); + set_focus('This_QuantityCredited'); return false; } if (!check_num('ChgPrice', 0)) { display_error(_("The price is either not numeric or negative.")); + set_focus('ChgPrice'); return false; }