ressources_humaines:
  enabled: true
  order: 20
  menu:
    label: "Ressources humaines"
    icon: "solar:users-group-rounded-line-duotone"
  submenu:
    leave:
      label: "Congés"
      icon: "solar:calendar-mark-line-duotone"
      route: "app_leave_dashboard"
      bundle_required: "leave"
      order: 40
      children:
        leave_management:
          label: "Gestion des congés"
          icon: "solar:umbrella-line-duotone"
          route: "app_leave_management"
          bundle_required: "leave"
          order: 5
          permissions:
            roles: ["ROLE_SOCIETE_ADMIN", "ROLE_RH", "ROLE_MANAGER"]
        my_leaves:
          label: "Mes congés"
          icon: "solar:user-check-rounded-line-duotone"
          route: "app_leave_my"
          bundle_required: "leave"
          order: 10
          permissions:
            roles: ["ROLE_SALARIE"]
        leave_new:
          label: "Faire une demande"
          icon: "solar:add-circle-line-duotone"
          route: "app_leave_new"
          bundle_required: "leave"
          order: 15
          permissions:
            roles: ["ROLE_SALARIE"]
        leave_requests:
          label: "Demandes"
          icon: "solar:document-text-line-duotone"
          route: "app_leave_index"
          bundle_required: "leave"
          order: 20
          permissions:
            roles: ["ROLE_SOCIETE_ADMIN", "ROLE_RH", "ROLE_MANAGER"]
        leave_approvals:
          label: "Validations"
          icon: "solar:check-circle-line-duotone"
          route: "app_leave_approvals"
          bundle_required: "leave"
          order: 30
          permissions:
            roles: ["ROLE_SOCIETE_ADMIN", "ROLE_RH", "ROLE_MANAGER"]
        leave_calendar:
          label: "Calendrier"
          icon: "solar:calendar-date-line-duotone"
          route: "app_leave_calendar_index"
          bundle_required: "leave"
          order: 40
          permissions:
            roles: ["ROLE_SOCIETE_ADMIN", "ROLE_RH", "ROLE_MANAGER"]
        leave_balances:
          label: "Compteurs"
          icon: "solar:chart-square-line-duotone"
          route: "app_leave_balance_index"
          bundle_required: "leave"
          order: 50
          permissions:
            roles: ["ROLE_SOCIETE_ADMIN", "ROLE_RH"]
        leave_settings:
          label: "Paramètres congés"
          icon: "solar:settings-line-duotone"
          route: "app_leave_settings_index"
          bundle_required: "leave"
          order: 60
          permissions:
            roles: ["ROLE_SOCIETE_ADMIN", "ROLE_RH"]
