@@ -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 | ]); |
@@ -29,9 +29,9 @@ discard block |
||
| 29 | 29 | $files = Resource::all(); |
| 30 | 30 | foreach ($files as $file) { |
| 31 | 31 | array_push($resources, [ |
| 32 | - 'link' => Storage::url($file->file), |
|
| 33 | - 'title' => '', |
|
| 34 | - 'text' => $file->name, |
|
| 32 | + 'link' => Storage::url($file->file), |
|
| 33 | + 'title' => '', |
|
| 34 | + 'text' => $file->name, |
|
| 35 | 35 | ]); |
| 36 | 36 | } |
| 37 | 37 | |
@@ -44,11 +44,11 @@ discard block |
||
| 44 | 44 | $portal = WhichPortal::isHrPortal() ? 'hr' : 'manager'; |
| 45 | 45 | |
| 46 | 46 | return view('common/resources', [ |
| 47 | - // Localized strings. |
|
| 48 | - 'resources_template' => $resources_template, |
|
| 49 | - 'portal' => $portal, |
|
| 50 | - // List of resource downloads. |
|
| 51 | - 'resources' => $resources, |
|
| 47 | + // Localized strings. |
|
| 48 | + 'resources_template' => $resources_template, |
|
| 49 | + 'portal' => $portal, |
|
| 50 | + // List of resource downloads. |
|
| 51 | + 'resources' => $resources, |
|
| 52 | 52 | ]); |
| 53 | 53 | } |
| 54 | 54 | } |
@@ -81,8 +81,7 @@ discard block |
||
| 81 | 81 | 'orderable' => false, |
| 82 | 82 | 'function' => function ($entry) { |
| 83 | 83 | return $entry->isOpen() ? |
| 84 | - '<span><i class="fa fa-check-circle"></i></span>' : |
|
| 85 | - '<span><i class="fa fa-circle"></i></span>'; |
|
| 84 | + '<span><i class="fa fa-check-circle"></i></span>' : '<span><i class="fa fa-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="fa fa-check-circle"></i></span>' : |
|
| 96 | - '<span><i class="fa fa-circle"></i></span>'; |
|
| 94 | + '<span><i class="fa fa-check-circle"></i></span>' : '<span><i class="fa fa-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="fa fa-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="fa fa-external-link"></i>)</a>' : $entry->submitted_applications_count(); |
|
| 129 | 126 | } |
| 130 | 127 | ]); |
| 131 | 128 | |
@@ -40,7 +40,7 @@ discard block |
||
| 40 | 40 | 'limit' => 120, |
| 41 | 41 | ]); |
| 42 | 42 | |
| 43 | - $this->crud->addField([ // Select |
|
| 43 | + $this->crud->addField([// Select |
|
| 44 | 44 | 'label' => 'Owner User Role', |
| 45 | 45 | 'type' => 'select', |
| 46 | 46 | 'name' => 'owner_user_role_id', // the db column for the foreign key |
@@ -50,7 +50,7 @@ discard block |
||
| 50 | 50 | 'attributes' => ['disabled' => 'disabled'] |
| 51 | 51 | ]); |
| 52 | 52 | |
| 53 | - $this->crud->addField([ // Select |
|
| 53 | + $this->crud->addField([// Select |
|
| 54 | 54 | 'label' => 'From Status', |
| 55 | 55 | 'type' => 'select', |
| 56 | 56 | 'name' => 'from_job_poster_status_id', // the db column for the foreign key |
@@ -60,7 +60,7 @@ discard block |
||
| 60 | 60 | 'attributes' => ['disabled' => 'disabled'] |
| 61 | 61 | ]); |
| 62 | 62 | |
| 63 | - $this->crud->addField([ // Select |
|
| 63 | + $this->crud->addField([// Select |
|
| 64 | 64 | 'label' => 'To Status', |
| 65 | 65 | 'type' => 'select', |
| 66 | 66 | 'name' => 'to_job_poster_status_id', // the db column for the foreign key |