@using System.Web.Mvc.Html
@using ApacSale.Web.MVC
@model IEnumerable
@{
ViewBag.Title = "Dispatch statistics";
Layout = "~/Views/Shared/_Layout.cshtml";
var timeInterval = ViewBag.ChartTimeInterval;
}
@section topMenu
{
@if (timeInterval == "day" || string.IsNullOrEmpty(timeInterval))
{
@Html.ActionLink("Weekly", "DcDispatchStatistics", new {controller = "DistributionCenter", action = "DcDispatchStatistics", interval = "week"}, new {@class = "top-menu-link"})
}
else
{
@Html.ActionLink("Daily", "DcDispatchStatistics", new {controller = "DistributionCenter", action = "DcDispatchStatistics", interval = "day"}, new {@class = "top-menu-link"})
}
}
@Html.IncludeJSResources()