@@ -29,16 +29,16 @@ |
||
29 | 29 | public function compose(View $view) : void |
30 | 30 | { |
31 | 31 | if (!$this->skillLevels) { |
32 | - $this->skillLevels = SkillLevel::all(); |
|
32 | + $this->skillLevels = SkillLevel::all (); |
|
33 | 33 | } |
34 | 34 | |
35 | 35 | if (!$this->skills) { |
36 | - $this->skills = Skill::all(); |
|
36 | + $this->skills = Skill::all (); |
|
37 | 37 | } |
38 | 38 | |
39 | - $view->with('skills', $this->skills); |
|
40 | - $view->with('skill_levels', $this->skillLevels); |
|
41 | - $view->with('skill_template', Lang::get('common/skills')); |
|
42 | - $view->with('skills_modal', Lang::get('common/skills_modals')); |
|
39 | + $view->with ('skills', $this->skills); |
|
40 | + $view->with ('skill_levels', $this->skillLevels); |
|
41 | + $view->with ('skill_template', Lang::get ('common/skills')); |
|
42 | + $view->with ('skills_modal', Lang::get ('common/skills_modals')); |
|
43 | 43 | } |
44 | 44 | } |
@@ -15,6 +15,6 @@ |
||
15 | 15 | */ |
16 | 16 | public function compose(View $view) |
17 | 17 | { |
18 | - $view->with('work_template', Lang::get('common/work_experience')); |
|
18 | + $view->with ('work_template', Lang::get ('common/work_experience')); |
|
19 | 19 | } |
20 | 20 | } |
@@ -15,8 +15,8 @@ |
||
15 | 15 | */ |
16 | 16 | public function compose(View $view) |
17 | 17 | { |
18 | - $show_demo_notification = Auth::user() !== null && Auth::user()->isDemoManager(); |
|
19 | - $view->with([ |
|
18 | + $show_demo_notification = Auth::user () !== null && Auth::user ()->isDemoManager (); |
|
19 | + $view->with ([ |
|
20 | 20 | 'show_demo_notification' => $show_demo_notification, |
21 | 21 | ]); |
22 | 22 | } |
@@ -15,6 +15,6 @@ |
||
15 | 15 | */ |
16 | 16 | public function compose(View $view) |
17 | 17 | { |
18 | - $view->with('goc', Lang::get('common/goc')); |
|
18 | + $view->with ('goc', Lang::get ('common/goc')); |
|
19 | 19 | } |
20 | 20 | } |
@@ -15,6 +15,6 @@ |
||
15 | 15 | */ |
16 | 16 | public function compose(View $view) |
17 | 17 | { |
18 | - $view->with('alert', Lang::get('common/alert')); |
|
18 | + $view->with ('alert', Lang::get ('common/alert')); |
|
19 | 19 | } |
20 | 20 | } |
21 | 21 | \ No newline at end of file |
@@ -15,6 +15,6 @@ |
||
15 | 15 | */ |
16 | 16 | public function compose(View $view) |
17 | 17 | { |
18 | - $view->with('relative_template', Lang::get('common/relatives')); |
|
18 | + $view->with ('relative_template', Lang::get ('common/relatives')); |
|
19 | 19 | } |
20 | 20 | } |
@@ -23,10 +23,10 @@ |
||
23 | 23 | public function compose(View $view) : void |
24 | 24 | { |
25 | 25 | if (!$this->courseStatuses) { |
26 | - $this->courseStatuses = CourseStatus::all(); |
|
26 | + $this->courseStatuses = CourseStatus::all (); |
|
27 | 27 | } |
28 | 28 | |
29 | - $view->with('course_status', $this->courseStatuses); |
|
30 | - $view->with('course_template', Lang::get('common/course')); |
|
29 | + $view->with ('course_status', $this->courseStatuses); |
|
30 | + $view->with ('course_template', Lang::get ('common/course')); |
|
31 | 31 | } |
32 | 32 | } |
@@ -23,10 +23,10 @@ |
||
23 | 23 | public function compose(View $view) : void |
24 | 24 | { |
25 | 25 | if (!$this->degreeTypes) { |
26 | - $this->degreeTypes = DegreeType::all(); |
|
26 | + $this->degreeTypes = DegreeType::all (); |
|
27 | 27 | } |
28 | 28 | |
29 | - $view->with('degree_types', $this->degreeTypes); |
|
30 | - $view->with('degree_template', Lang::get('common/degree')); |
|
29 | + $view->with ('degree_types', $this->degreeTypes); |
|
30 | + $view->with ('degree_template', Lang::get ('common/degree')); |
|
31 | 31 | } |
32 | 32 | } |
@@ -16,25 +16,25 @@ |
||
16 | 16 | */ |
17 | 17 | public function compose(View $view) |
18 | 18 | { |
19 | - $app_tracker = Lang::get('applicant/application_tracker'); |
|
19 | + $app_tracker = Lang::get ('applicant/application_tracker'); |
|
20 | 20 | |
21 | 21 | |
22 | - $app_tracker['items']['basics']['url'] = route('job.application.edit.1', $view->getData()['job']); |
|
23 | - $app_tracker['items']['experience']['url'] = route('job.application.edit.2', $view->getData()['job']); |
|
24 | - $app_tracker['items']['essential_skills']['url'] = route('job.application.edit.3', $view->getData()['job']); |
|
25 | - $app_tracker['items']['asset_skills']['url'] = route('job.application.edit.4', $view->getData()['job']); |
|
26 | - $app_tracker['items']['preview']['url'] = route('job.application.edit.5', $view->getData()['job']); |
|
27 | - $app_tracker['items']['confirm']['url'] = route('job.application.edit.6', $view->getData()['job']); |
|
22 | + $app_tracker['items']['basics']['url'] = route ('job.application.edit.1', $view->getData ()['job']); |
|
23 | + $app_tracker['items']['experience']['url'] = route ('job.application.edit.2', $view->getData ()['job']); |
|
24 | + $app_tracker['items']['essential_skills']['url'] = route ('job.application.edit.3', $view->getData ()['job']); |
|
25 | + $app_tracker['items']['asset_skills']['url'] = route ('job.application.edit.4', $view->getData ()['job']); |
|
26 | + $app_tracker['items']['preview']['url'] = route ('job.application.edit.5', $view->getData ()['job']); |
|
27 | + $app_tracker['items']['confirm']['url'] = route ('job.application.edit.6', $view->getData ()['job']); |
|
28 | 28 | |
29 | 29 | //TODO: all these checks shouldn't be neccessary when controllers are properly set up |
30 | - if (isset($view->getData()['job_application'])) { |
|
31 | - $job_application = $view->getData()['job_application']; |
|
30 | + if (isset($view->getData ()['job_application'])) { |
|
31 | + $job_application = $view->getData ()['job_application']; |
|
32 | 32 | if ($job_application != null && $job_application instanceof JobApplication) { |
33 | - foreach($app_tracker['items'] as $key => $value) { |
|
34 | - $app_tracker['items'][$key]['status'] = $job_application->getSectionStatus($key); |
|
33 | + foreach ($app_tracker['items'] as $key => $value) { |
|
34 | + $app_tracker['items'][$key]['status'] = $job_application->getSectionStatus ($key); |
|
35 | 35 | } |
36 | 36 | } |
37 | 37 | } |
38 | - $view->with('application_tracker', $app_tracker); |
|
38 | + $view->with ('application_tracker', $app_tracker); |
|
39 | 39 | } |
40 | 40 | } |