Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 12762 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 12762 Rev 12878
Línea 17... Línea 17...
17
use LeadersLinked\Form\PlanningObjectivesAndGoalsObjectivesForm;
17
use LeadersLinked\Form\PlanningObjectivesAndGoalsObjectivesForm;
18
use LeadersLinked\Model\HighPerformanceTeamsGroupsMembers;
18
use LeadersLinked\Model\HighPerformanceTeamsGroupsMembers;
19
use LeadersLinked\Model\HighPerformanceTeamsGroups;
19
use LeadersLinked\Model\HighPerformanceTeamsGroups;
20
use LeadersLinked\Model\Feed;
20
use LeadersLinked\Model\Feed;
21
use LeadersLinked\Form\HighPerformanceTeamsGroupsFeedForm;
21
use LeadersLinked\Form\HighPerformanceTeamsGroupsFeedForm;
22
 
-
 
-
 
22
use LeadersLinked\Form\PlanningObjectivesAndGoalsTaskForm;
23
use LeadersLinked\Form\PlanningObjectivesAndGoalsGoalsForm;
23
use LeadersLinked\Form\PlanningObjectivesAndGoalsGoalsForm;
24
use LeadersLinked\Form\TopicForm;
24
use LeadersLinked\Form\TopicForm;
25
use LeadersLinked\Form\HighPerformanceTeamsGroupsMembersTypeForm;
25
use LeadersLinked\Form\HighPerformanceTeamsGroupsMembersTypeForm;
26
use LeadersLinked\Mapper\HighPerformanceTeamsGroupsMapper;
26
use LeadersLinked\Mapper\HighPerformanceTeamsGroupsMapper;
27
use LeadersLinked\Mapper\HighPerformanceTeamsGroupsMembersMapper;
27
use LeadersLinked\Mapper\HighPerformanceTeamsGroupsMembersMapper;
Línea 134... Línea 134...
134
            }
134
            }
135
            $rolAdmin=true;
135
            $rolAdmin=true;
136
            if($member->type==HighPerformanceTeamsGroupsMembers::TYPE_MODERATOR||$member->type==HighPerformanceTeamsGroupsMembers::TYPE_USER){
136
            if($member->type==HighPerformanceTeamsGroupsMembers::TYPE_MODERATOR||$member->type==HighPerformanceTeamsGroupsMembers::TYPE_USER){
137
                $rolAdmin=false;
137
                $rolAdmin=false;
138
            }
138
            }
139
 
-
 
-
 
139
            $formAddTask = new PlanningObjectivesAndGoalsTaskForm($this->adapter, $currentCompany->id);
140
            $formFeed = new HighPerformanceTeamsGroupsFeedForm($this->adapter);
140
            $formFeed = new HighPerformanceTeamsGroupsFeedForm($this->adapter);
141
            $formTopicNomal = new TopicForm();
141
            $formTopicNomal = new TopicForm();
142
            $formMemberEdit = new HighPerformanceTeamsGroupsMembersTypeForm();
142
            $formMemberEdit = new HighPerformanceTeamsGroupsMembersTypeForm();
143
            $formAddObjective = new PlanningObjectivesAndGoalsObjectivesForm();
143
            $formAddObjective = new PlanningObjectivesAndGoalsObjectivesForm();
144
            $formAddGoal = new PlanningObjectivesAndGoalsGoalsForm();
144
            $formAddGoal = new PlanningObjectivesAndGoalsGoalsForm();
Línea 155... Línea 155...
155
                'group_title'=>$highPerformanceTeamsGroups->title,
155
                'group_title'=>$highPerformanceTeamsGroups->title,
156
                'formMemberEdit'=>$formMemberEdit,
156
                'formMemberEdit'=>$formMemberEdit,
157
                'rolAdmin'=>$rolAdmin,
157
                'rolAdmin'=>$rolAdmin,
158
                'formAddObjective'=>$formAddObjective,
158
                'formAddObjective'=>$formAddObjective,
159
                'formAddGoal'=>$formAddGoal,
159
                'formAddGoal'=>$formAddGoal,
-
 
160
                'formAddTask'=>$formAddTask,
160
            ]);
161
            ]);
161
            return $viewModel ;
162
            return $viewModel ;
Línea 162... Línea 163...
162
            
163