refactor: perform cleanup
All checks were successful
Go CI Pipeline / ci (push) Successful in 28s
Release Builds / GoReleaser build (push) Successful in 1m7s

This commit is contained in:
Patryk Hegenberg 2025-06-30 08:07:53 +02:00
parent d8743e54c1
commit 54979319ff
7 changed files with 13 additions and 45 deletions

View file

@ -441,11 +441,10 @@ func writeExcelSheet(entries []ExcelEntry, name string) error {
f.SetCellValue(sheetName, "D"+rowStr, "")
f.MergeCell(sheetName, "D"+rowStr, "I"+rowStr)
f.SetCellStyle(sheetName, "D"+rowStr, "I"+rowStr, centerStyle)
// J: Netto ist 0
f.SetCellValue(sheetName, "J"+rowStr, 0.0)
f.SetCellStyle(sheetName, "J"+rowStr, "J"+rowStr, saldoStyle)
default: // Unbekannte Tags oder Tage ohne Eintrag
default:
f.SetCellValue(sheetName, "J"+rowStr, 0.0)
f.SetCellStyle(sheetName, "J"+rowStr, "J"+rowStr, saldoStyle)
}