Commit bbde7f1480aadd28c1b941defdbb0cb04b8cb1f5

Authored by Eriksen Costa Paixão
1 parent 5602008e
Exists in master

Corrigido bug na atribuição de valores para exibição de notas/faltas no relatório

ieducar/intranet/educar_relatorio_alunos_nota_semestre_disc_proc.php
@@ -281,10 +281,14 @@ class indice extends clsCadastro @@ -281,10 +281,14 @@ class indice extends clsCadastro
281 foreach ($array_disc as $cid => $disc) { 281 foreach ($array_disc as $cid => $disc) {
282 if ($this->tipo == 'n') { 282 if ($this->tipo == 'n') {
283 $array_val[] = $notas[$cid]->notaArredondada; 283 $array_val[] = $notas[$cid]->notaArredondada;
  284 + continue;
284 } 285 }
285 else { 286 else {
286 $array_val[] = $faltas[$cid]->quantidade; 287 $array_val[] = $faltas[$cid]->quantidade;
  288 + continue;
287 } 289 }
  290 +
  291 + $array_val[] = '';
288 } 292 }
289 293
290 $relatorio->novalinha($array_val, 0, $tam_linha, FALSE, 'arial', 294 $relatorio->novalinha($array_val, 0, $tam_linha, FALSE, 'arial',