Javascript bugfix in selecting orders as template
[fa-stable.git] / purchasing / manage / suppliers.php
index 82a651c82c5dc5a87046c915fc23b3bff097ac6a..b1866cd1ac47d4896bca3bcae112d640cc99a7b6 100644 (file)
@@ -9,7 +9,6 @@ page(_("Suppliers"));
 //include($path_to_root . "/includes/date_functions.inc");
 
 include($path_to_root . "/includes/ui.inc");
-include($path_to_root . "/includes/data_checks.inc");
 
 check_db_has_tax_groups(_("There are no tax groups defined in the system. At least one tax group is required before proceeding."));
 
@@ -38,6 +37,7 @@ if (isset($_POST['submit']))
        {
                $input_error = 1;
                display_error(_("The supplier name must be entered."));
+               set_focus('supp_name');
        }
 
        if ($input_error !=1 )