diff --git a/app/timetracking/frontend/wizard.html b/app/timetracking/frontend/wizard.html
index 92c75ae..a7422c6 100644
--- a/app/timetracking/frontend/wizard.html
+++ b/app/timetracking/frontend/wizard.html
@@ -568,7 +568,7 @@
}
// Get hourly rate (customer rate or default)
- const hourlyRate = e.customer_hourly_rate || currentEntry.customer_hourly_rate || defaultHourlyRate;
+ const hourlyRate = e.customer_rate || currentEntry.customer_rate || defaultHourlyRate;
return `
@@ -804,7 +804,7 @@
const response = await fetch(`/api/v1/timetracking/wizard/progress/${currentEntry.customer_id}`);
const progress = await response.json();
- const hourlyRate = currentEntry.customer_hourly_rate || defaultHourlyRate;
+ const hourlyRate = currentEntry.customer_rate || defaultHourlyRate;
document.getElementById('context-hourly-rate').textContent = hourlyRate.toFixed(2) + ' DKK';
// Vis antal registreringer (vi har ikke timer-totaler i progress endpointet)
@@ -1081,7 +1081,7 @@
// Get billable hours and hourly rate from calculation
const billableHours = window.entryBillableHours?.[entryId] || entry.original_hours;
- const hourlyRate = window.entryHourlyRates?.[entryId] || entry.customer_hourly_rate || defaultHourlyRate;
+ const hourlyRate = window.entryHourlyRates?.[entryId] || entry.customer_rate || defaultHourlyRate;
// Get travel checkbox state
const travelCheckbox = document.getElementById(`travel-${entryId}`);