We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 35c2ebd commit 32d0a95Copy full SHA for 32d0a95
app/Http/Controllers/Admin/AdmissionTest/Controller.php
@@ -283,10 +283,10 @@ function ($candidate) {
283
}
284
);
285
$countAttendedCandidate = $admissionTest->candidates->count();
286
- $countCandidate = $admissionTest->candidate()->count();
+ $countCandidate = $admissionTest->candidates()->count();
287
} else {
288
289
- $countAttendedCandidate = $admissionTest->candidate()
+ $countAttendedCandidate = $admissionTest->candidates()
290
->where('is_present', true)
291
->count();
292
0 commit comments