@@ -75,9 +75,9 @@ |
||
75 | 75 | |
76 | 76 | $position = $this->job->getTranslations('title'); |
77 | 77 | $classification = $this->job->getClassificationMessageAttribute(); |
78 | - $subject = Lang::get('common/notifications/screen_candidates.subject', [ 'position' => $position['en'], 'classification' => $classification ], 'en') |
|
78 | + $subject = Lang::get('common/notifications/screen_candidates.subject', ['position' => $position['en'], 'classification' => $classification], 'en') |
|
79 | 79 | . ' / ' |
80 | - . Lang::get('common/notifications/screen_candidates.subject', [ 'position' => $position['fr'], 'classification' => $classification ], 'fr'); |
|
80 | + . Lang::get('common/notifications/screen_candidates.subject', ['position' => $position['fr'], 'classification' => $classification], 'fr'); |
|
81 | 81 | |
82 | 82 | return $this->subject($subject) |
83 | 83 | ->cc($hr_advisors_emails) |
@@ -29,7 +29,7 @@ |
||
29 | 29 | { |
30 | 30 | // Validate job application answer. |
31 | 31 | $validatedData = $request->validate([ |
32 | - 'answer' => 'required|nullable|string', |
|
32 | + 'answer' => 'required|nullable|string', |
|
33 | 33 | ]); |
34 | 34 | |
35 | 35 | // Update existing object with data and save to db. |
@@ -13,7 +13,7 @@ |
||
13 | 13 | * |
14 | 14 | * @param \App\Models\JobApplication $application Incoming Application object. |
15 | 15 | * @return \Illuminate\Http\Response |
16 | - */ |
|
16 | + */ |
|
17 | 17 | public function show(JobApplication $jobApplication) |
18 | 18 | { |
19 | 19 | return view('applicant/application-timeline-root') |
@@ -249,7 +249,7 @@ |
||
249 | 249 | $rules = $this->addNestedValidatorRules( |
250 | 250 | 'job_application_answers.*', |
251 | 251 | $answerValidator->rules(), |
252 | - [ 'job_application_answers.*.answer' => ['required', 'string', new WordLimitRule(250)]] |
|
252 | + ['job_application_answers.*.answer' => ['required', 'string', new WordLimitRule(250)]] |
|
253 | 253 | ); |
254 | 254 | |
255 | 255 | // Validate that each question has been answered. |
@@ -81,8 +81,7 @@ discard block |
||
81 | 81 | 'orderable' => false, |
82 | 82 | 'function' => function ($entry) { |
83 | 83 | return $entry->isOpen() ? |
84 | - '<span><i class="la la-check-circle"></i></span>' : |
|
85 | - '<span><i class="la la-circle"></i></span>'; |
|
84 | + '<span><i class="la la-check-circle"></i></span>' : '<span><i class="la la-circle"></i></span>'; |
|
86 | 85 | } |
87 | 86 | ]); |
88 | 87 | $this->crud->addColumn([ |
@@ -92,8 +91,7 @@ discard block |
||
92 | 91 | 'orderable' => false, |
93 | 92 | 'function' => function ($entry) { |
94 | 93 | return $entry->isClosed() ? |
95 | - '<span><i class="la la-check-circle"></i></span>' : |
|
96 | - '<span><i class="la la-circle"></i></span>'; |
|
94 | + '<span><i class="la la-check-circle"></i></span>' : '<span><i class="la la-circle"></i></span>'; |
|
97 | 95 | } |
98 | 96 | ]); |
99 | 97 | |
@@ -124,8 +122,7 @@ discard block |
||
124 | 122 | 'function' => |
125 | 123 | function ($entry) { |
126 | 124 | return $entry->submitted_applications_count() > 0 ? |
127 | - '<a target="_blank" href="' . route('manager.jobs.applications', $entry->id) . '">' . $entry->submitted_applications_count() . ' (View <i class="la la-external-link"></i>)</a>' : |
|
128 | - $entry->submitted_applications_count(); |
|
125 | + '<a target="_blank" href="' . route('manager.jobs.applications', $entry->id) . '">' . $entry->submitted_applications_count() . ' (View <i class="la la-external-link"></i>)</a>' : $entry->submitted_applications_count(); |
|
129 | 126 | } |
130 | 127 | ]); |
131 | 128 |