Add vehicle filtering for fuellog and vehicle service
This commit is contained in:
@@ -22,6 +22,7 @@ namespace MileageTraker.Web.ViewModels.FuelLog
|
||||
public string Month { get; set; }
|
||||
public string MonthRange { get; set; }
|
||||
public bool Unmatched { get; set; }
|
||||
public string TagNumber { get; set; }
|
||||
|
||||
public FuelLogResultsViewModel(
|
||||
IEnumerable<FuelLogIndexViewModel> fuelLogs,
|
||||
@@ -34,6 +35,7 @@ namespace MileageTraker.Web.ViewModels.FuelLog
|
||||
Month = query.Month.HasValue ? query.Month.Value.ToString(CultureInfo.InvariantCulture) : string.Empty;
|
||||
MonthRange = query.MonthRange.HasValue ? query.MonthRange.Value.ToString(CultureInfo.InvariantCulture) : string.Empty;
|
||||
Unmatched = query.Unmatched;
|
||||
TagNumber = query.TagNumber;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user