Verified Commit afe53501 authored by Florian Azizian's avatar Florian Azizian
Browse files

FEAT #16956 TIME 1:30 Send OTP data to MP + display OTP in summary sheet

parent 82cefec2
......@@ -31,10 +31,10 @@
"core-js": "^3.12.1",
"tinymce": "^5.6.2",
"tinymce-i18n": "^20.12.25",
"zone.js": "^0.11.3"
"zone.js": "^0.11.4"
},
"devDependencies": {
"@angular-devkit/build-angular": "^0.1101.3",
"@angular-devkit/build-angular": "^0.1101.4",
"@angular-eslint/eslint-plugin": "^2.1.1",
"@angular/animations": "^11.2.11",
"@angular/cdk": "^11.2.10",
......@@ -49,10 +49,10 @@
"@angular/platform-browser-dynamic": "^11.2.11",
"@angular/platform-server": "^11.2.11",
"@angular/router": "^11.2.11",
"@fortawesome/fontawesome-free": "^5.15.2",
"@fortawesome/fontawesome-free": "^5.15.3",
"@ngx-translate/core": "^13.0.0",
"@ngx-translate/http-loader": "^6.0.0",
"@swimlane/ngx-charts": "^17.0.0",
"@swimlane/ngx-charts": "^17.0.1",
"@types/datatables.net": "^1.10.19",
"@types/jquery": "^3.5.5",
"@types/jquery.nicescroll": "^3.7.1",
......@@ -61,11 +61,11 @@
"@typescript-eslint/eslint-plugin": "^4.22.1",
"@typescript-eslint/eslint-plugin-tslint": "^4.22.1",
"@typescript-eslint/parser": "^4.22.1",
"ajv": "^7.2.3",
"ajv": "^7.2.4",
"bootstrap": "^3.4.1",
"chosen-js": "^1.8.7",
"codelyzer": "^6.0.2",
"cypress": "^6.8.0",
"cypress": "^6.9.1",
"cypress-file-upload": "^5.0.7",
"eslint": "^7.26.0",
"eslint-config-prettier": "^8.2.0",
......@@ -88,9 +88,9 @@
"pdfjs-dist": "2.5.207",
"photoswipe": "^4.1.3",
"prettier": "^2.3.0",
"rxjs": "^6.6.6",
"rxjs": "^6.6.7",
"tooltipster": "^4.2.8",
"tslib": "^2.1.0",
"tslib": "^2.2.0",
"tslint": "^6.1.3",
"typescript": "4.1.3",
"url-loader": "^4.1.1"
......
......@@ -372,7 +372,14 @@ class MaarchParapheurController
}
}
$workflow[(int)$step['sequence']] = ['userId' => $step['externalId'], 'mode' => $step['action'], 'signatureMode' => $step['signatureMode'] ?? null, 'signaturePositions' => $signaturePositions, 'datePositions' => $datePositions];
$workflow[(int)$step['sequence']] = [
'userId' => $step['externalId'] ?? null,
'mode' => $step['action'],
'signatureMode' => $step['signatureMode'] ?? null,
'signaturePositions' => $signaturePositions,
'datePositions' => $datePositions,
'externalInformations' => $step['externalInformations'] ?? null
];
}
}
......@@ -454,7 +461,14 @@ class MaarchParapheurController
$datePositions = $step['datePositions'];
}
}
$workflow[(int)$step['sequence']] = ['userId' => $step['externalId'], 'mode' => $step['action'], 'signatureMode' => $step['signatureMode'] ?? null, 'signaturePositions' => $signaturePositions, 'datePositions' => $datePositions];
$workflow[(int)$step['sequence']] = [
'userId' => $step['externalId'] ?? null,
'mode' => $step['action'],
'signatureMode' => $step['signatureMode'] ?? null,
'signaturePositions' => $signaturePositions,
'datePositions' => $datePositions,
'externalInformations' => $step['externalInformations'] ?? null
];
}
}
......
......@@ -993,6 +993,8 @@ class SummarySheetController
case 'inca_card_eidas': $mode = _INCA_CARD_EIDAS; break;
case 'rgs_2stars_timestamped': $mode = _RGS_2STARS_TIMESTAMPED; break;
case 'rgs_2stars': $mode = _RGS_2STARS; break;
case 'otp_sign_yousign': $mode = _OTP_SIGN_YOUSIGN; break;
case 'otp_visa_yousign': $mode = _OTP_VISA_YOUSIGN; break;
}
} elseif ($item['mode'] == 'visa') {
$mode = _VISA_USER_MIN;
......
......@@ -463,6 +463,8 @@ define('_EIDAS', 'Eidas');
define('_RGS_2STARS', 'RGS** key');
define('_RGS_2STARS_TIMESTAMPED', 'RGS** key + timestamped');
define('_STAMP', 'Stamp');
define('_OTP_SIGN_YOUSIGN', 'Signatory (YouSign)');
define('_OTP_VISA_YOUSIGN', 'Approval (YouSign)');
define('_SIGNED', 'Signed');
define('_VALIDATED', 'Validated');
......
......@@ -470,6 +470,8 @@ define('_EIDAS', 'Cachet');
define('_RGS_2STARS', 'Clé RGS**');
define('_RGS_2STARS_TIMESTAMPED', 'Clé RGS** + horodatage');
define('_STAMP', 'Griffe');
define('_OTP_SIGN_YOUSIGN', 'Signataire (YouSign)');
define('_OTP_VISA_YOUSIGN', 'Viseur (YouSign)');
define('_SIGNED', 'Signé');
define('_VALIDATED', 'Validé');
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment