Settings > Company Details, Offices * (functions/offices.php; saved by save_office and taken away by remove_office * in admin/post/office.php). ?office_id= to change one. */ require_once '../../includes/modal_header.php'; $office_id = intval($_GET['office_id'] ?? 0); $office = $office_id ? office($office_id) : null; $office_id = $office ? $office_id : 0; $company = billingCompany(); $localization = settingsLocalizationArrays(); $agents = officeAgents(); $people = officePeople(); $offices = officesAll(); $office_country = (string) ($office['country'] ?? $company['company_country'] ?? ''); $phone_code = (string) ($office['phone_country_code'] ?? $company['company_phone_country_code'] ?? ''); ob_start(); if (!officesReady()) { ?>