'assets.php', 'contact.php' => 'contacts.php', 'document.php' => 'files.php', 'invoice.php' => 'invoices.php', 'network.php' => 'networks.php', 'project.php' => 'projects.php', 'quote.php' => 'quotes.php', 'rack.php' => 'racks.php', 'recurring_invoice.php' => 'recurring_invoices.php', 'contract.php' => 'contracts.php', 'contract_document.php' => 'contracts.php', 'ticket.php' => 'tickets.php', ]; $client_switch_page = basename($_SERVER['PHP_SELF']); $client_switch_page = $client_switch_pages[$client_switch_page] ?? $client_switch_page; if (!preg_match('/^[a-z_]+\.php$/', $client_switch_page) || !is_file(__DIR__ . "/../$client_switch_page")) { $client_switch_page = 'client_overview.php'; } ?>
= 1; // as the menu below shows them foreach (array_filter([ 'Calendar' => moduleOn('calendar') ? [$num_calendar_events + intval($num_calendar_bookings ?? 0), ['calendar.php']] : null, 'Racks' => $client_nav_docs ? [$num_racks, ['racks.php', 'rack.php']] : null, 'Certificates' => $client_nav_docs ? [$num_certificates, ['certificates.php']] : null, 'Shared Links' => $client_nav_docs ? [$num_shares ?? 0, ['shares.php']] : null, 'Services' => $client_nav_docs ? [$num_services, ['services.php']] : null, 'Trips' => moduleOn('trips') ? [$num_trips, ['trips.php']] : null, ]) as $client_nav_label => [$client_nav_count, $client_nav_pages]) { if (intval($client_nav_count) <= 0 && !in_array($client_nav_page, $client_nav_pages, true)) { $client_nav_quiet[] = $client_nav_label; } } if (count($client_nav_quiet) < 2) { $client_nav_quiet = []; } $client_nav_quiet_attr = function ($label) use ($client_nav_quiet) { return in_array($label, $client_nav_quiet, true) ? ' data-nav-quiet hidden' : ''; }; ?>
  • ">

    Overview

  • ">

    Contacts 0) { ?>

  • ">

    Locations 0) { ?>

  • ">

    Vendors 0) { ?>

  • > ">

    Calendar 0) { ?>

  • ">

    Audit Log

  • = 1) { ?>
  • SUPPORT
  • ">

    Tickets 0) { ?>

  • ">

    Recurring Tickets

  • ">

    Projects

  • INFRASTRUCTURE
  • = 1) { ?>
  • ">

    Assets 0) { ?>

  • ">

    Networks 0) { ?>

  • > ">

    Racks 0) { ?>

  • WEB & SECURITY
  • = 1) { ?>
  • ">

    Credentials 0) { ?>

  • > ">

    Certificates 0) { ?>

  • ">

    Domains 0) { ?>

  • > ">

    Shared Links >

  • DOCUMENTATION
  • ">

    Licenses 0) { ?>

  • > ">

    Services 0) { ?>

  • ">

    Files 0) { ?>

  • BILLING
  • = 1) { ?>
  • ">

    Quotes 0) { ?>

  • ">

    Invoices 0) { ?>

  • = 1) { ?>
  • ">

    Unbilled Time

  • ">

    Recurring Invoices

  • ">

    Contracts

  • = 1) { ?>
  • ">

    Income 0) { ?>

  • > ">

    Trips 0) { ?>

  • More