diff --git a/migration/19.12/1912.sql b/migration/19.12/1912.sql index 9dc55986f8dac7bfad42c1586952c07a9158d881..ef2e646f49f179475e165c0bd1f7ac7d60cbfc0c 100644 --- a/migration/19.12/1912.sql +++ b/migration/19.12/1912.sql @@ -85,7 +85,7 @@ where group_id in ( -- /!\ Do not move : update actions AFTER all updates on groupbasket DELETE FROM actions WHERE component = 'viewDoc' OR action_page in ('view', 'validate_mail', 'process', 'visa_mail'); -UPDATE actions SET component = 'rejectVisaBackToPrevious' WHERE action_page = 'rejection_visa_previous'; +UPDATE actions SET component = 'rejectVisaBackToPreviousAction' WHERE action_page = 'rejection_visa_previous'; UPDATE actions SET component = 'redirectInitiatorEntityAction' WHERE action_page = 'redirect_visa_entity'; UPDATE actions SET component = 'rejectVisaBackToPreviousAction' WHERE action_page = 'rejection_visa_previous'; UPDATE actions SET component = 'rejectVisaBackToRedactorAction' WHERE action_page = 'rejection_visa_redactor'; diff --git a/src/frontend/app/actions/actions.service.ts b/src/frontend/app/actions/actions.service.ts index 53a9fe63983fa18cce6b20440b2faf8dff901667..c7d6bfb0ab57564f88ef01dec3c1c9c0a44a164c 100644 --- a/src/frontend/app/actions/actions.service.ts +++ b/src/frontend/app/actions/actions.service.ts @@ -566,4 +566,16 @@ export class ActionsService { signatureBookAction(options: any = null) { this.router.navigate([`/signatureBook/users/${this.currentUserId}/groups/${this.currentGroupId}/baskets/${this.currentBasketId}/resources/${this.currentResIds}`]); } + + rejectVisaBackToPreviousAction(options: any = null) { + this.confirmAction(options); + } + + rejectVisaBackToRedactorAction(options: any = null) { + this.confirmAction(options); + } + + interruptVisaAction(options: any = null) { + this.confirmAction(options); + } }