Skip to content
Snippets Groups Projects
Commit 78850228 authored by Guillaume Heurtier's avatar Guillaume Heurtier
Browse files

FEAT #10633 TIME 0:20 added reject visa + interrupt visa actions in front

parent 820c0156
No related branches found
No related tags found
No related merge requests found
......@@ -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';
......
......@@ -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);
}
}
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