Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 437 Rev 438
Línea 261... Línea 261...
261
                'data' => [
261
                'data' => [
262
                    'name' => $companySelfEvaluationForm->name,
262
                    'name' => $companySelfEvaluationForm->name,
263
                    'description' => $companySelfEvaluationForm->description,
263
                    'description' => $companySelfEvaluationForm->description,
264
                    'text' => $companySelfEvaluationForm->text,
264
                    'text' => $companySelfEvaluationForm->text,
265
                    'content' => $companySelfEvaluationTest && $companySelfEvaluationTest->status == CompanySelfEvaluationTest::STATUS_DRAFT ?
265
                    'content' => $companySelfEvaluationTest && $companySelfEvaluationTest->status == CompanySelfEvaluationTest::STATUS_DRAFT ?
266
                   $companySelfEvaluationTest->content :
266
                    array(json_decode($companySelfEvaluationTest->content)) :
267
                    json_decode($companySelfEvaluationForm->content),
267
                    json_decode($companySelfEvaluationForm->content),
268
                ]
268
                ]
269
            ]);
269
            ]);
270
        }
270
        }