Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 1312 Rev 1317
Línea 702... Línea 702...
702
        //Sections 
702
        //Sections 
703
        $sections = json_decode($performanceEvaluation->content, true);
703
        $sections = json_decode($performanceEvaluation->content, true);
Línea 704... Línea 704...
704
 
704
 
Línea -... Línea 705...
-
 
705
        for ($s = 0; $s < count($sections); $s++) {
-
 
706
 
705
        for ($s = 0; $s < count($sections); $s++) {
707
            $pdf->singleTable($sections[$s]['title'], [
-
 
708
                array(
-
 
709
                    'content' => $sections[$s]['type'] != 'multiple' ? $sections[$s]['text'] : ''
Línea 706... Línea 710...
706
 
710
            )]);
Línea 707... Línea 711...
707
            $pdf->singleTable($sections[$s]['title'], [array('content' => $sections[$s]['text'])]);
711
 
Línea 708... Línea 712...
708
 
712
 
709
            if ($sections[$s]['type'] == 'multiple') {
713
            if ($sections[$s]['type'] == 'multiple') {
710
 
714
 
711
                for ($o = 0; $o < count($sections[$s]['options']); $o++) {
715
                for ($o = 0; $o < count($sections[$s]['options']); $o++) {
712
 
716
 
713
                    $pdf->optionTable($sections[$s]['options'][$o]['title']);
717
                    $pdf->optionTable($sections[$s]['options'][$o]['title']);
714
                }
718
                }
715
                $pdf->Ln();
719
                $pdf->Ln();
716
            }
720
            }
717
            if ($s % 2 == 0 && $s > 1) {
721
            if ($s % 2 == 0 && $s > 1) {
Línea 738... Línea 742...
738
            foreach ($competencies as $record) {
742
            foreach ($competencies as $record) {
Línea 739... Línea 743...
739
 
743
 
Línea 740... Línea 744...
740
                $i = $i + 1;
744
                $i = $i + 1;
741
 
745
 
742
                $pdf->competencyTable($i, $record);
746
                $pdf->competencyTable($i, $record);
Línea 743... Línea 747...
743
                
747
 
744
                $pdf->singleTable('Comentarios Finales :', [array('content' => '')]);
748
                $pdf->singleTable('Comentarios Finales :', [array('content' => '')]);
745
 
749