<?php
declare(strict_types=1);

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

PermissionRegistry::register('sessions', [
    'session.view'       => ['ar' => 'عرض الحصص التدريبية',       'en' => 'View Training Sessions'],
    'session.manage'     => ['ar' => 'إدارة الحصص التدريبية',     'en' => 'Manage Training Sessions'],
    'session.attendance' => ['ar' => 'تسجيل الحضور والغياب', 'en' => 'Record Session Attendance'],
]);

MenuRegistry::register('sessions', [
    'label_ar'   => 'الحصص التدريبية',
    'icon'       => 'calendar-days',
    'route'      => '/sessions',
    'permission' => 'session.view',
    'order'      => 400,
    'parent'     => 'sports_activities',
]);
