<?php
declare(strict_types=1);

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

PermissionRegistry::register('training', [
    'training.submit_feedback' => ['ar' => 'تقديم تقييم الحصة',  'en' => 'Submit Session Feedback'],
    'training.view_feedback'   => ['ar' => 'عرض تقييمات الحصص', 'en' => 'View Session Feedback'],
]);

MenuRegistry::register('training_feedback', [
    'label_ar'   => 'تقييمات الحصص',
    'label_en'   => 'Session Feedback',
    'icon'       => 'message-square',
    'route'      => null,
    'permission' => 'training.view_feedback',
    'order'      => 401,
    'parent'     => 'sports_activities',
]);
