Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 16769 Rev 16932
Línea 149... Línea 149...
149
            }
149
            }
Línea 150... Línea 150...
150
 
150
 
151
 
151
 
152
            if ($isJson) {
152
            if ($isJson) {
153
                $acl = $this->getEvent()->getViewModel()->getVariable('acl');
153
                $acl = $this->getEvent()->getViewModel()->getVariable('acl');
154
                $allowDownload = $acl->isAllowed($currentUser->usertype_id, 'reports/users-blocked/excel');
154
                $allowDownload = $acl->isAllowed($currentUser->usertype_id, 'reports/users-blocked/download');
Línea 155... Línea 155...
155
                //$allowEdit = $acl->isAllowed($currentUser->usertype_id, 'reports/users-blocked/edit');
155
                //$allowEdit = $acl->isAllowed($currentUser->usertype_id, 'reports/users-blocked/edit');
Línea 252... Línea 252...
252
 
252
 
253
 
253
 
-
 
254
 
Línea 254... Línea 255...
254
 
255
 
Línea 255... Línea 256...
255
 
256
                $data = [
256
                $data = [
257
                    'items' => $items,
257
                    'items' => $items
258
                    'total' => $paginator->getTotalItemCount(),
258
 
259
 
259
                ];
260
                ];
Línea 260... Línea 261...
260
 
261
 
261
                if ($allowDownload) {
262
                if ($allowDownload) {
262
                    $data['link_download'] = $this->url()->fromRoute('reports/users-blocked/excel');
263
                    $data['link_download'] = $this->url()->fromRoute('reports/users-blocked/download');
263
                } else {
-
 
-
 
264
                } else {
264
                    $data['link_download'] = '';
265
                    $data['link_download'] = '';
265
                }
266
                }
Línea 266... Línea 267...
266
 
267
 
267
 
268