Skip to content
Snippets Groups Projects
Commit 06b8f698 authored by Hamza HRAMCHI's avatar Hamza HRAMCHI
Browse files

FIX #15943 TIME 0:15 enable stamp after note mode + wording

parent 852e8311
No related branches found
No related tags found
No related merge requests found
......@@ -628,6 +628,6 @@
"notificationTemplateRow": "<tr>\n<td><span style=\"font-family: arial,helvetica,sans-serif; font-size: small;\">{{object}}</span></td>\n<td><span style=\"font-family: arial,helvetica,sans-serif;\"><a href=\"{{link}}\">Voir</a></span></td>\n</tr>",
"azure_samlConnection": "Azure SAML",
"cannotSetSignature": "You cannot pre-position a signature for a user with the annotator role",
"resumeOriginalDoc": "Warning !The return document action resumes the original document"
"resumeOriginalDoc": "Warning ! The return document action will use the original document"
}
}
\ No newline at end of file
......@@ -626,7 +626,7 @@
"originaleize": "Taille originale",
"scalingDocWith": "{{value}} % de la largeur du document",
"azure_samlConnection": "Azure SAML",
"cannotSetSignature": "Vous ne pouvez pas pré-positionner une signature pour un utilisateur ave le rôle annotateur",
"cannotSetSignature": "Vous ne pouvez pas pré-positionner une signature pour un utilisateur avec le rôle annotateur",
"resumeOriginalDoc": "Attention ! L'action renvoi de document reprend le document original"
}
}
......@@ -263,7 +263,7 @@ export class VisaWorkflowComponent implements OnInit {
isValidRole(indexWorkflow: any, role: string, currentRole: string) {
if (this.visaWorkflow.filter((item: any, index: any) => index > indexWorkflow && ['stamp'].indexOf(item.role) > -1).length > 0 && ['visa', 'stamp'].indexOf(currentRole) > -1 && ['visa', 'stamp'].indexOf(role) === -1) {
return false;
} else if (this.visaWorkflow.filter((item: any, index: any) => index < indexWorkflow && ['visa', 'stamp'].indexOf(item.role) === -1).length > 0 && role === 'stamp') {
} else if (this.visaWorkflow.filter((item: any, index: any) => index < indexWorkflow && ['visa', 'stamp', 'note'].indexOf(item.role) === -1).length > 0 && role === 'stamp') {
return false;
} else {
return true;
......
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