Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 1495 Rev 1496
Línea 2... Línea 2...
2
$acl            = $this->viewModel()->getRoot()->getVariable('acl');
2
$acl            = $this->viewModel()->getRoot()->getVariable('acl');
3
$currentUser    = $this->currentUserHelper();
3
$currentUser    = $this->currentUserHelper();
4
$roleName       = $currentUser->getUserTypeId();
4
$roleName       = $currentUser->getUserTypeId();
Línea 5... Línea 5...
5
 
5
 
-
 
6
$routeDatatable = $this->url('recruitment-and-selection/candidates');
Línea 6... Línea 7...
6
$routeDatatable = $this->url('recruitment-and-selection/candidates');
7
$routeAdd = $this->url('recruitment-and-selection/candidates/add');
7
 
8
 
Línea 8... Línea 9...
8
$allowAdd = $acl->isAllowed($roleName, 'recruitment-and-selection/candidates/add') ? 1 : 0;
9
$allowAdd = $acl->isAllowed($roleName, 'recruitment-and-selection/candidates/add') ? 1 : 0;
Línea 378... Línea 379...
378
		<?php 
379
		<?php 
379
	    //$form = $this->formA;
380
	    //$form = $this->formA;
380
	    $form->setAttributes([
381
	    $form->setAttributes([
381
	       'method'    => 'post',
382
	       'method'    => 'post',
382
	        'name'      => 'form-add',
383
	        'name'      => 'form-add',
-
 
384
            'action'    => $routeAdd,
383
	        'id'        => 'form-add'
385
	        'id'        => 'form-add'
384
	    ]);  
386
	    ]);  
385
	    $form->prepare();
387
	    $form->prepare();
386
	    echo $this->form()->openTag($form);
388
	    echo $this->form()->openTag($form);