/** * CARE2X Integrated Hospital Information System Deployment 2.1 - 2004-10-02 * GNU General Public License * Copyright 2005 Robert Meggle based on the development of Elpidio Latorilla (2002,2003,2004,2005) * elpidio@care2x.org, meggle@merotech.de * * See the file "copy_notice.txt" for the licence notice */ //define('NO_2LEVEL_CHK',1); $lang_tables[] = 'billing.php'; $lang_tables[] = 'aufnahme.php'; require $root_path . 'include/inc_front_chain_lang.php'; require_once $root_path . 'include/care_api_classes/class_tz_insurance.php'; $insurance_tz = new Insurance_tz(); $this_insurance = $insurance_tz->GetInsuranceAsArray($id); if (is_array($insurance_tz->GetContractsForCompanyAsArray($id))) { $SHOW_ADDMEMBER_BUTTON = TRUE; } else { $SHOW_ADDMEMBER_BUTTON = FALSE; } /* * NOTE: For this script is $id = company ID */ if ($mode == "updateflags") { //Error checking if (strlen(trim($name)) < 3) { $error['name'] = true; } if (strlen(trim($contact)) < 3) { $error['contact'] = true; }