Fix number of days used when calculating cost per day.

This commit is contained in:
DESKTOP-T0O5CDB\DESK-555BD
2025-01-24 10:21:40 -07:00
parent b02f3c8f8b
commit 4c60bb20c9
3 changed files with 23 additions and 3 deletions

View File

@@ -275,6 +275,13 @@ function toggleBarChartTableData() {
$('[report-data="cost"]').removeClass('d-none');
}
}
function toggleCostTableHint() {
if ($(".cost-table-hint").hasClass("d-none")) {
$(".cost-table-hint").removeClass("d-none");
} else {
$(".cost-table-hint").addClass("d-none");
}
}
function updateReminderPie() {
var vehicleId = GetVehicleId().vehicleId;
var daysToAdd = $("#reminderOption").val();