@if (!PantheonRA.BackOffice.CurrentUser.HasGranules() && PantheonRA.BackOffice.CurrentUser.CanAccess(PantheonRA.WebApi.Contracts.Enums.Permissions.CASH_REGISTER))
{
    <li data-list-item-id="CashRegister"
        class="dropdown @Html.IsSelected("Index", "CashRegister") @Html.IsSelected("IssuedBills", "CashRegister") @Html.IsSelected("IssuedBillsSum", "CashRegister") 
            @Html.IsSelected("ReceivedCashDocuments", "CashRegister") @Html.IsSelected("PrintPreview", "Journal") @Html.IsSelected("Index", "Journal") 
            @Html.IsSelected("ReceivedCashDocuments", "Journal")">
        <a href="@Url.Action("Index", "CashRegister")">
            <i class="fas fa-shopping-cart"></i> <span class="nav-label">@Loc.RetailNavMenu</span>
        </a>
        <ul class="dropdown-menu dropdown-menu-right">
            @if (PantheonRA.BackOffice.CurrentUser.CanAccess(PantheonRA.WebApi.Contracts.Enums.Permissions.CASH_REGISTER_CASHIER))
            {
                <li><a href="@Url.Action("Index", "CashRegister")">@Loc.CreateNewInvoice.SetMenuNameLength()</a></li>
            }
            @if (PantheonRA.BackOffice.CurrentUser.CanAccess(PantheonRA.WebApi.Contracts.Enums.Permissions.CASH_REGISTER_INVOICES))
            {
                <li><a href="@Url.Action("IssuedBillsSum", "CashRegister")">@Loc.InvoiceList.SetMenuNameLength()</a></li>
            }
            @if (PantheonRA.BackOffice.CurrentUser.CanAccess(PantheonRA.WebApi.Contracts.Enums.Permissions.CASH_REGISTER_JOURNAL))
            {
                <li><a href="@Url.Action("ReceivedCashDocuments", "CashRegister")">@Loc.MenuConclusionOfTheCashier.SetMenuNameLength()</a></li>
            }
        </ul>
    </li>
}