<< journalmode << | Table Of Contents | >> leaves >> |
Keyword | leaveallowance |
Purpose | Add or subtract leave allowances. Currently, only allowances for the annual leaves are supported. Allowances can be negative to deal with expired allowances. The Leaves outside of the project period are silently ignored and will not be considered in the leave balance calculation. Therefore, leave allowances are only allowed within the project period. |
|
Syntax | leaveallowances annual <date> [-] <value> (min | h | d | w | m | y) [, annual <date> [-] <value> (min | h | d | w | m | y)...] |
|
Arguments | date | See date for details. |
value | A floating point or integer number |
|
min | minutes |
|
h | hours |
|
d | days |
|
w | weeks |
|
m | months |
|
y | years |
|
Context | resource, supplement (resource) |
project "Annual Leave" 2011-12-19 +1y { now 2012-07-01 } leaves holiday "Christmas" 2011-12-24 +3d, holiday "New Year" 2011-12-31 +3d shift s1 "Shift 1" { leaves annual 2011-12-19 +3w, special 2012-01-12 +1d } resource team "Team" { leaveallowances annual 2011-12-19 20d leaves holiday 2012-01-06 resource r1 "R1" { leaves annual 2011-12-19 +3w, special 2012-01-12 +1d } resource r2 "R2" { leaveallowances annual 2012-06-01 -10d leaves sick 2012-01-04 +2d, unpaid 2012-01-10 +3d } } resource r3 "R3" { shifts s1 2011-12-19 +3w leaves sick 2012-01-04 +2d } task "foo" resourcereport "." { formats html columns name, annualleave, annualleavebalance, sickleave, specialleave, unpaidleave }
<< journalmode << | Table Of Contents | >> leaves >> |