From b4d2ef79914387e34c8e6cf4a29d4407a60a595d Mon Sep 17 00:00:00 2001 From: m Date: Thu, 2 Apr 2026 10:22:39 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20billableaua=20calculator=20=E2=80=94=20s?= =?UTF-8?q?tep-by-step=20breakdown,=20correct=20labels?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Show the full calculation as a written equation: 365 - 52x2=104 Wochenendtage - Urlaub - Feiertage = Arbeitstage. Fixes "104 Wochenenden" → "52 x 2 = 104 Wochenendtage". --- sites/billableaua.de/index.html | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/sites/billableaua.de/index.html b/sites/billableaua.de/index.html index 6430cf7..a0828d0 100644 --- a/sites/billableaua.de/index.html +++ b/sites/billableaua.de/index.html @@ -402,10 +402,14 @@ } document.getElementById('result').innerHTML = - '' + workingDays + ' Arbeitstage ' + - '(365 − ' + weekends + ' Wochenenden − ' + vacation + ' Urlaub − ' + feiertage + ' Feiertage)
' + + '365 Tage im Jahr
' + + '− 52 × 2 = 104 Wochenendtage
' + + '− ' + vacation + ' Urlaubstage
' + + '− ' + feiertage + ' Feiertage
' + + '
' + + '= ' + workingDays + ' Arbeitstage

' + '' + hours.toLocaleString('de-DE') + ' Stunden ÷ ' + workingDays + ' Tage = ' + - '' + perDayStr + ' Stunden pro Tag.' + + '' + perDayStr + ' Stunden billable pro Tag.' + verdict; }