ressources_humaines:
  enabled: true
  order: 20
  menu:
    label: "Ressources humaines"
    icon: "solar:users-group-rounded-line-duotone"
  submenu:
    planning:
      label: "Plannings"
      icon: "solar:calendar-line-duotone"
      bundle_required: "planning"
      order: 45
      children:
        planning_my:
          label: "Mes plannings"
          icon: "solar:calendar-line-duotone"
          route: "planning_employee_my"
          bundle_required: "planning"
          permissions:
            roles: ["ROLE_SALARIE"]
          order: 1
        planning_my_change_requests:
          label: "Demandes de changement"
          icon: "solar:refresh-square-line-duotone"
          route: "planning_change_request_index"
          bundle_required: "planning"
          planning_setting_required: "allowEmployeeChangeRequests"
          permissions:
            roles: ["ROLE_SALARIE"]
          order: 2
        planning_my_availabilities:
          label: "Disponibilités"
          icon: "solar:calendar-search-line-duotone"
          route: "planning_availability_index"
          bundle_required: "planning"
          planning_setting_required: "allowEmployeeAvailability"
          permissions:
            roles: ["ROLE_SALARIE"]
          order: 3
        planning_dashboard:
          label: "Tableau de bord"
          icon: "solar:chart-square-line-duotone"
          route: "planning_dashboard"
          bundle_required: "planning"
          permissions:
            roles: ["ROLE_SOCIETE_ADMIN", "ROLE_RH", "ROLE_MANAGER"]
          order: 10
        planning_week:
          label: "Vue hebdomadaire"
          icon: "solar:calendar-date-line-duotone"
          route: "planning_week"
          bundle_required: "planning"
          permissions:
            roles: ["ROLE_SOCIETE_ADMIN", "ROLE_RH", "ROLE_MANAGER"]
          order: 20
        planning_change_requests:
          label: "Demandes de changement"
          icon: "solar:refresh-square-line-duotone"
          route: "planning_change_request_index"
          bundle_required: "planning"
          planning_setting_required: "allowEmployeeChangeRequests"
          permissions:
            roles: ["ROLE_SOCIETE_ADMIN", "ROLE_RH", "ROLE_MANAGER"]
          order: 30
        planning_availabilities:
          label: "Disponibilités"
          icon: "solar:calendar-search-line-duotone"
          route: "planning_availability_index"
          bundle_required: "planning"
          planning_setting_required: "allowEmployeeAvailability"
          permissions:
            roles: ["ROLE_SOCIETE_ADMIN", "ROLE_RH", "ROLE_MANAGER"]
          order: 40
        planning_templates:
          label: "Modèles"
          icon: "solar:copy-line-duotone"
          route: "planning_template_index"
          bundle_required: "planning"
          permissions:
            roles: ["ROLE_RH", "ROLE_SOCIETE_ADMIN", "ROLE_SUPER_ADMIN"]
          order: 50
        planning_conflicts:
          label: "Conflits"
          icon: "solar:danger-triangle-line-duotone"
          route: "planning_conflict_index"
          bundle_required: "planning"
          permissions:
            roles: ["ROLE_MANAGER", "ROLE_RH", "ROLE_SOCIETE_ADMIN", "ROLE_SUPER_ADMIN"]
          order: 60
        planning_exports:
          label: "Exports"
          icon: "solar:export-line-duotone"
          route: "planning_export_index"
          bundle_required: "planning"
          permissions:
            roles: ["ROLE_PAIE", "ROLE_RH", "ROLE_SOCIETE_ADMIN", "ROLE_SUPER_ADMIN"]
          order: 70
        planning_settings:
          label: "Paramètres"
          icon: "solar:settings-line-duotone"
          route: "planning_settings_index"
          bundle_required: "planning"
          permissions:
            roles: ["ROLE_RH", "ROLE_SOCIETE_ADMIN", "ROLE_SUPER_ADMIN"]
          order: 80
