Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 1308 Rev 1309
Línea 700... Línea 700...
700
        $pdf->borderTable('EVALUACIÓN DE DESEMPEÑO', $rows);
700
        $pdf->borderTable('EVALUACIÓN DE DESEMPEÑO', $rows);
Línea 701... Línea 701...
701
 
701
 
702
        //Sections 
702
        //Sections 
Línea 703... Línea 703...
703
        $sections = json_decode($performanceEvaluation->content, true);
703
        $sections = json_decode($performanceEvaluation->content, true);
Línea 704... Línea 704...
704
 
704
 
Línea 705... Línea 705...
705
        for ($i = 0; $i < count($sections); $i++) {
705
        for ($s = 0; $s < count($sections); $s++) {
Línea 706... Línea 706...
706
 
706
 
Línea 707... Línea 707...
707
            $pdf->singleTable($sections[$i]['title'], [array('content' => $sections[$i]['text'])]);
707
            $pdf->singleTable($sections[$s]['title'], [array('content' => $sections[$s]['text'])]);
708
 
708
 
709
            if ($sections[$i]['type'] == 'multiple') {
709
            if ($sections[$i]['type'] == 'multiple') {
710
 
710
 
711
                for ($o = 0; $o < count($sections[$i]['options']); $o++) {
711
                for ($o = 0; $o < count($sections[$s]['options']); $o++) {
712
 
712
 
713
                    $pdf->optionTable($sections[$i]['options'][$o]['title']);
713
                    $pdf->optionTable($sections[$s]['options'][$o]['title']);
714
                }
714
                }
715
                $pdf->Ln();
715
                $pdf->Ln();
716
            }
716
            }