Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 440 Rev 441
Línea 256... Línea 256...
256
 
256
 
257
        $request = $this->getRequest();
257
        $request = $this->getRequest();
258
        if ($request->isGet()) {
258
        if ($request->isGet()) {
259
            return new JsonModel([
259
            return new JsonModel([
260
                'success' => false,
-
 
261
                'data' => $companySelfEvaluationTest && $companySelfEvaluationTest->status == CompanySelfEvaluationTest::STATUS_DRAFT ?
-
 
262
                    json_decode($companySelfEvaluationTest->content) :
260
                'success' => false,
263
                [
261
                'data' => [
264
                    'name' => $companySelfEvaluationForm->name,
262
                    'name' => $companySelfEvaluationForm->name,
265
                    'description' => $companySelfEvaluationForm->description,
263
                    'description' => $companySelfEvaluationForm->description,
-
 
264
                    'text' => $companySelfEvaluationForm->text,
-
 
265
                    'content' => $companySelfEvaluationTest && $companySelfEvaluationTest->status == CompanySelfEvaluationTest::STATUS_DRAFT ?
266
                    'text' => $companySelfEvaluationForm->text,
266
                    json_decode($companySelfEvaluationTest->content) :
267
                    'content' => $companySelfEvaluationForm->content,
267
                    json_decode($companySelfEvaluationForm->content),
268
                ]
268
                ]
269
            ]);
269
            ]);
Línea 270... Línea 270...
270
        }
270
        }