Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 1422 Rev 1425
Línea 221... Línea 221...
221
                if (!$result) {
221
                if (!$result) {
222
                    return new JsonModel([
222
                    return new JsonModel([
223
                        'success'   => false,
223
                        'success'   => false,
224
                        'data'   => [
224
                        'data'   => [
225
                            'success'   => false,
225
                            'success'   => false,
226
                            'data' => 'LABEL_LOCATION'
226
                            'data' => 'ERROR_THERE_WAS_AN_ERROR'
227
                        ]
227
                        ]
228
                    ]);
228
                    ]);
229
                }
229
                }
Línea 230... Línea 230...
230
 
230
 
Línea 234... Línea 234...
234
                    $recruitmentForm->status = RecruitmentSelectionVacancy::STATUS_INACTIVE;
234
                    $recruitmentForm->status = RecruitmentSelectionVacancy::STATUS_INACTIVE;
235
                }
235
                }
236
                $recruitmentForm->company_id = $currentCompany->id;
236
                $recruitmentForm->company_id = $currentCompany->id;
237
                $recruitmentSelectionVacancyMapper = RecruitmentSelectionVacancyMapper::getInstance($this->adapter);;
237
                $recruitmentSelectionVacancyMapper = RecruitmentSelectionVacancyMapper::getInstance($this->adapter);;
Línea -... Línea 238...
-
 
238
 
-
 
239
                return new JsonModel([
-
 
240
                    'success' => false,
-
 
241
                    'data' => (array)$recruitmentForm,
-
 
242
                ]);
238
 
243
 
Línea 239... Línea 244...
239
                $result = $recruitmentSelectionVacancyMapper->insert($recruitmentForm);
244
                $result = $recruitmentSelectionVacancyMapper->insert($recruitmentForm);
240
 
245