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