Get export working for Vehicle Service

This commit is contained in:
2015-10-12 20:11:02 -04:00
parent e008bc2242
commit d87f654a20
5 changed files with 30 additions and 8 deletions
+2 -2
View File
@@ -4,7 +4,7 @@
@{
ViewBag.Title = "Fuel Logs";
var grid = new WebGrid(Model.FuelLogs, rowsPerPage: 45);
var parameters = new {FiscalYear = Model.Year, Model.Month, Model.Unmatched};
var queryParams = new {FiscalYear = Model.Year, Model.Month, Model.Unmatched};
}
@section Scripts {
@@ -31,7 +31,7 @@
<div class="btn-toolbar clearfix">
@Html.ActionLink("Import", "ImportUpload", null, new { @class = "btn" })
@Html.ActionLink("Export", "Export", parameters, new { @class = "btn" })
@Html.ActionLink("Export", "Export", queryParams, new { @class = "btn" })
</div>
<div>