mirror of
https://github.com/Garmelon/Arbeitszeitdokumentationsgenerator.git
synced 2026-04-12 00:35:04 +02:00
Fix default type for paid leave
This commit is contained in:
parent
fdffbcab79
commit
c6551373ab
1 changed files with 1 additions and 1 deletions
|
|
@ -483,7 +483,7 @@
|
|||
}
|
||||
|
||||
let monthly = duration(hours: monthly_hours)
|
||||
let holiday = entries.filter(e => e.note == notes.Urlaub).map(e => e.duration).sum(default: 0)
|
||||
let holiday = entries.filter(e => e.note == notes.Urlaub).map(e => e.duration).sum(default: duration(seconds: 0))
|
||||
let total = entries.map(e => e.duration).sum(default: duration())
|
||||
let carry_next_month = carry_prev_month + total - monthly
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue