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