@@ -63,7 +63,7 @@ |
||
| 63 | 63 | ); |
| 64 | 64 | |
| 65 | 65 | View::composer( |
| 66 | - ['common/relatives','common/reference','common/relatives-projects', |
|
| 66 | + ['common/relatives', 'common/reference', 'common/relatives-projects', |
|
| 67 | 67 | 'common/sample', 'common/skill', 'common/modals/create_reference'], |
| 68 | 68 | 'App\Http\ViewComposers\RelativeComposer' |
| 69 | 69 | ); |
@@ -12,7 +12,7 @@ |
||
| 12 | 12 | class ApplicationValidator |
| 13 | 13 | { |
| 14 | 14 | |
| 15 | - public $backendRules = [ |
|
| 15 | + public $backendRules = [ |
|
| 16 | 16 | 'job_poster_id' => 'required', |
| 17 | 17 | 'application_status_id' => 'required', |
| 18 | 18 | 'applicant_id' => 'required', |
@@ -108,8 +108,7 @@ |
||
| 108 | 108 | 'function' => |
| 109 | 109 | function ($entry) { |
| 110 | 110 | return $entry->submitted_applications_count() > 0 ? |
| 111 | - '<a target="_blank" href="' . route('manager.jobs.applications', $entry->id) . '">' . $entry->submitted_applications_count() . ' (View <i class="fa fa-external-link"></i>)</a>' : |
|
| 112 | - $entry->submitted_applications_count(); |
|
| 111 | + '<a target="_blank" href="' . route('manager.jobs.applications', $entry->id) . '">' . $entry->submitted_applications_count() . ' (View <i class="fa fa-external-link"></i>)</a>' : $entry->submitted_applications_count(); |
|
| 113 | 112 | } |
| 114 | 113 | ]); |
| 115 | 114 | |
@@ -786,7 +786,7 @@ discard block |
||
| 786 | 786 | ->name('api.jobs.setJobStatus'); |
| 787 | 787 | Route::resource('jobs', 'Api\JobController')->only([ |
| 788 | 788 | 'show', 'store', 'update', 'index' |
| 789 | - ])->names([ // Specify custom names because default names collied with existing routes. |
|
| 789 | + ])->names([// Specify custom names because default names collied with existing routes. |
|
| 790 | 790 | 'show' => 'api.jobs.show', |
| 791 | 791 | 'store' => 'api.jobs.store', |
| 792 | 792 | 'update' => 'api.jobs.update', |
@@ -799,7 +799,7 @@ discard block |
||
| 799 | 799 | |
| 800 | 800 | Route::resource('managers', 'Api\ManagerController')->only([ |
| 801 | 801 | 'show', 'update' |
| 802 | - ])->names([ // Specify custom names because default names collied with existing routes. |
|
| 802 | + ])->names([// Specify custom names because default names collied with existing routes. |
|
| 803 | 803 | 'show' => 'api.managers.show', |
| 804 | 804 | 'update' => 'api.managers.update' |
| 805 | 805 | ]); |