@@ -49,10 +49,10 @@ |
||
49 | 49 | DB::table('institution_students as is') |
50 | 50 | ->join('security_users as su', 'su.id', 'is.student_id') |
51 | 51 | ->where('is.updated_from', 'doe') |
52 | - ->orWhere('su.updated_from','doe') |
|
52 | + ->orWhere('su.updated_from', 'doe') |
|
53 | 53 | ->groupBy('is.student_id') |
54 | 54 | ->orderBy('is.student_id') |
55 | - ->chunk($this->argument('limit'), function ($Students) use ($output) { |
|
55 | + ->chunk($this->argument('limit'), function($Students) use ($output) { |
|
56 | 56 | foreach ($Students as $Student) { |
57 | 57 | $exist = Examination_student::where('nsid', $Student->openemis_no)->exists(); |
58 | 58 | if (!$exist) { |