Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 1101 Rev 4093
Línea 531... Línea 531...
531
        $currentCompany = $currentUserPlugin->getCompany();
531
        $currentCompany = $currentUserPlugin->getCompany();
Línea 532... Línea 532...
532
        
532
        
533
        $operation = $this->params()->fromRoute('operation');
533
        $operation = $this->params()->fromRoute('operation');
534
        if($operation == 'edit' || $operation == 'delete') {
534
        if($operation == 'edit' || $operation == 'delete') {
535
            $id = $this->params()->fromRoute('id');
535
            $id = $this->params()->fromRoute('id');
536
            if(! $id) {
536
            if(!$id) {
537
                $response = [
537
                $response = [
538
                    'success' => false,
538
                    'success' => false,
539
                    'data' => 'ERROR_INVALID_PARAMETER'
539
                    'data' => 'ERROR_INVALID_PARAMETER'
Línea 543... Línea 543...
543
            }
543
            }
544
        } else {
544
        } else {
545
            $id = '';
545
            $id = '';
546
        }
546
        }
Línea 547... Línea -...
547
 
-
 
548
        
-
 
549
 
-
 
550
 
-
 
551
        
-
 
552
 
-
 
553
        
-
 
554
 
547
 
555
        $request = $this->getRequest();
548
        $request = $this->getRequest();
556
        if($request->isPost()) {
549
        if($request->isPost()) {
557
            $companyMapper = CompanyMapper::getInstance($this->adapter);
550
            $companyMapper = CompanyMapper::getInstance($this->adapter);