forked from aslan/applicant-site
prodV1 #2
|
@ -50,6 +50,7 @@ class CalculatorController extends Controller
|
|||
->filter(fn($optionalSubject) => in_array($optionalSubject, $calcultatorSubjects));
|
||||
return $optionalSubjectsInCalculator->count() !== 0;
|
||||
}
|
||||
return true;
|
||||
})->map(fn($subjectTypes, $directionId) => $directionId);
|
||||
|
||||
$directions = Direction::whereIn('id', $result)->get();
|
||||
|
|
Loading…
Reference in New Issue