Commit 454c56c498991dde4bbad9d4bba4f62da146847f

Authored by Robert Ferraz
1 parent 84532a71
Exists in 2.9 and in 1 other branch 2.8

Remove código sem utilidade

app/Models/Exporter/Builders/StudentEloquentBuilder.php
@@ -103,13 +103,6 @@ class StudentEloquentBuilder extends Builder @@ -103,13 +103,6 @@ class StudentEloquentBuilder extends Builder
103 103
104 //fisica 104 //fisica
105 if ($only = $this->model->getLegacyExportedColumns('mother.individual', $columns)) { 105 if ($only = $this->model->getLegacyExportedColumns('mother.individual', $columns)) {
106 - //dd($only);  
107 -  
108 - if (array_key_exists('cpf',$only )) {  
109 - //$this->addSelect(DB::raw("LPAD(NULLIF(mf.cpf, 0)::text, 11, '0')::text as CPF da mãe"));  
110 - // unset($only['cpf']);  
111 - }  
112 -  
113 $this->addSelect($only); 106 $this->addSelect($only);
114 $this->leftJoin('cadastro.fisica as mf', 'exporter_student_grouped_registration.mother_id', 'mf.idpes'); 107 $this->leftJoin('cadastro.fisica as mf', 'exporter_student_grouped_registration.mother_id', 'mf.idpes');
115 } 108 }