@@ -110,12 +110,37 @@ <h5>Res #{{ decision.resolutionNumber }}/{{ decision.resolutionYear }}</h5>
110
110
{{ decision.date | momentFormat }}
111
111
< app-no-data *ngIf ="decision.date === null || decision.date === undefined "> </ app-no-data >
112
112
</ div >
113
- < div >
113
+ < div class =" align-right " >
114
114
< span class ="subheading2 "> Decision Maker: </ span >
115
115
{{ decision.decisionMaker?.label }}
116
116
< app-no-data *ngIf ="decision.decisionMaker === null || decision.decisionMaker === undefined "> </ app-no-data >
117
117
</ div >
118
-
118
+ </ div >
119
+ < div class ="component-summary ">
120
+ < div *ngIf ="decision.ceoCriterion ">
121
+ < span class ="subheading2 "> CEO Criterion: </ span >
122
+ {{ decision.ceoCriterion?.label }}
123
+ < ng-container *ngIf ="decision.isTimeExtension || decision.isOther ">  - </ ng-container >
124
+ < ng-container *ngIf ="decision.isTimeExtension "> Time extension</ ng-container >
125
+ < ng-container *ngIf ="decision.isTimeExtension && decision.isOther "> , </ ng-container >
126
+ < ng-container *ngIf ="decision.isOther "> Other</ ng-container >
127
+ </ div >
128
+ </ div >
129
+ < div class ="component-summary ">
130
+ < div *ngIf ="decision.outcome?.code === 'RESC' ">
131
+ < span class ="subheading2 "> Rescinded Date: </ span >
132
+ < ng-container *ngIf ="decision.rescindedDate "> {{ decision.rescindedDate | momentFormat }}</ ng-container >
133
+ < app-no-data *ngIf ="decision.rescindedDate === null || decision.rescindedDate === undefined "> </ app-no-data >
134
+ </ div >
135
+ </ div >
136
+ < div class ="component-summary ">
137
+ < div *ngIf ="decision.outcome?.code === 'RESC' ">
138
+ < span class ="subheading2 "> Rescinded Comment: </ span >
139
+ {{ decision.rescindedComment }}
140
+ < app-no-data *ngIf ="!decision.rescindedComment "> </ app-no-data >
141
+ </ div >
142
+ </ div >
143
+ < div class ="component-summary ">
119
144
< div class ="full-width decision-description ">
120
145
{{ decision.decisionDescription }}
121
146
< app-no-data
@@ -126,7 +151,7 @@ <h5>Res #{{ decision.resolutionNumber }}/{{ decision.resolutionYear }}</h5>
126
151
< ng-container *ngFor ="let component of decision.components; let index = index ">
127
152
< div class ="component-summary ">
128
153
< span class ="subheading2 "> {{ component.applicationDecisionComponentType?.label }} </ span >
129
- {{ getDate(component.uuid) ? 'approved until ' + getDate(component.uuid) : 'approved' }}
154
+ {{ getDate(component.uuid) }}
130
155
< span class ="subheading2 "> Conditions: </ span >
131
156
< ng-container *ngFor ="let condition of getConditions(component.uuid) ">
132
157
< app-application-type-pill class ="status-pill " *ngIf ="condition !== null " [type] ="condition "> </ app-application-type-pill >
@@ -146,6 +171,18 @@ <h5>Res #{{ decision.resolutionNumber }}/{{ decision.resolutionYear }}</h5>
146
171
</ div >
147
172
</ section >
148
173
</ ng-container >
174
+ < div class ="full-width ">
175
+ < div class ="document split " *ngFor ="let document of decision.documents ">
176
+ < div >
177
+ < a (click) ="openFile(decision.uuid, document.uuid, document.fileName) "> {{ document.fileName }}</ a >
178
+ ({{ document.fileSize ? (document.fileSize | filesize) : '' }})
179
+ </ div >
180
+ < button class ="center " mat-button (click) ="openFile(decision.uuid, document.uuid, document.fileName) ">
181
+ < mat-icon > file_download</ mat-icon >
182
+ Download
183
+ </ button >
184
+ </ div >
185
+ </ div >
149
186
</ section >
150
187
< ng-container *ngIf ="isSummary ">
151
188
<!-- Components -->
0 commit comments