forked from aslan/applicant-site
fix new logic to calculator with required and optional subjects
This commit is contained in:
parent
1bd362180e
commit
077eda117f
|
@ -50,7 +50,7 @@ class CalculatorController extends Controller
|
||||||
return $optionalSubjectsInCalculator->count() !== 0;
|
return $optionalSubjectsInCalculator->count() !== 0;
|
||||||
})->map(fn ($subjectTypes, $directionId) => $directionId)
|
})->map(fn ($subjectTypes, $directionId) => $directionId)
|
||||||
;
|
;
|
||||||
dd($result);
|
// dd($result);
|
||||||
$directions = Direction::whereIn('id', $result)->get();
|
$directions = Direction::whereIn('id', $result)->get();
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue