File tree 2 files changed +6
-1
lines changed
2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -98,6 +98,7 @@ private function getConsistencyErrors(TimeTracking $timeTracking) {
98
98
'date ' => date ("Y-m-d " , $ cerr ->timestamp ),
99
99
'userId ' => $ cerr ->userId ,
100
100
'userName ' => $ user ->getRealname (),
101
+ 'userEmail ' => $ user ->getEmail (),
101
102
'severity ' => $ cerr ->getLiteralSeverity (),
102
103
'severityColor ' => $ cerr ->getSeverityColor (),
103
104
'desc ' => $ cerr ->desc );
@@ -106,6 +107,7 @@ private function getConsistencyErrors(TimeTracking $timeTracking) {
106
107
$ missingPerUser [$ cerr ->userId ] = array (
107
108
'userId ' => $ cerr ->userId ,
108
109
'userName ' => $ user ->getRealname (),
110
+ 'userEmail ' => $ user ->getEmail (),
109
111
'missingDays ' => (float )$ cerr ->rawValue ,
110
112
'missingTT ' => (int )1 ,
111
113
);
Original file line number Diff line number Diff line change @@ -20,13 +20,14 @@ <h2>{t}Missing Timetracks{/t}</h2>
20
20
21
21
< div id ="tab_perUser ">
22
22
< span style ="font-weight: normal; font-size: 12px; align: left; "> {$workdays} {t}workdays{/t}</ span >
23
- < div style ="width: 50 %; ">
23
+ < div style ="width: 70 %; ">
24
24
< table class ='datatable_csv ' >
25
25
< thead >
26
26
< tr >
27
27
< th > {t}User{/t}</ th >
28
28
< th > {t}Missing timetracks{/t}</ th >
29
29
< th > {t}Missing days{/t}</ th >
30
+ < th > {t}Email{/t}</ th >
30
31
</ tr >
31
32
</ thead >
32
33
< tbody >
@@ -35,6 +36,7 @@ <h2>{t}Missing Timetracks{/t}</h2>
35
36
< td title ="{$i.userId} "> {$i.userName}</ td >
36
37
< td > {$i.missingTT}</ td >
37
38
< td > {$i.missingDays}</ td >
39
+ < td > {$i.userEmail}</ td >
38
40
</ tr >
39
41
{/foreach}
40
42
</ tbody >
@@ -43,6 +45,7 @@ <h2>{t}Missing Timetracks{/t}</h2>
43
45
< th > </ th >
44
46
< th > {$totalErrors}</ th >
45
47
< th > {$totalMissingDays}</ th >
48
+ < th > </ th >
46
49
</ tr >
47
50
</ tfoot >
48
51
</ table >
You can’t perform that action at this time.
0 commit comments