Merge pull request #79 from hargata/Hargata/vehicle.history

order by chronological and then by odometer
This commit is contained in:
Hargata Softworks
2024-01-12 15:26:38 -07:00
committed by GitHub
2 changed files with 9 additions and 2 deletions

View File

@@ -742,7 +742,7 @@ namespace CarCareTracker.Controllers
Cost = x.Cost,
DataType = ImportMode.TaxRecord
}));
vehicleHistory.VehicleHistory = reportData;
vehicleHistory.VehicleHistory = reportData.OrderBy(x=>x.Date).ThenBy(x=>x.Odometer).ToList();
return PartialView("_VehicleHistory", vehicleHistory);
}
[HttpPost]

View File

@@ -48,7 +48,7 @@ html {
display:block !important;
}
.vehicleDetailTabContainer {
background-color: #fff;
background-color: #fff !important;
height: 100%;
width: 100%;
position: absolute;
@@ -60,16 +60,22 @@ html {
color: #000 !important;
overflow: visible;
}
table {
background-color: #fff !important;
}
ul {
border: 0px !important;
background-color: #fff !important;
}
li {
color: #000 !important;
border: 0px !important;
background-color: #fff !important;
}
td {
color: #000 !important;
border: hidden;
background-color: #fff !important;
}
td.col-1 {
@@ -85,6 +91,7 @@ html {
th {
color: #000 !important;
background-color: #fff !important;
}
tr{