| Línea 79... |
Línea 79... |
| 79 |
|
79 |
|
| 80 |
|
80 |
|
| 81 |
$currentUserPlugin = $this->plugin('currentUserPlugin');
|
81 |
$currentUserPlugin = $this->plugin('currentUserPlugin');
|
| 82 |
$currentUser = $currentUserPlugin->getUser();
|
82 |
$currentUser = $currentUserPlugin->getUser();
|
| 83 |
$currentCompany = $currentUserPlugin->getCompany();
|
83 |
$currentCompany = $currentUserPlugin->getCompany();
|
| Línea 84... |
Línea 84... |
| 84 |
$group_uuid = $this->params()->fromRoute('group_uuid');
|
84 |
$group_uuid = $this->params()->fromRoute('group_id');
|
| 85 |
$feed_uuid = $this->params()->fromRoute('feed_uuid');
|
85 |
$feed_uuid = $this->params()->fromRoute('feed_id');
|
| Línea 152... |
Línea 152... |
| 152 |
|
152 |
|
| 153 |
|
153 |
|
| 154 |
$currentUserPlugin = $this->plugin('currentUserPlugin');
|
154 |
$currentUserPlugin = $this->plugin('currentUserPlugin');
|
| 155 |
$currentUser = $currentUserPlugin->getUser();
|
155 |
$currentUser = $currentUserPlugin->getUser();
|
| 156 |
$currentCompany = $currentUserPlugin->getCompany();
|
156 |
$currentCompany = $currentUserPlugin->getCompany();
|
| Línea 157... |
Línea 157... |
| 157 |
$group_uuid = $this->params()->fromRoute('group_uuid');
|
157 |
$group_uuid = $this->params()->fromRoute('group_id');
|
| 158 |
$feed_uuid = $this->params()->fromRoute('feed_uuid');
|
158 |
$feed_uuid = $this->params()->fromRoute('feed_id');
|
| Línea 226... |
Línea 226... |
| 226 |
$item = [
|
226 |
$item = [
|
| 227 |
'id' => $record->uuid,
|
227 |
'id' => $record->uuid,
|
| 228 |
'title' => 'Reunion #'.$contador,
|
228 |
'title' => 'Reunion #'.$contador,
|
| 229 |
'start' => $record->date.'T'.$record->time,
|
229 |
'start' => $record->date.'T'.$record->time,
|
| 230 |
'color'=>'#00000'.$contador,
|
230 |
'color'=>'#00000'.$contador,
|
| 231 |
'link_feed'=> $allowView ? $this->url()->fromRoute('high-performance-teams/groups/view/calendar/view', ['group_uuid' => $highPerformanceTeamsGroups->uuid, 'feed_uuid'=>$record->uuid]) : '',
|
231 |
'link_feed'=> $allowView ? $this->url()->fromRoute('high-performance-teams/groups/view/calendar/view', ['group_id' => $highPerformanceTeamsGroups->uuid, 'feed_id'=>$record->uuid]) : '',
|
| 232 |
];
|
232 |
];
|
| 233 |
$contador++;
|
233 |
$contador++;
|
| 234 |
array_push($items, $item);
|
234 |
array_push($items, $item);
|
| 235 |
}
|
235 |
}
|
| 236 |
}
|
236 |
}
|