@using PantheonRA.BackOffice.Models;

@Html.Partial("~/Views/Shared/_TabNavigation.cshtml", new TabNavigationViewModel {
    Tabs = new List<NavigationtabViewModel>
    {
        new NavigationtabViewModel(Loc.SummaryOverview, Url.Action("IssuedBillsSum", "CashRegister"),
            Html.IsActive("IssuedBillsSum", "CashRegister"),
            !PantheonRA.BackOffice.CurrentUser.CanAccess(PantheonRA.WebApi.Contracts.Enums.Permissions.WHOLESALE_INVOICES)),

        new NavigationtabViewModel(Loc.DetailOverview, Url.Action("IssuedBills", "CashRegister"),
            Html.IsActive("IssuedBills", "CashRegister"),
            !PantheonRA.BackOffice.CurrentUser.CanAccess(PantheonRA.WebApi.Contracts.Enums.Permissions.WHOLESALE_INVOICES))
    }
})
