This commit is contained in:
aslan 2024-03-04 09:54:14 +03:00
parent 435ad06dca
commit d0a9dcae2b
1 changed files with 4 additions and 2 deletions

View File

@ -38,7 +38,8 @@ class DirectionController extends Controller
$subjects = Subject::pluck('name', 'id'); $subjects = Subject::pluck('name', 'id');
$subjectTypes = SubjectType::pluck('name', 'id'); $subjectTypes = SubjectType::pluck('name', 'id');
$directionProfiles = DirectionProfile::pluck('name', 'id'); $directionProfiles = DirectionProfile::pluck('name', 'id');
return view('admin.catalog.direction.create', return view(
'admin.catalog.direction.create',
compact( compact(
'departments', 'departments',
'levels', 'levels',
@ -137,7 +138,8 @@ class DirectionController extends Controller
$subjects = Subject::pluck('name', 'id'); $subjects = Subject::pluck('name', 'id');
$subjectTypes = SubjectType::pluck('name', 'id'); $subjectTypes = SubjectType::pluck('name', 'id');
$directionProfiles = DirectionProfile::pluck('name', 'id'); $directionProfiles = DirectionProfile::pluck('name', 'id');
return view('admin.catalog.direction.edit', return view(
'admin.catalog.direction.edit',
compact( compact(
'direction', 'direction',
'departments', 'departments',