Skip to content

Commit

Permalink
updated label.
Browse files Browse the repository at this point in the history
  • Loading branch information
hargata committed Aug 31, 2024
1 parent 4a20c81 commit a4b3982
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Controllers/VehicleController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1304,7 +1304,7 @@ public IActionResult GetCostTableForVehicle(int vehicleId, int year = 0)
TaxRecordSum = taxRecords.Sum(x => x.Cost),
UpgradeRecordSum = upgradeRecords.Sum(x => x.Cost),
TotalDistance = totalDistanceTraveled,
DistanceUnit = vehicleData.UseHours ? "Per Hour" : userConfig.UseMPG ? "Per Mile" : "Per Kilometer",
DistanceUnit = vehicleData.UseHours ? "Cost Per Hour" : userConfig.UseMPG ? "Cost Per Mile" : "Cost Per Kilometer",
NumberOfDays = totalDays
};
return PartialView("_CostTableReport", viewModel);
Expand Down
Loading

0 comments on commit a4b3982

Please sign in to comment.