Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 5050 Rev 5052
Línea 373... Línea 373...
373
                    'success' => true,
373
                    'success' => true,
374
                    'data' => 'LABEL_RECORD_ADDED'
374
                    'data' => 'LABEL_RECORD_ADDED'
375
                ];
375
                ];
376
                return new JsonModel($data); exit;
376
                return new JsonModel($data); exit;
Línea 377... Línea -...
377
 
-
 
378
                /*
377
 
Línea 379... Línea 378...
379
                if(!empty($dataPost['job_category_id'])){ 
378
                if(!empty($dataPost['job_category_id'])){ 
Línea 380... Línea 379...
380
                    
379
                    
Línea 393... Línea 392...
393
                         $jobCategory = $jobCategoryMapper->fetchOneByUuid($jobCategoryUuid);
392
                         $jobCategory = $jobCategoryMapper->fetchOneByUuid($jobCategoryUuid);
Línea 394... Línea 393...
394
                         
393
                         
395
                        // print_r($jobCategory);
394
                        // print_r($jobCategory);
Línea 396... Línea 395...
396
                         //print_r($currentCompany);
395
                         //print_r($currentCompany);
397
                         
396
                         
398
                         if($jobCategory && $jobCategory->company_id == $currentCompany->id) {
397
                         //if($jobCategory && $jobCategory->company_id == $currentCompany->id) {
399
                             $record = new SurveyJobCategory();
398
                             $record = new SurveyJobCategory();
Línea 400... Línea 399...
400
                             $record->job_category_id = $jobCategory->id;
399
                             $record->job_category_id = $jobCategory->id;
401
                             $record->survey_id = $survey->id;
400
                             $record->survey_id = $survey->id;
402
                             
401
                             
403
              
402
              
Línea 404... Línea 403...
404
                             
403
                             
Línea 405... Línea 404...
405
                             $result = $surveyJobCategoryMapper->insert($record);
404
                             $result = $surveyJobCategoryMapper->insert($record);
Línea 415... Línea 414...
415
                $data = [
414
                $data = [
416
                    'success' => true,
415
                    'success' => true,
417
                    'data' => 'LABEL_RECORD_ADDED'
416
                    'data' => 'LABEL_RECORD_ADDED'
418
                ];
417
                ];
419
                return new JsonModel($data); exit;
418
                return new JsonModel($data); exit;
420
                */
-
 
Línea 421... Línea 419...
421
 
419
 
Línea 422... Línea 420...
422
                if(!empty($dataPost['industry_id'])){ 
420
                if(!empty($dataPost['industry_id'])){