@using PantheonRA.BackOffice.Models;

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

        new NavigationtabViewModel(Loc.DetailOverview, Url.Action("ReceivedBillsBilling", "ReceivedBills"),
            Html.IsActive("ReceivedBillsBilling", "ReceivedBills"),
            !PantheonRA.BackOffice.CurrentUser.CanAccess(PantheonRA.WebApi.Contracts.Enums.Permissions.MATERIAL_BUSINESS_INVOICES)),
    }
})
