Skip to content
Snippets Groups Projects
Commit 07734f07 authored by Alex ORLUC's avatar Alex ORLUC
Browse files

FEAT #15153 TIME 0:15 add signature position indexation

parent 3a467167
No related branches found
No related tags found
No related merge requests found
......@@ -231,11 +231,12 @@ export class IndexationComponent implements OnInit {
encodedDocument: item.content
};
}),
workflow: this.appVisaWorkflow.getCurrentWorkflow().map((item: any) => {
workflow: this.appVisaWorkflow.getCurrentWorkflow().map((item: any, index: number) => {
return {
userId: item.userId,
mode: this.authService.getWorkflowMode(item.role),
signatureMode: this.authService.getSignatureMode(item.role)
signatureMode: this.authService.getSignatureMode(item.role),
signaturePositions: file.signPos !== undefined ? file.signPos.filter((userItem: any) => userItem.sequence === index) : []
};
}),
metadata: this.fromDocument !== null ? file.metadata : []
......@@ -325,7 +326,7 @@ export class IndexationComponent implements OnInit {
}
console.log(this.filesToUpload);
} else {
this.notificationService.error('Veuillez paramétrer votre circuit avant de pouvoir positionner les signatures.')
this.notificationService.error('Veuillez paramétrer votre circuit avant de pouvoir positionner les signatures.');
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment