<nav id="main-menu-navbar" class="navbar-default navbar-static-side" role="navigation">
    <div class="sidebar-collapse">
        <ul class="nav sortable-menu @(PantheonRA.BackOffice.CurrentUser.IsAutoTest ? "autotest-menu": "")" id="side-menu" data-grid-id="side-menu">
            <li data-list-item-id="HeaderLogo" data-sortable="false" class="nav-header">
                @Html.Partial("_HeaderLogos")
            </li>

            @Html.Partial("Navigation/_NavigationDashboard")

            @Html.Partial("Navigation/_NavigationMaterialBusiness")

            @Html.Partial("Navigation/_NavigationCashRegister")

            @Html.Partial("Navigation/_NavigationWholesale")

            @Html.Partial("Navigation/_NavigationTransfer")

            @Html.Partial("Navigation/_NavigationStock")

            @Html.Partial("Navigation/_NavigationMoney")

            @Html.Partial("Navigation/_NavigationHumanResources")

            @Html.Partial("Navigation/_NavigationDocumentsTasks")

            @Html.Partial("Navigation/_NavigationManufacturing")

            @Html.Partial("Navigation/_NavigationManufacturingServices")

            @Html.Partial("Navigation/_NavigationReports")

            @Html.Partial("Navigation/_NavigationCodeList")

            @Html.Partial("Navigation/_NavigationSettings")

            @*@if (PantheonRA.BackOffice.CurrentUser.CanAccess(PantheonRA.WebApi.Contracts.Enums.Permissions.MATERIAL_BUSINESS_TRANSFER))
        {
            <li><a href="@Url.Action("Blank", "ReceivedBills")">@Loc.Transfer</a></li>
        }*@

            @*Cash management - Blagajniško poslovanje - upravljanje novcem*@
            @*@if (PantheonRA.BackOffice.CurrentUser.CanAccess(PantheonRA.WebApi.Contracts.Enums.Permissions.CASH_BUSINESS))
        {
            <li class="@Html.IsSelected("CashRegisterBusiness", "CashRegister")" title="@Loc.CashRegisterNavMenu">
                <a href="@Url.Action("CashRegisterBusiness", "CashRegister")">
                    <i class="fas fa-cash-register"></i> <span class="nav-label">@Loc.CashRegisterNavMenu</span>
                </a>
            </li>
        }*@

            @*Payments - platni proment*@
            @*@if (PantheonRA.BackOffice.CurrentUser.CanAccess(PantheonRA.WebApi.Contracts.Enums.Permissions.PAYMENT_TRANSIT))
        {
            <li class="@Html.IsSelected("Payments", "PaymentTransit")" title="@Loc.PaymentsNavMenu">
                <a href="@Url.Action("Payments", "PaymentTransit")">
                    <i class="far fa-credit-card"></i> <span class="nav-label">@Loc.PaymentsNavMenu</span>
                </a>
            </li>
        }*@

            @*Employees - Zaposleni*@
            @*@if (PantheonRA.BackOffice.CurrentUser.CanAccess(PantheonRA.WebApi.Contracts.Enums.Permissions.EMPLOYEES))
        {
            <li class="dropdown @Html.IsSelected("Index", "Employees") @Html.IsSelected("Create", "Employees") @Html.IsSelected("Edit", "Employees")
                 @Html.IsSelected("Salary", "Employees")" title="@Loc.EmployeesNavMenu">
                <a href="@Url.Action("Index", "Employees")">
                    <i class="fas fa-clipboard-user"></i> <span class="nav-label">@Loc.EmployeesNavMenu</span>
                </a>
                <ul class="dropdown-menu dropdown-menu-right">
                    @if (PantheonRA.BackOffice.CurrentUser.CanAccess(PantheonRA.WebApi.Contracts.Enums.Permissions.EMPLOYEES_EMPLOYEES))
                    {
                        <li><a href="@Url.Action("Index", "Employees")">@Loc.EmployeesList</a></li>
                    }
                    @if (PantheonRA.BackOffice.CurrentUser.CanAccess(PantheonRA.WebApi.Contracts.Enums.Permissions.EMPLOYEES_PAYCHECK))
                    {
                        <li><a href="@Url.Action("Salary", "Employees")">@Loc.PaySlips</a></li>
                    }
                </ul>
            </li>
        }*@

            @*Travel orders - Potni nalogi*@
            @*@if (PantheonRA.BackOffice.CurrentUser.CanAccess(PantheonRA.WebApi.Contracts.Enums.Permissions.TRAVEL_ORDERS))
        {
            <li class="dropdown @Html.IsSelected("TravelOrders", "TravelOrders") @Html.IsSelected("MyTrips", "TravelOrders") @Html.IsSelected("Vehicles", "TravelOrders")">
                <a href="@Url.Action("TravelOrders", "TravelOrders")">
                    <i class="fas fa-car"></i> <span class="nav-label">@Loc.TravelOrdersNavMenu</span>
                </a>
                <ul class="dropdown-menu dropdown-menu-right d">
                    <li><a href="@Url.Action("TravelOrders", "TravelOrders")">@Loc.MenuTravelOrders</a></li>
                    <li><a href="@Url.Action("MyTrips", "TravelOrders")">@Loc.MenuMyTrips</a></li>
                    <li><a href="@Url.Action("Vehicles", "TravelOrders")">@Loc.MenuVehicles</a></li>
                    <li><a href="@Url.Action("Index", "Employees")">@Loc.MenuEmployees</a></li>
                </ul>
            </li>
        }*@
        </ul>
    </div>
    @Html.Partial("_FooterNew")
</nav>