Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 1427 Rev 1428
Línea 238... Línea 238...
238
 
238
 
239
                $jobCategoryMapper = JobCategoryMapper::getInstance($this->adapter);
239
                $jobCategoryMapper = JobCategoryMapper::getInstance($this->adapter);
240
                $jobCategory = $jobCategoryMapper->fetchOneByUuid( $dataPost['job_category_id']);
240
                $jobCategory = $jobCategoryMapper->fetchOneByUuid( $dataPost['job_category_id']);
Línea -... Línea 241...
-
 
241
                $recruitmentForm->job_category_id = $jobCategory->id;
-
 
242
 
-
 
243
                $industryMapper = IndustryMapper::getInstance($this->adapter);
-
 
244
                $industry = $industryMapper->fetchOneByUuid($dataPost['industry_id']);
-
 
245
                $recruitmentForm->industry_id = $industry->id;
-
 
246
 
-
 
247
                $recruitmentForm->description = $dataPost['description'];
241
                $recruitmentForm->job_category_id = $jobCategory->id;
248
                $recruitmentForm->last_date = $dataPost['last_date'];
242
 
249
 
243
                return new JsonModel([
250
                // return new JsonModel([
244
                    'success' => false,
251
                //     'success' => false,
245
                    'data' => [
252
                //     'data' => [
246
                        $request->getPost()->toArray(),
253
                //         $request->getPost()->toArray(),
247
                        $dataPost,
254
                //         $dataPost,
248
                        (array)$currentCompany,
255
                //         (array)$currentCompany,
249
                        (array)$recruitmentForm,
256
                //         (array)$recruitmentForm,
250
                        (array)$result,
257
                //         (array)$result,
Línea 251... Línea 258...
251
                    ],
258
                //     ],
252
                ]);
259
                // ]);
Línea 253... Línea 260...
253
 
260