Skip to content
Snippets Groups Projects
Commit 555ec9ba authored by kevin.dezaphi's avatar kevin.dezaphi
Browse files

remove signatory verification pop-up for visa

parent 625e98bb
No related branches found
No related tags found
No related merge requests found
...@@ -505,21 +505,7 @@ export class SignatureBookComponent implements OnInit { ...@@ -505,21 +505,7 @@ export class SignatureBookComponent implements OnInit {
validForm() { validForm() {
if ($j("#signatureBookActions option:selected")[0].value != "") { if ($j("#signatureBookActions option:selected")[0].value != "") {
if (this.signatureBook['listinstance']['requested_signature'] == true && this.signatureBook['isCurrentWorkflowUser'] == true) { this.sendActionForm();
this.http.get(this.coreUrl + 'rest/listinstance/' + this.signatureBook['listinstance']['listinstance_id'])
.subscribe((data: any) => {
var r = true;
if (data['signatory'] == false) {
r = confirm("Vous n’avez signé aucun document. Êtes-vous sûr de vouloir continuer ?");
}
if (r) {
this.sendActionForm();
}
});
} else {
this.sendActionForm();
}
} else { } else {
alert("Aucune action choisie"); alert("Aucune action choisie");
} }
......
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