MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the License here <http://www.gnu.org/licenses/gpl-3.0.html>.
***********************************************************************/
-$page_security =10;
-$path_to_root="..";
+$page_security = 'SA_SETUPCOMPANY';
+$path_to_root = "..";
include($path_to_root . "/includes/session.inc");
-page(_("Company Setup"));
+page(_($help_context = "Company Setup"));
include_once($path_to_root . "/includes/date_functions.inc");
include_once($path_to_root . "/includes/ui.inc");
}
if ($_POST['add_pct'] == "")
$_POST['add_pct'] = -1;
+ if ($_POST['round_to'] <= 0)
+ $_POST['round_to'] = 1;
if ($input_error != 1)
{
update_company_setup($_POST['coy_name'], $_POST['coy_no'],