{% extends "layouts/dashboard.twig" %} {% block title %}{{ title }} - {{ platformName }}{% endblock %} {% block content %}

{{ title }}

{{ __('company.details_title') }}
{% if error %} {% endif %}
{% if target_company %} {% endif %} {{ csrf_field()|raw }}
{{ target_company ? target_company.bus_description|raw : '' }}
{% if user.isSuperAdmin() or target_company and target_company.bus_id == 1 %}
{{ __('company.platform_config_title') }}
{{ __('company.platform_name_help') }}
{% endif %}
{{ __('company.ai_agent_config_title') }}
{{ __('company.api_key_help') }}
{% if user.isSuperAdmin() %}
{{ __('company.module_visibility_title') }}
{% if modules %}
{% for module in modules %} {% set isEnabled = false %} {% set showPublic = true %} {% set showDashboard = true %} {% if target_company %} {% for cm in target_company.modules %} {% if cm.modules_id == module.modules_id %} {% set isEnabled = cm.pivot.bus_modules_is_enabled %} {% set showPublic = cm.pivot.bus_modules_show_public_nav %} {% set showDashboard = cm.pivot.bus_modules_show_dashboard_nav %} {% endif %} {% endfor %} {% endif %} {% endfor %}
{{ __('company.module_header') }} {{ __('company.enabled_header') }} {{ __('company.public_navbar_header') }} {{ __('company.dashboard_navbar_header') }}
{{ module.modules_display_name }} {{ module.modules_description }}
{% else %}

{{ __('company.no_active_modules') }}

{% endif %}
{% endif %}
{% if target_company and target_company.bus_logo %}
{{ __('company.current_logo') }} {{ __('company.alt_logo') }}
{% endif %}
{% if target_company and target_company.bus_business_card %}
{{ __('company.current_business_card') }} {{ __('company.alt_business_card') }}
{% endif %}
{{ __('company.cancel') }}
{% endblock %} {% block scripts %} {% endblock %}