-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yaml.example
91 lines (89 loc) · 2.51 KB
/
config.yaml.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
--- !Config
api:
api_key: <your toggle api key/token here>
settings:
worktimings: [9, 18]
weekends: [6, 7] # Week starting on Mon (1), Example: Sat (6), Sun (7)
ezve_rounding: 10 # to what base EZVE entries will get rounded
mail_summery_recipients:
holidays:
# Per year holidays, vacation days/periods and sick days/periods
2018:
# Enter the official holidays here as <month>: [<single day>, ...]
Holidays:
1: [1]
3: [30]
4: [2]
5: [1, 10, 21]
10: [3]
12: [25, 26]
# Enter your vacation days/periods here as single days or periods
# <month>: [<single days> or [<first day>, <last day>], ...]
Vacations: # Examples:
1: [5]
4: [3]
8: [[1, 3]]
# Enter your sick days/periods here as single days or periods
# <month>: [<single days> or [<first day>, <last day>], ...]
Sick: # Examples:
2: [[10, 16], 28]
4: [[13, 15]]
projects: !ProjectDict
definitions: # Examples
- !Project
code: sick # predefined sick leave "project"
name: Sick
ccenter: 998 #
- !Project
code: vacations # predefined vacations "project"
name: Vacations
ccenter: 999
- !Project
code: misc
name: Sonstiges
ccenter: 0
- !Project
code: project1
name: Project 1
ccenter: 12345
max: 0.5 # set maximum for EZVE entry. Remaining work will be distributed to the other projects
- !Project
code: project2
name: Project 2
ccenter: 34567
- !Project
code: project3
name: Project3
ccenter: 56789
- !Project
code: project4
name: Project 4
ccenter: 24680
productivity_mappings: !PMappingDict
mappings:
- !PMapping
code: misc # Project with code "misc" is configured to go 50% in Project 1 and 50% in Project 2
mappings:
- !Mapping
productive_project: project1
fraction: 0.5
- !Mapping
productive_project: project2
fraction: 0.5
- !PMapping
code: project3 # Project with code "project3" is configured to go 50% in Project 2 and 50% in Project 3
mappings:
- !Mapping
productive_project: project2
fraction: 0.5
- !Mapping
productive_project: project3
fraction: 0.5
- !PMapping
code: project2 # Project with code "project2" is 100% remapped to Project 1
mappings:
- !Mapping
productive_project: project1
fraction: 1.0