Settings > Company Details, and falls back to the dashboard otherwise. The * access check keeps a restricted agent from being sent to a client they would only be * bounced off, and costs no query - the permission arrays are already in the session. */ $brand_link = "/agent/dashboard.php"; if (!empty($config_internal_client_id) && lookupUserPermission("module_client") >= 1 && hasClientAccess($config_internal_client_id)) { $brand_link = "/agent/client_overview.php?client_id=" . intval($config_internal_client_id); } /* * The company's mark: the logo from Admin > Settings > Company Details on a light * tile, or the company's initials on the theme colour when there is none (or the * file has gone missing). The tile grows sideways for a wide logo rather than * shrinking it to a postage stamp. The name wraps to two lines, then ellipses - * the full name is in the tooltip. */ $brand_logo = basename((string) ($session_company_logo ?? '')); if ($brand_logo === '' || !is_file(__DIR__ . "/../../uploads/settings/$brand_logo")) { $brand_logo = ''; } $brand_name = escapeHtml($session_company_name); ?>
  • ">

    Dashboard

  • = 1) { ?>
  • ">

    Clients

  • All Client Docs

  • ">

    Vendors

  • ">

    Calendar

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

    Tickets

  • ">

    Recurring Tickets

  • ">

    Projects

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

    Quotes

  • ">

    Invoices

  • = 1) { ?>
  • ">

    Unbilled Time 1 ? array_pop($unbilled_parts) : ''; $unbilled_title = $unbilled_last === '' ? 'Billable tickets done, not invoiced' : implode(', ', $unbilled_parts) . " and $unbilled_last to bill, not invoiced"; ?>

  • ">

    Recurring Invoices

  • ">

    Products

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

    Income

  • ">

    Expenses

  • ">

    Recurring Expenses

  • ">

    Trips

  • = 1) { ?>
  • ">

    Accounts

  • ">

    Transactions

  • ">

    Transfers

  • = 1) { ?>
  • TOOLS
  • Reports

  • class="nav-link ">