blob: d82b8bfa750c340baa61b4fd23344f9828ff9469 (
plain)
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
|
Project: {{.Name}}
Grant: {{.Grant}}
Start: {{.Start}}
End: {{.End}}
Beneficiary: {{.Beneficiary}}
# Calendar
{{ range $y, $c := .Calendars }}
{{ $c }}
{{ end }}
{{ range $id, $wp := .Workpackages -}}
## Workpackage {{ $id }}: {{ $wp.Title }}
{{ range $tid, $task := $wp.Tasks }}
{{$task.ID}}: {{ $task.Title }}
Budget: {{ $task.Budget.AsMonth }}
{{ end }}
{{ end }}
| Date | Time | WP's |
|:-----------|---------:|:--------:|
{{- range $d, $e := .Timeline }}
| {{ $d }} | {{ printf "%8s" $e.Total }} | {{ printf "%8s" $e.WPs }} |
{{- end }}
{{- $tl := .Timeline }}{{- $hd := .Holidays }}
# Days
{{ range .Days 2024 03 }}
{{if or .IsWeekend .IsHoliday }}# {{end}}{{.Date}}{{ if .IsHoliday}} ({{ index $hd .Date}}){{end -}}
{{ with .Planned }} Planned: {{ .Total }}{{ end }}{{ with .Worked }} Worked: {{ .Total }}{{end}}
{{- end }}
|