diff --git a/app/Http/Controllers/Api/CalculatorController.php b/app/Http/Controllers/Api/CalculatorController.php index 6ff35ce..96dfa79 100644 --- a/app/Http/Controllers/Api/CalculatorController.php +++ b/app/Http/Controllers/Api/CalculatorController.php @@ -9,6 +9,7 @@ use App\Models\EntranceExamination; use App\Models\Faculty; use Illuminate\Http\Request; + class CalculatorController extends Controller { public function findDirectionFromSubjects(Request $request) @@ -34,10 +35,63 @@ class CalculatorController extends Controller $faculty = Faculty::find($department->faculty_id); return "{$acc}
{$direction->description}
+ + +{$direction->description}
+ + +{{ $direction->code }}
--}} -{{--{{ $direction->name }}
--}} -{{ $direction->description }}
- -{{ $direction->description }}
-