Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 15461 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 15461 Rev 16768
Línea 55... Línea 55...
55
        $this->SetFillColor(225, 255, 255);
55
        $this->SetFillColor(225, 255, 255);
56
        $this->SetTextColor(0);
56
        $this->SetTextColor(0);
57
        $this->SetFont('Arial', 'B', 9);
57
        $this->SetFont('Arial', 'B', 9);
Línea 58... Línea 58...
58
 
58
 
Línea 59... Línea 59...
59
 
59
 
60
        $this->Cell(35, 8, utf8_decode(' Escala/Niveles:'), 1, 0, 'L', false);
60
        $this->Cell(35, 8, Functions::utf8_decode(' Escala/Niveles:'), 1, 0, 'L', false);
61
 
61
 
Línea 62... Línea 62...
62
        $this->SetFillColor(225, 255, 255);
62
        $this->SetFillColor(225, 255, 255);
63
        $this->SetTextColor(0);
63
        $this->SetTextColor(0);
64
        $this->SetFont('Arial', '', 9);
64
        $this->SetFont('Arial', '', 9);
Línea 65... Línea 65...
65
 
65
 
66
        $this->Cell(155, 8, utf8_decode(' 1: Mínimo  2: Medio  3: Medio-Alto  4: Alto  N/A: No aplica '), 1, 'L', false);
66
        $this->Cell(155, 8, Functions::utf8_decode(' 1: Mínimo  2: Medio  3: Medio-Alto  4: Alto  N/A: No aplica '), 1, 'L', false);
Línea 78... Línea 78...
78
        $this->SetFillColor(204, 204, 204);
78
        $this->SetFillColor(204, 204, 204);
79
        $this->SetDrawColor(0, 0, 0);
79
        $this->SetDrawColor(0, 0, 0);
80
        $this->SetLineWidth(0);
80
        $this->SetLineWidth(0);
81
        $this->SetFont('Arial', 'B', 9);
81
        $this->SetFont('Arial', 'B', 9);
Línea 82... Línea 82...
82
 
82
 
83
        $this->Cell(190, 6, utf8_decode($title), 1, 0, 'L', true);
83
        $this->Cell(190, 6, Functions::utf8_decode($title), 1, 0, 'L', true);
Línea 84... Línea 84...
84
        $this->Ln();
84
        $this->Ln();
85
 
85
 
86
        // Body Table
86
        // Body Table
Línea 87... Línea 87...
87
        $this->SetFillColor(225, 255, 255);
87
        $this->SetFillColor(225, 255, 255);
88
        $this->SetTextColor(0);
88
        $this->SetTextColor(0);
Línea 89... Línea 89...
89
 
89
 
90
        foreach ($content as $rs) {
90
        foreach ($content as $rs) {
91
            if (isset($rs['title'])) {
91
            if (isset($rs['title'])) {
92
 
92
 
93
                $this->SetFont('Arial', 'B', 9);
93
                $this->SetFont('Arial', 'B', 9);
Línea 94... Línea 94...
94
                $this->Cell(50, 10, utf8_decode($rs['title']), 1, 0, 'L', false);
94
                $this->Cell(50, 10, Functions::utf8_decode($rs['title']), 1, 0, 'L', false);
95
                $this->Cell(140, 10, utf8_decode($rs['content']), 1, 'L', false);
95
                $this->Cell(140, 10, Functions::utf8_decode($rs['content']), 1, 'L', false);
96
                $this->Ln();
96
                $this->Ln();
Línea 97... Línea 97...
97
            } else {
97
            } else {
98
 
98
 
99
                $this->SetFont('Arial', '', 9);
99
                $this->SetFont('Arial', '', 9);
Línea 124... Línea 124...
124
            $this->SetFillColor(204, 204, 204);
124
            $this->SetFillColor(204, 204, 204);
125
            $this->SetDrawColor(0, 0, 0);
125
            $this->SetDrawColor(0, 0, 0);
126
            $this->SetLineWidth(0);
126
            $this->SetLineWidth(0);
127
            $this->SetFont('Arial', 'B', 9);
127
            $this->SetFont('Arial', 'B', 9);
Línea 128... Línea 128...
128
 
128
 
129
            $this->Cell(190, 6, utf8_decode($title), 1, 0, 'L', true);
129
            $this->Cell(190, 6, Functions::utf8_decode($title), 1, 0, 'L', true);
130
            $this->Ln();
130
            $this->Ln();
131
        }
131
        }
Línea 132... Línea 132...
132
    }
132
    }
Línea 139... Línea 139...
139
 
139
 
140
        // Body Table
140
        // Body Table
141
        $this->SetFillColor(225, 255, 255);
141
        $this->SetFillColor(225, 255, 255);
142
        $this->SetTextColor(0);
142
        $this->SetTextColor(0);
143
        $this->SetFont('Arial', 'B', 9);
143
        $this->SetFont('Arial', 'B', 9);
144
        $this->Cell(50, 10, utf8_decode($title), 1, 0, 'L', false);
144
        $this->Cell(50, 10, Functions::utf8_decode($title), 1, 0, 'L', false);
145
        $this->Cell(140, 10, '', 1, 'L', false);
145
        $this->Cell(140, 10, '', 1, 'L', false);
146
        $this->Ln();
146
        $this->Ln();
Línea 147... Línea 147...
147
    }
147
    }
Línea 157... Línea 157...
157
        $this->SetFillColor(255, 255, 255);
157
        $this->SetFillColor(255, 255, 255);
158
        $this->SetDrawColor(0, 0, 0);
158
        $this->SetDrawColor(0, 0, 0);
159
        $this->SetLineWidth(0);
159
        $this->SetLineWidth(0);
160
        $this->SetFont('Arial', 'B', 9);
160
        $this->SetFont('Arial', 'B', 9);
Línea 161... Línea 161...
161
 
161
 
162
        $this->Cell(190, 6, utf8_decode($title), 0, 0, 'L', true);
162
        $this->Cell(190, 6, Functions::utf8_decode($title), 0, 0, 'L', true);
Línea 163... Línea 163...
163
        $this->Ln();
163
        $this->Ln();
164
 
164
 
165
        // Body Table
165
        // Body Table
166
        $this->SetFillColor(225, 255, 255);
166
        $this->SetFillColor(225, 255, 255);
Línea 167... Línea 167...
167
        $this->SetTextColor(0);
167
        $this->SetTextColor(0);
168
        $this->SetFont('Arial', '', 9);
168
        $this->SetFont('Arial', '', 9);
169
 
169
 
170
        foreach ($content as $rs) {
170
        foreach ($content as $rs) {
171
            if (isset($rs['title'])) {
171
            if (isset($rs['title'])) {
172
                $this->Cell(40, 6, utf8_decode($rs['title']), 0, 0, 'L', false);
172
                $this->Cell(40, 6, Functions::utf8_decode($rs['title']), 0, 0, 'L', false);
173
                $this->Cell(150, 6, utf8_decode($rs['content']), 0, 'L', false);
173
                $this->Cell(150, 6, Functions::utf8_decode($rs['content']), 0, 'L', false);
174
                $this->Ln();
174
                $this->Ln();
175
            } else {
175
            } else {
176
                if ($rs['content'] != "") {
176
                if ($rs['content'] != "") {
Línea 177... Línea 177...
177
                    $this->MultiCell(190, 6, utf8_decode($rs['content']), 0, 'L', false);
177
                    $this->MultiCell(190, 6, Functions::utf8_decode($rs['content']), 0, 'L', false);
178
                }
178
                }
Línea 205... Línea 205...
205
        $this->SetFillColor(204, 204, 204);
205
        $this->SetFillColor(204, 204, 204);
206
        $this->SetDrawColor(0, 0, 0);
206
        $this->SetDrawColor(0, 0, 0);
207
        $this->SetLineWidth(0);
207
        $this->SetLineWidth(0);
208
        $this->SetFont('Arial', 'B', 9);
208
        $this->SetFont('Arial', 'B', 9);
Línea 209... Línea 209...
209
        
209
        
210
        $this->Cell(90, 6, utf8_decode('Resumen General Final'), 1, 0, 'L', true);
210
        $this->Cell(90, 6, Functions::utf8_decode('Resumen General Final'), 1, 0, 'L', true);
211
        $this->Cell(24, 6, utf8_decode('Estatus'), 1, 0, 'L', true);
211
        $this->Cell(24, 6, Functions::utf8_decode('Estatus'), 1, 0, 'L', true);
Línea 212... Línea 212...
212
        $this->Cell(36, 6, $status, 1, 0, 'C', true);
212
        $this->Cell(36, 6, $status, 1, 0, 'C', true);
213
        
213
        
214
        $this->Cell(24, 6, utf8_decode('Evaluación'), 1, 0, 'L', true);
214
        $this->Cell(24, 6, Functions::utf8_decode('Evaluación'), 1, 0, 'L', true);
215
        $this->Cell(16, 6, '' . $points, 1, 0, 'C', true);
215
        $this->Cell(16, 6, '' . $points, 1, 0, 'C', true);
216
        $this->Ln();
216
        $this->Ln();
217
        $this->SetFont('Arial', 'B', 9);
217
        $this->SetFont('Arial', 'B', 9);
218
        $this->Cell(190, 8, utf8_decode('Comentario final'), 0, 0, 'L', false);
218
        $this->Cell(190, 8, Functions::utf8_decode('Comentario final'), 0, 0, 'L', false);
Línea 219... Línea 219...
219
        $this->Ln();
219
        $this->Ln();
Línea 220... Línea 220...
220
        $this->SetFont('Arial', '', 9);
220
        $this->SetFont('Arial', '', 9);
221
        
221
        
222
        $this->MultiCell(190, 80, utf8_decode($comment), 1, 'J', false);
222
        $this->MultiCell(190, 80, Functions::utf8_decode($comment), 1, 'J', false);
223
        
223
        
Línea 224... Línea 224...
224
        
224
        
225
        /*
225
        /*
226
        $this->Cell(160, 6, utf8_decode('Resumen General Final'), 1, 0, 'L', true);
226
        $this->Cell(160, 6, Functions::utf8_decode('Resumen General Final'), 1, 0, 'L', true);
Línea 227... Línea 227...
227
        $this->Cell(30, 6, utf8_decode('Evaluación'), 1, 0, 'C', true);
227
        $this->Cell(30, 6, Functions::utf8_decode('Evaluación'), 1, 0, 'C', true);
Línea 228... Línea 228...
228
        $this->Ln();
228
        $this->Ln();
229
        
229
        
230
 
230
 
Línea 231... Línea 231...
231
        
231
        
232
        $this->SetFillColor(225, 255, 255);
232
        $this->SetFillColor(225, 255, 255);
233
        $this->SetTextColor(0);
233
        $this->SetTextColor(0);
234
        $this->SetFont('Arial', 'B', 9);
234
        $this->SetFont('Arial', 'B', 9);
235
        
235
        
236
        
236
        
237
        $this->Cell(35, 8, utf8_decode(' Escala/Niveles:'), 1, 0, 'L', false);
237
        $this->Cell(35, 8, Functions::utf8_decode(' Escala/Niveles:'), 1, 0, 'L', false);
238
        
238
        
239
        $this->SetFillColor(225, 255, 255);
239
        $this->SetFillColor(225, 255, 255);
Línea 240... Línea 240...
240
        $this->SetTextColor(0);
240
        $this->SetTextColor(0);
Línea 289... Línea 289...
289
        $this->SetFillColor(255, 255, 255);
289
        $this->SetFillColor(255, 255, 255);
290
        $this->SetDrawColor(0, 0, 0);
290
        $this->SetDrawColor(0, 0, 0);
291
        $this->SetLineWidth(0);
291
        $this->SetLineWidth(0);
292
        $this->SetFont('Arial', 'B', 9);
292
        $this->SetFont('Arial', 'B', 9);
Línea 293... Línea 293...
293
 
293
 
Línea 294... Línea 294...
294
        $this->MultiCell(190, 5, $index . '- ' . utf8_decode($competency_type->name) . ': ' . utf8_decode($competency->name), 0, 'L', false);
294
        $this->MultiCell(190, 5, $index . '- ' . Functions::utf8_decode($competency_type->name) . ': ' . Functions::utf8_decode($competency->name), 0, 'L', false);
295
 
295
 
296
        // Body Table
296
        // Body Table
297
        $this->SetFillColor(225, 255, 255);
297
        $this->SetFillColor(225, 255, 255);
Línea 298... Línea 298...
298
        $this->SetTextColor(0);
298
        $this->SetTextColor(0);
Línea 299... Línea 299...
299
        $this->SetFont('Arial', '', 9);
299
        $this->SetFont('Arial', '', 9);
Línea 300... Línea 300...
300
 
300
 
Línea 347... Línea 347...
347
                    $this->SetFillColor(204, 204, 204);
347
                    $this->SetFillColor(204, 204, 204);
348
                    $this->SetDrawColor(0, 0, 0);
348
                    $this->SetDrawColor(0, 0, 0);
349
                    $this->SetLineWidth(0);
349
                    $this->SetLineWidth(0);
350
                    $this->SetFont('Arial', 'B', 9);
350
                    $this->SetFont('Arial', 'B', 9);
Línea 351... Línea 351...
351
                    
351
                    
352
                    $this->Cell(150, 6, utf8_decode('Conductas observables :'), 1, 0, 'L', true);
352
                    $this->Cell(150, 6, Functions::utf8_decode('Conductas observables :'), 1, 0, 'L', true);
353
                    $this->Cell(16, 6, 'Nivel', 1, 0, 'C', true);
353
                    $this->Cell(16, 6, 'Nivel', 1, 0, 'C', true);
354
                    $this->Cell(24, 6, utf8_decode('Evaluación'), 1, 0, 'C', true);
354
                    $this->Cell(24, 6, Functions::utf8_decode('Evaluación'), 1, 0, 'C', true);
Línea 355... Línea 355...
355
                    $this->Ln();
355
                    $this->Ln();
356
                    
356
                    
357
                    // Body Table
357
                    // Body Table
Línea 361... Línea 361...
361
                }
361
                }
Línea 362... Línea 362...
362
                
362
                
Línea 363... Línea 363...
363
                
363
                
364
                $this->SetFont('Arial', '', 8.5);
364
                $this->SetFont('Arial', '', 8.5);
365
 
365
 
366
                $this->Cell(150, 6, utf8_decode($behavior->description), 1, 0, 'L', false);
366
                $this->Cell(150, 6, Functions::utf8_decode($behavior->description), 1, 0, 'L', false);
Línea 367... Línea 367...
367
                //$this->Cell(16, 6, $competency_behavior->level == '0' ? 'N/A' : $competency_behavior->level, 1, 0, 'C', false);
367
                //$this->Cell(16, 6, $competency_behavior->level == '0' ? 'N/A' : $competency_behavior->level, 1, 0, 'C', false);
Línea 368... Línea 368...
368
                $this->Cell(16, 6, $competency_behavior->level, 1, 0, 'C', false);
368
                $this->Cell(16, 6, $competency_behavior->level, 1, 0, 'C', false);
Línea 369... Línea 369...
369
                $this->Cell(24, 6, '' . $points, 1, 0, 'C', false);
369
                $this->Cell(24, 6, '' . $points, 1, 0, 'C', false);
370
 
370
 
Línea 371... Línea 371...
371
                $this->Ln();
371
                $this->Ln();
372
 
372
 
373
                $this->SetFont('Arial', 'B', 9);
373
                $this->SetFont('Arial', 'B', 9);