1 |
696f3358
|
Václav Jirák
|
<div class="days-off-approval-container">
|
2 |
|
|
|
3 |
|
|
<div class="component-header">
|
4 |
230804d9
|
Václav Jirák
|
{{'vacationApproval.headline' | translate}}
|
5 |
696f3358
|
Václav Jirák
|
</div>
|
6 |
|
|
|
7 |
|
|
<table class="table text-center table-hover">
|
8 |
|
|
<thead class="thead-light">
|
9 |
|
|
<tr>
|
10 |
230804d9
|
Václav Jirák
|
<th scope="col"> {{'basic.name' | translate}}</th>
|
11 |
|
|
<th scope="col"> {{'vacationApproval.requestDate' | translate}}</th>
|
12 |
|
|
<th scope="col"> {{'basic.vacationType' | translate}} </th>
|
13 |
|
|
<th scope="col"> {{'basic.date' | translate}} </th>
|
14 |
|
|
<th scope="col"> {{'basic.from' | translate}} </th>
|
15 |
|
|
<th scope="col"> {{'basic.to' | translate}} </th>
|
16 |
696f3358
|
Václav Jirák
|
<th></th>
|
17 |
|
|
</tr>
|
18 |
|
|
</thead>
|
19 |
|
|
<tbody>
|
20 |
|
|
<tr *ngFor="let request of vacationRequests">
|
21 |
|
|
<td>
|
22 |
|
|
{{request.firstName}} {{request.lastName}}
|
23 |
|
|
</td>
|
24 |
|
|
<td>
|
25 |
|
|
{{request.timestamp | date:'yyyy/MM/dd HH:mm'}}
|
26 |
|
|
</td>
|
27 |
|
|
<td>
|
28 |
230804d9
|
Václav Jirák
|
{{request.type | translate}}
|
29 |
696f3358
|
Václav Jirák
|
</td>
|
30 |
|
|
<td>
|
31 |
|
|
{{request.date | date:'yyyy/MM/dd'}}
|
32 |
|
|
</td>
|
33 |
|
|
<td>
|
34 |
|
|
{{request.from}}
|
35 |
|
|
</td>
|
36 |
|
|
<td>
|
37 |
|
|
{{request.to}}
|
38 |
|
|
</td>
|
39 |
|
|
<td class="buttons">
|
40 |
|
|
<button mat-icon-button (click)="vacationApprovalCompleted(request.id, true)">
|
41 |
|
|
<i class="material-icons approve-btn">done</i>
|
42 |
|
|
</button>
|
43 |
|
|
<button mat-icon-button (click)="vacationApprovalCompleted(request.id, false)">
|
44 |
|
|
<i class="material-icons reject-btn">delete</i>
|
45 |
|
|
</button>
|
46 |
|
|
</td>
|
47 |
|
|
</tr>
|
48 |
|
|
</tbody>
|
49 |
|
|
</table>
|
50 |
|
|
</div>
|