Get export working for Vehicle Service
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
@{
|
||||
ViewBag.Title = "Vehicle Service";
|
||||
var grid = new WebGrid(Model.ServiceItems, rowsPerPage: 45);
|
||||
var queryParams = new { Model.Year, Model.Month, Model.MonthRange };
|
||||
}
|
||||
|
||||
@section Scripts {
|
||||
@@ -29,7 +30,7 @@
|
||||
|
||||
<div class="btn-toolbar pull-left">
|
||||
@Html.ActionLink("Add Service", "Create", null, new{@class="btn"})
|
||||
@Html.ActionLink("Export", "Export", null, new{@class="btn"})
|
||||
@Html.ActionLink("Export", "Export", queryParams, new{@class="btn"})
|
||||
</div>
|
||||
|
||||
@grid.GetHtml(columns:
|
||||
|
||||
Reference in New Issue
Block a user