@using PAW.Contracts.Enums;
@using PantheonRA.BackOffice.Models;

@Html.Partial("~/Views/Shared/_TabNavigation.cshtml", new TabNavigationViewModel
{
    Tabs = new List<NavigationtabViewModel>
    {
        new NavigationtabViewModel(Loc.Stock, Url.Action("Stock", "Reports"), Html.IsActive("Stock", "Reports")),
        new NavigationtabViewModel(Loc.RetailReceivedBillsBilling, Url.Action("IssuedInvoicesBilling", "Reports"), 
            Html.IsActive("IssuedInvoicesBilling", "Reports") || Html.IsActive("IssuedInvoicesBillingDiffInPrice", "Reports") || 
            Html.IsActive("IssuedInvoicesBillingKEP", "Reports") || Html.IsActive("TradeRecords", "Reports")),
        new NavigationtabViewModel(Loc.Packaging, Url.Action("Packaging", "Reports"), Html.IsActive("Packaging", "Reports"),
            PantheonRA.BackOffice.CurrentUser.Localization != Localization.Code.SI),
        new NavigationtabViewModel(Loc.OpenItems, Url.Action("Index","OutstandingItems"), Html.IsActive("Index","OutstandingItems")),
        new NavigationtabViewModel(Loc.DebtStructures, Url.Action("Index","DebtStructures"), Html.IsActive("Index","DebtStructures")),
        new NavigationtabViewModel(Loc.AccountCard, Url.Action("Index","AccountCard"), Html.IsActive("Index","AccountCard")),
        new NavigationtabViewModel(Loc.Balances, Url.Action("Balances","Reports"), Html.IsActive("Balances","Reports")),
    }
})
