@if (hasPermission('notice_read') && hasFeature('notice'))
    <li class="sidebar-menu-item {{ set_menu([route('notice.index')]) }}">
        <a href="javascript:void(0)" class="parent-item-content has-arrow {{ menu_active_by_route(['notice.*']) }}">
            <i class="las la-microphone"></i>
            <span class="on-half-expanded">{{ _trans('comunication.Notice Board') }}</span>
        </a>
        <ul
            class="child-menu-list {{ set_active(['dashboard/announcement/notice', 'dashboard/announcement/notice/create', 'dashboard/announcement/notice/edit*', 'dashboard/announcement/notice/show*']) }}">
            @if (hasPermission('notice_read') && hasFeature('notice'))
                <li
                    class="sidebar-menu-item {{ menu_active_by_route(['notice.index', 'notice.create', 'notice.edit', 'notice.detail']) }}">
                    <a href="{{ route('notice.index') }}">
                        <i class="las la-bullhorn"></i>
                        <span>{{ _trans('common.Notice') }}</span>
                        <span class="badge badge-info d-none fs-6 p-s">5</span>
                    </a>
                </li>
            @endif
        </ul>
    </li>
@endif
