Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 15604 Rev 16747
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');
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
                $allowEdit = $acl->isAllowed($currentUser->usertype_id, 'reports/users-blocked/edit');
140
                //$allowEdit = $acl->isAllowed($currentUser->usertype_id, 'reports/users-blocked/edit');
Línea 141... Línea 141...
141
                $allowDelete = $acl->isAllowed($currentUser->usertype_id, 'reports/users-blocked/delete');
141
                //$allowDelete = $acl->isAllowed($currentUser->usertype_id, 'reports/users-blocked/delete');
Línea 224... Línea 224...
224
                        'first_name' => ucwords(strtolower($record['first_name'])),
224
                        'first_name' => ucwords(strtolower($record['first_name'])),
225
                        'last_name' => ucwords(strtolower($record['last_name'])),
225
                        'last_name' => ucwords(strtolower($record['last_name'])),
226
                        'email' => strtolower($record['email']),
226
                        'email' => strtolower($record['email']),
227
                        'last_activity_on' => $last_activity_on,
227
                        'last_activity_on' => $last_activity_on,
228
                        'actions' => [
228
                        'actions' => [
229
                            'link_edit' => $allowEdit ? $this->url()->fromRoute('reports/users-blocked/edit', ['id' => $record['uuid']]) : '',
229
                         //   'link_edit' => $allowEdit ? $this->url()->fromRoute('reports/users-blocked/edit', ['id' => $record['uuid']]) : '',
230
                            'link_delete' => $allowDelete ? $this->url()->fromRoute('reports/users-blocked/delete', ['id' => $record['uuid']]) : '',
230
                         //   'link_delete' => $allowDelete ? $this->url()->fromRoute('reports/users-blocked/delete', ['id' => $record['uuid']]) : '',
231
                        ]
231
                        ]
Línea 232... Línea 232...
232
 
232
 
Línea 233... Línea 233...
233
                    ];
233
                    ];