Commit 07a21ad9 authored by Florian Azizian's avatar Florian Azizian
Browse files

FIX #17425 TIME 0:05 Display correct mode for interrupted user in visa summary sheet

parent 6fbe8040
......@@ -588,7 +588,7 @@ class SummarySheetController
if ($found && $listInstance['res_id'] != $resource['res_id']) {
break;
} elseif ($listInstance['res_id'] == $resource['res_id']) {
if (!empty($listInstance['process_date'])) {
if (!empty($listInstance['process_date']) && $listInstance['process_comment'] != _INTERRUPTED_WORKFLOW) {
$mode = ($listInstance['signatory'] ? _SIGNATORY : _VISA_USER_MIN);
} else {
$mode = ($listInstance['requested_signature'] ? _SIGNATORY : _VISA_USER_MIN);
......
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