show reject reason for squad leader
parent
7287f6b8a1
commit
7808101c58
|
@ -83,6 +83,7 @@ export interface Award {
|
|||
proposer?: AppUser;
|
||||
date?: number; // since Date.now() returns a number
|
||||
confirmed?: number;
|
||||
rejectReason?: string;
|
||||
}
|
||||
|
||||
export interface Promotion {
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
.table-container {
|
||||
margin-top: 40px;
|
||||
overflow-x: auto;
|
||||
width: 75%;
|
||||
width: 90%;
|
||||
min-width: 800px;
|
||||
padding: 5px;
|
||||
}
|
||||
|
|
|
@ -77,6 +77,7 @@
|
|||
<th class="col-sm-1 ">Antragsteller</th>
|
||||
<th class="col-sm-1 text-right">Datum</th>
|
||||
<th class="col-sm-1 text-center">Status</th>
|
||||
<th class="col-sm-2 text-right">Grund für Ablehnung</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody *ngFor="let award of awards">
|
||||
|
@ -102,6 +103,9 @@
|
|||
<td class="text-center">
|
||||
{{award.confirmed === 0? 'In Bearbeitung' : (award.confirmed === 1? 'Genehmigt' : 'Abgelehnt')}}
|
||||
</td>
|
||||
<td class="text-right">
|
||||
{{award.rejectReason ? award.rejectReason : ''}}
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
|
Loading…
Reference in New Issue