@if (!PantheonRA.BackOffice.CurrentUser.HasGranules() && PantheonRA.BackOffice.CurrentUser.CanAccess(PantheonRA.WebApi.Contracts.Enums.Permissions.SETTINGS))
{
    <li data-list-item-id="Settings"
        class="@Html.IsSelected("Index", "Company") @Html.IsSelected("Upload", "Certificate") @Html.IsSelected("Index", "Certificate")
                    @Html.IsSelected("Index", "CompanyUnits") @Html.IsSelected("Edit", "CompanyUnits") @Html.IsSelected("Create", "CompanyUnits")
                    @Html.IsSelected("Index", "DocumentType") @Html.IsSelected("Edit", "DocumentType") @Html.IsSelected("Create", "DocumentType")
                    @Html.IsSelected("Index", "FiscalDevice") @Html.IsSelected("Edit", "FiscalDevice") @Html.IsSelected("Create", "FiscalDevice")
                    @Html.IsSelected("Index", "Settings") @Html.IsSelected("Create", "Mailbox") @Html.IsSelected("Edit", "Mailbox")
                    @Html.IsSelected("CashRegisterSettings", "Settings") @Html.IsSelected("WholesaleSettings", "Settings")
                    @Html.IsSelected("Index", "Users") @Html.IsSelected("Edit", "Users") @Html.IsSelected("Create", "Users")
                    @Html.IsSelected("Index", "SetWorkHours") @Html.IsSelected("Create", "SetWorkHours")
                    @Html.IsSelected("Index", "SetCalendarEntryTypeGroups") @Html.IsSelected("Index", "SetCalendarEntryTypes")">
        <a href="@Url.Action("Index", "Company")">
            <i class="fa fa-cog"></i> <span class="nav-label">@Loc.Settings</span>
        </a>
    </li>
}