<?php
declare(strict_types=1);

use App\Core\Registries\PermissionRegistry;
use App\Core\Registries\MenuRegistry;

PermissionRegistry::register('coaches', [
    'coach.view'             => ['ar' => 'عرض المدربين',         'en' => 'View Coaches'],
    'coach.manage'           => ['ar' => 'إدارة المدربين',       'en' => 'Manage Coaches'],
    'coach.rate'             => ['ar' => 'تقييم المدربين',       'en' => 'Rate Coaches'],
    'coach.manage_ratings'   => ['ar' => 'إدارة تقييمات المدربين','en' => 'Manage Coach Ratings'],
    'coach.view_performance' => ['ar' => 'عرض أداء المدربين',    'en' => 'View Coach Performance'],
]);

MenuRegistry::register('coaches', [
    'label_ar'   => 'المدربين',
    'icon'       => 'users',
    'route'      => '/coaches',
    'permission' => 'coach.view',
    'order'      => 397,
    'parent'     => 'sports_activities',
]);

MenuRegistry::register('coach_ratings', [
    'label_ar'   => 'تقييمات المدربين',
    'icon'       => 'star',
    'route'      => '/coach-ratings',
    'permission' => 'coach.rate',
    'order'      => 398,
    'parent'     => 'sports_activities',
]);

MenuRegistry::register('coach_performance', [
    'label_ar'   => 'أداء المدربين',
    'icon'       => 'bar-chart-3',
    'route'      => '/coach-performance',
    'permission' => 'coach.view_performance',
    'order'      => 399,
    'parent'     => 'sports_activities',
]);
