<li class="nav-item @if(str_contains(Route::currentRouteName(), 'orders')) active @endif">
    <a class="collapsed" href="{{ route(activeGuard().'.orders.index') }}">
        <span class="icon text-center">
            <i style="width: 20px;" class="fa-solid fa-box-open mx-2"></i>
        </span>
        <span class="text">{{ __('trans.orders') }}</span>
    </a>
</li>
<li class="d-none nav-item @if(str_contains(Route::currentRouteName(), 'sales-report')) active @endif">
    <a class="collapsed" href="{{ route(activeGuard().'.sales-report') }}">
        <span class="icon text-center">
            <i style="width: 20px;" class="fa-solid fa-box-open mx-2"></i>
        </span>
        <span class="text">{{ __('trans.salesReport') }}</span>
    </a>
</li>
@if(hasPermission('add_orders'))
<li class="d-none nav-item @if(str_contains(Route::currentRouteName(), 'orders/')) active @endif">
    <a class="collapsed" href="{{ route(activeGuard().'.orders.create') }}">
        <span class="icon text-center">
            <i style="width: 20px;" class="fa-solid fa-box-open mx-2"></i>
        </span>
        <span class="text">POS</span>
    </a>
</li>
@endif