Skip to content
Snippets Groups Projects
Commit 9e8e106d authored by Florian Azizian's avatar Florian Azizian
Browse files

FEAT #10704 TIME 0:45 retrieve doc with workflow + note

parent c9bebabb
No related branches found
No related tags found
No related merge requests found
...@@ -408,12 +408,12 @@ class MaarchParapheurController ...@@ -408,12 +408,12 @@ class MaarchParapheurController
'method' => 'GET' 'method' => 'GET'
]); ]);
return $response['encodedDocument']; return $response['document'];
} }
public static function getState($aArgs) public static function getState($aArgs)
{ {
$step['status'] == 'validated'; $state['status'] = 'validated';
foreach ($aArgs['workflow'] as $step) { foreach ($aArgs['workflow'] as $step) {
if ($step['status'] == 'REF') { if ($step['status'] == 'REF') {
$state['status'] = 'refused'; $state['status'] = 'refused';
......
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