add last modified column to dossiers listing
This commit is contained in:
parent
d21d65d176
commit
b403c5f41e
@ -3,10 +3,9 @@
|
||||
<redaction-dossiers-listing-dossier-name [dossierStats]="stats" [dossier]="dossier"></redaction-dossiers-listing-dossier-name>
|
||||
</div>
|
||||
|
||||
<!--TODO: when dossier-stats api is updated show dossier's last modification date-->
|
||||
<!-- <div class="cell">-->
|
||||
<!-- <redaction-date-column [date]="stats.redactionModificationDate"></redaction-date-column>-->
|
||||
<!-- </div>-->
|
||||
<div class="cell">
|
||||
<redaction-date-column [date]="stats.fileManipulationDate"></redaction-date-column>
|
||||
</div>
|
||||
|
||||
<div class="cell">
|
||||
<redaction-dossier-workload-column [dossierStats]="stats" [dossier]="dossier"></redaction-dossier-workload-column>
|
||||
|
||||
@ -26,7 +26,7 @@ export class ConfigService {
|
||||
get tableConfig(): TableColumnConfig<Dossier>[] {
|
||||
return [
|
||||
{ label: _('dossier-listing.table-col-names.name'), sortByKey: 'searchKey', width: '2fr' },
|
||||
// { label: _('dossier-listing.table-col-names.last-modified') },
|
||||
{ label: _('dossier-listing.table-col-names.last-modified') },
|
||||
{ label: _('dossier-listing.table-col-names.needs-work') },
|
||||
{ label: _('dossier-listing.table-col-names.owner'), class: 'user-column' },
|
||||
{ label: _('dossier-listing.table-col-names.documents-status'), class: 'flex-end', width: 'auto' },
|
||||
|
||||
@ -772,6 +772,7 @@
|
||||
"table-col-names": {
|
||||
"documents-status": "",
|
||||
"dossier-state": "",
|
||||
"last-modified": "",
|
||||
"name": "Name",
|
||||
"needs-work": "Arbeitsvorrat",
|
||||
"owner": "Besitzer"
|
||||
|
||||
@ -772,6 +772,7 @@
|
||||
"table-col-names": {
|
||||
"documents-status": "Documents Status",
|
||||
"dossier-state": "Dossier State",
|
||||
"last-modified": "Last modified",
|
||||
"name": "Name",
|
||||
"needs-work": "Workload",
|
||||
"owner": "Owner"
|
||||
|
||||
@ -33,6 +33,7 @@ export class DossierStats implements IDossierStats {
|
||||
readonly dossierId: string;
|
||||
readonly fileCountPerProcessingStatus: FileCountPerProcessingStatus;
|
||||
readonly fileCountPerWorkflowStatus: FileCountPerWorkflowStatus;
|
||||
readonly fileManipulationDate: string;
|
||||
readonly hasHintsNoRedactionsFilePresent: boolean;
|
||||
readonly hasNoFlagsFilePresent: boolean;
|
||||
readonly hasRedactionsFilePresent: boolean;
|
||||
@ -49,6 +50,7 @@ export class DossierStats implements IDossierStats {
|
||||
this.dossierId = stats.dossierId;
|
||||
this.fileCountPerProcessingStatus = stats.fileCountPerProcessingStatus;
|
||||
this.fileCountPerWorkflowStatus = stats.fileCountPerWorkflowStatus;
|
||||
this.fileManipulationDate = stats.fileManipulationDate;
|
||||
this.hasHintsNoRedactionsFilePresent = stats.hasHintsNoRedactionsFilePresent;
|
||||
this.hasNoFlagsFilePresent = stats.hasNoFlagsFilePresent;
|
||||
this.hasRedactionsFilePresent = stats.hasRedactionsFilePresent;
|
||||
|
||||
@ -4,6 +4,7 @@ export interface IDossierStats {
|
||||
dossierId: string;
|
||||
fileCountPerProcessingStatus: FileCountPerProcessingStatus;
|
||||
fileCountPerWorkflowStatus: FileCountPerWorkflowStatus;
|
||||
fileManipulationDate: string;
|
||||
hasHintsNoRedactionsFilePresent: boolean;
|
||||
hasNoFlagsFilePresent: boolean;
|
||||
hasRedactionsFilePresent: boolean;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user