Commit a7ede632 authored by Frank Bergmann's avatar Frank Bergmann

- fixed KPMG error with vacation balance

parent 6d4cec47
......@@ -116,7 +116,7 @@ set vacation_sql "
order by
a.start_date
"
if {"" == $vacation_balance} { set vacation_balance 0 }
if {![info exists vacation_balance] || "" == $vacation_balance} { set vacation_balance 0 }
if {"" == $vacation_days_per_year} { set vacation_days_per_year 0 }
set vacation_days_left [expr $vacation_balance + $vacation_days_per_year]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment