Add vehicle filtering for fuellog and vehicle service
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
@{
|
||||
ViewBag.Title = "Vehicle Service";
|
||||
var grid = new WebGrid(Model.ServiceItems, rowsPerPage: 45);
|
||||
var queryParams = new { Model.Year, Model.Month, Model.MonthRange };
|
||||
var queryParams = new { Model.Year, Model.Month, Model.MonthRange, Model.VehicleId };
|
||||
}
|
||||
|
||||
@section Scripts {
|
||||
@@ -19,7 +19,7 @@
|
||||
|
||||
@Html.Partial("_StatusMessage")
|
||||
|
||||
<div class="btn-toolbar pull-right" style="width:400px">
|
||||
<div class="btn-toolbar pull-right" style="width:600px">
|
||||
@using (Html.BeginForm("Index", "VehicleService", FormMethod.Get, new { id = "filter", @class = "form" }))
|
||||
{
|
||||
@Html.EditorForModel()
|
||||
|
||||
Reference in New Issue
Block a user