Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 15589 | Rev 15600 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 15589 Rev 15598
Línea 135... Línea 135...
135
 
135
 
136
 
136
 
137
            if ($isJson) {
137
            if ($isJson) {
138
                $acl = $this->getEvent()->getViewModel()->getVariable('acl');
-
 
-
 
138
                $acl = $this->getEvent()->getViewModel()->getVariable('acl');
Línea 139... Línea 139...
139
                $allowDownload = $acl->isAllowed($currentUser->usertype_id, 'reports/users-blocked/excel');
139
                $allowDownload = $acl->isAllowed($currentUser->usertype_id, 'reports/users-blocked/excel');
Línea 140... Línea 140...
140
 
140
                $allowEdit = $acl->isAllowed($currentUser->usertype_id, 'reports/users-blocked/edit');
Línea 221... Línea 221...
221
                    $item = [
221
                    $item = [
222
                        'uuid' => $record['uuid'],
222
                        'uuid' => $record['uuid'],
223
                        'first_name' => ucwords(strtolower($record['first_name'])),
223
                        'first_name' => ucwords(strtolower($record['first_name'])),
224
                        'last_name' => ucwords(strtolower($record['last_name'])),
224
                        'last_name' => ucwords(strtolower($record['last_name'])),
225
                        'email' => strtolower($record['email']),
225
                        'email' => strtolower($record['email']),
226
                        'last_activity_on' => $last_activity_on
226
                        'last_activity_on' => $last_activity_on,
-
 
227
                        'actions' => [
-
 
228
                            'link_edit' => $allowEdit ? $this->url()->fromRoute('jobs/edit', ['id' => $record->uuid]) : '',
-
 
229
                            //'link_delete' => $allowDelete ? $this->url()->fromRoute('jobs/delete', ['id' => $record->uuid]) : '',
-
 
230
                        ]
Línea 227... Línea 231...
227
 
231
 
Línea 228... Línea 232...
228
                    ];
232
                    ];
229
 
233