feta(deltagare-list): added genomförandereferens as column in deltagare list
Squashed commit of the following:
commit c053e796fb01472b3a6e15764d30f61799d7330d
Merge: 2e2c729f 8ea64c6c
Author: Aden Hassan <aden.hassan@arbetsformedlingen.se>
Date: Tue Nov 2 09:49:46 2021 +0100
Merge branch 'develop' into feature/TV-829
commit 2e2c729ffdc158ae19843fe3923e7937e37e6740
Author: Aden Hassan <aden.hassan@arbetsformedlingen.se>
Date: Mon Nov 1 13:09:39 2021 +0100
minor corrections
commit 306a6aa0a5cf6781fb7031498603c1ba9b36ffc4
Author: Aden Hassan <aden.hassan@arbetsformedlingen.se>
Date: Mon Nov 1 11:50:45 2021 +0100
added genomforandereferens to deltagare list in the table-columns
This commit is contained in:
@@ -53,6 +53,7 @@
|
||||
Avbrott
|
||||
</div>
|
||||
</td>
|
||||
<td>{{ singleDeltagare.genomforandeReferens }}</td>
|
||||
<td>
|
||||
<digi-button
|
||||
class="deltagare-list__handelse-button"
|
||||
|
||||
@@ -46,6 +46,10 @@ export class DeltagareListTableComponent {
|
||||
label: 'Slutdatum',
|
||||
key: 'slutdatumAvrop',
|
||||
},
|
||||
{
|
||||
label: 'Genomförande-referens',
|
||||
key: 'genomforandeReferens',
|
||||
},
|
||||
{
|
||||
label: 'Status',
|
||||
key: 'genomforandeReferens',
|
||||
@@ -76,7 +80,7 @@ export class DeltagareListTableComponent {
|
||||
}
|
||||
|
||||
getAvropDate(deltagare: DeltagareCompact, avropDate?: string): Date {
|
||||
return avropDate === 'startdatumAvrop' ? new Date(deltagare.startdatumAvrop) : new Date(deltagare.slutdatumAvrop)
|
||||
return avropDate === 'startdatumAvrop' ? new Date(deltagare.startdatumAvrop) : new Date(deltagare.slutdatumAvrop);
|
||||
}
|
||||
|
||||
handleSort(key: keyof DeltagareCompact): void {
|
||||
|
||||
@@ -19,9 +19,9 @@ export interface DeltagareCompact {
|
||||
utforandeVerksamhet: string;
|
||||
utforandeAdress: string;
|
||||
hasAvbrott: boolean;
|
||||
genomforandeReferens: number;
|
||||
startdatumAvrop: Date;
|
||||
slutdatumAvrop: Date;
|
||||
genomforandeReferens: number;
|
||||
}
|
||||
|
||||
export interface Deltagare {
|
||||
|
||||
Reference in New Issue
Block a user