diff --git a/Views/Vehicle/_CostDistanceTableReport.cshtml b/Views/Vehicle/_CostDistanceTableReport.cshtml index 9084f8d..ee6460b 100644 --- a/Views/Vehicle/_CostDistanceTableReport.cshtml +++ b/Views/Vehicle/_CostDistanceTableReport.cshtml @@ -7,9 +7,6 @@ var userLanguage = userConfig.UserLanguage; var hideZero = userConfig.HideZero; var years = Model.CostData.Select(x => x.Year).Distinct(); - if (years.Count() > 5){ - years = years.Take(5); //if there is more than 5 years of data then we only take the last 5 years. - } var months = Model.CostData.OrderBy(x => x.MonthId).Select(x => x.MonthName).Distinct(); } @if (Model.CostData.Any()) @@ -21,14 +18,14 @@