forked from aslan/applicant-site
prodV1 #2
|
@ -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',
|
||||||
|
|
Loading…
Reference in New Issue