@using Leica.Spider.BusinessCenter.Frontend.Utils @using Leica.Spider.BusinessCenter.Frontend.Models @model Leica.Spider.BusinessCenter.Frontend.Areas.User.Models.UsageReportViewModel @{ ViewBag.Title = Lang.Raw("IDS_USAGE_REPORTS_HEADER"); var isConsumer = Session.UserPrivileges == Leica.Spider.BusinessCenter.WCFInterfaces.UserPrivileges.EnterpriseConsumer; } @section styles { @Styles.Render("~/Areas/User/Content/UsageReports") @Styles.Render("~/Content/Leaflet/all") @Styles.Render("~/Content/ConnectionReports/PlotRoverConnections") } @section scripts { @Scripts.Render("~/bundles/jQueryDataTable") @Scripts.Render("~/bundles/UsageReports") @Scripts.Render("~/bundles/ConnectionReports/PlotRoverConnections") }
@if (Model.Subscriptions.Any()) { @if (isConsumer) {
} else {
@foreach (var subscription in Model.Subscriptions) {
Sample Image
@subscription.SubscriptionId
@(subscription.ArticleNumber == null ? "" : subscription.ArticleNumber + ",") @subscription.PackageName
}
}
@Lang.Html("IDS_TABLE_MESSAGES_NODATAAVAILABLE")
{{dateTimeToLocaleDateTime Start}}
{{Duration}}
{{SubscriptionId}} @Lang.Html(isConsumer ? "IDS_CONNECTIONS_VIEW_GRID_COLUMN_HEADER_CONSUMER" : "IDS_CONNECTIONS_VIEW_GRID_COLUMN_HEADER_USER_NAME") {{CredentialName}} {{#if HasDetailedConnectionLog}} {{else}} {{/if}} {{#if HasDetailedConnectionLog}} {{/if}}
} else {
}