@@ -947,7 +947,7 @@ |
||
| 947 | 947 | * @param \App\Models\JobPoster $jobPoster Incoming Job Poster object. |
| 948 | 948 | * @param string $application_step Current step in application. |
| 949 | 949 | * @return array |
| 950 | - */ |
|
| 950 | + */ |
|
| 951 | 951 | public function customBreadcrumbs(JobPoster $jobPoster, string $application_step) |
| 952 | 952 | { |
| 953 | 953 | $step_lang = Lang::get('applicant/application_template.tracker_label'); |
@@ -24,7 +24,6 @@ |
||
| 24 | 24 | * |
| 25 | 25 | * @param \Illuminate\Http\Request $request Incoming Request. |
| 26 | 26 | * @param \App\Models\JobPoster $jobPoster Incoming JobPoster object. |
| 27 | - |
|
| 28 | 27 | * @return \Illuminate\Http\Response |
| 29 | 28 | */ |
| 30 | 29 | public function show(Request $request, JobPoster $jobPoster) |
@@ -40,7 +40,7 @@ discard block |
||
| 40 | 40 | 'label' => 'Job Poster Title', |
| 41 | 41 | 'searchLogic' => function ($query, $column, $searchTerm) { |
| 42 | 42 | $query->orWhereHas('job_poster', function ($q) use ($searchTerm) { |
| 43 | - $q->where('title', 'ilike', '%'.$searchTerm.'%'); |
|
| 43 | + $q->where('title', 'ilike', '%' . $searchTerm . '%'); |
|
| 44 | 44 | }); |
| 45 | 45 | } |
| 46 | 46 | ]); |
@@ -51,8 +51,8 @@ discard block |
||
| 51 | 51 | 'label' => 'Applicant Name', |
| 52 | 52 | 'searchLogic' => function ($query, $column, $searchTerm) { |
| 53 | 53 | $query->orWhereHas('applicant.user', function ($q) use ($searchTerm) { |
| 54 | - $q->where('first_name', 'ilike', '%'.$searchTerm.'%') |
|
| 55 | - ->orWhere('last_name', 'ilike', '%'.$searchTerm.'%'); |
|
| 54 | + $q->where('first_name', 'ilike', '%' . $searchTerm . '%') |
|
| 55 | + ->orWhere('last_name', 'ilike', '%' . $searchTerm . '%'); |
|
| 56 | 56 | }); |
| 57 | 57 | } |
| 58 | 58 | ]); |
@@ -63,7 +63,7 @@ discard block |
||
| 63 | 63 | 'label' => 'Applicant Email', |
| 64 | 64 | 'searchLogic' => function ($query, $column, $searchTerm) { |
| 65 | 65 | $query->orWhereHas('applicant.user', function ($q) use ($searchTerm) { |
| 66 | - $q->where('email', 'ilike', '%'.$searchTerm.'%'); |
|
| 66 | + $q->where('email', 'ilike', '%' . $searchTerm . '%'); |
|
| 67 | 67 | }); |
| 68 | 68 | } |
| 69 | 69 | ]); |
@@ -40,7 +40,7 @@ |
||
| 40 | 40 | 'searchLogic' => function ($query, $column, $searchTerm) { |
| 41 | 41 | $query->orWhereHas('user', function ($q) use ($searchTerm) { |
| 42 | 42 | $q->where('first_name', 'ilike', '%'.$searchTerm.'%') |
| 43 | - ->orWhere('last_name', 'ilike', '%'.$searchTerm.'%'); |
|
| 43 | + ->orWhere('last_name', 'ilike', '%'.$searchTerm.'%'); |
|
| 44 | 44 | }); |
| 45 | 45 | } |
| 46 | 46 | ]); |
@@ -39,8 +39,8 @@ discard block |
||
| 39 | 39 | 'label' => 'Full Name', |
| 40 | 40 | 'searchLogic' => function ($query, $column, $searchTerm) { |
| 41 | 41 | $query->orWhereHas('user', function ($q) use ($searchTerm) { |
| 42 | - $q->where('first_name', 'ilike', '%'.$searchTerm.'%') |
|
| 43 | - ->orWhere('last_name', 'ilike', '%'.$searchTerm.'%'); |
|
| 42 | + $q->where('first_name', 'ilike', '%' . $searchTerm . '%') |
|
| 43 | + ->orWhere('last_name', 'ilike', '%' . $searchTerm . '%'); |
|
| 44 | 44 | }); |
| 45 | 45 | } |
| 46 | 46 | ]); |
@@ -51,7 +51,7 @@ discard block |
||
| 51 | 51 | 'label' => 'Email', |
| 52 | 52 | 'searchLogic' => function ($query, $column, $searchTerm) { |
| 53 | 53 | $query->orWhereHas('user', function ($q) use ($searchTerm) { |
| 54 | - $q->where('email', 'ilike', '%'.$searchTerm.'%'); |
|
| 54 | + $q->where('email', 'ilike', '%' . $searchTerm . '%'); |
|
| 55 | 55 | }); |
| 56 | 56 | } |
| 57 | 57 | ]); |
@@ -773,8 +773,8 @@ |
||
| 773 | 773 | ->middleware('can:downloadApplicants,jobPoster') |
| 774 | 774 | ->name('admin.jobs.download.applicants'); |
| 775 | 775 | |
| 776 | - /* View Applicant Profile */ |
|
| 777 | - Route::get('applicants/{applicant}', 'ApplicantProfileController@profile') |
|
| 776 | + /* View Applicant Profile */ |
|
| 777 | + Route::get('applicants/{applicant}', 'ApplicantProfileController@profile') |
|
| 778 | 778 | ->middleware('can:view,applicant') |
| 779 | 779 | ->name('admin.applicants.profile'); |
| 780 | 780 | } |