Skip to content
Snippets Groups Projects
Verified Commit a792d5a7 authored by Damien's avatar Damien
Browse files

FEAT #9685 Redirect informations entity tree

parent e6e7338f
No related branches found
No related tags found
No related merge requests found
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
</watermark> </watermark>
<type_calendar>workingDay</type_calendar><!-- calendar or workingDay --> <type_calendar>workingDay</type_calendar><!-- calendar or workingDay -->
<send_to_contact_with_mandatory_attachment>true</send_to_contact_with_mandatory_attachment><!-- if true, requirement to had a attachment, if false, no mandatory to had a attachment --> <send_to_contact_with_mandatory_attachment>true</send_to_contact_with_mandatory_attachment><!-- if true, requirement to had a attachment, if false, no mandatory to had a attachment -->
<notes_in_print_page><!-- Libellé des notes dans la fiche de liaison --> <notes_in_print_page><!-- Libellé des notes dans la fiche de liaison V1-->
<label>NOTE 1</label> <label>NOTE 1</label>
<label>NOTE 2</label> <label>NOTE 2</label>
<label>NOTE 3</label> <label>NOTE 3</label>
......
...@@ -304,11 +304,12 @@ class ActionMethodController ...@@ -304,11 +304,12 @@ class ActionMethodController
} }
if (in_array($value['entity_id'], $allowedEntities)) { if (in_array($value['entity_id'], $allowedEntities)) {
$allEntities[$key]['allowed'] = true; $allEntities[$key]['allowed'] = true;
$allEntities[$key]['state']['opened'] = true;
} else { } else {
$allEntities[$key]['allowed'] = false; $allEntities[$key]['allowed'] = false;
$allEntities[$key]['state']['disabled'] = true; $allEntities[$key]['state']['disabled'] = true;
$allEntities[$key]['state']['opened'] = false;
} }
$allEntities[$key]['state']['opened'] = true;
$allEntities[$key]['text'] = $value['entity_label']; $allEntities[$key]['text'] = $value['entity_label'];
} }
......
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