| @@ -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 | ); | 
| @@ -79,8 +79,7 @@ | ||
| 79 | 79 | 'function' => | 
| 80 | 80 |                  function ($entry) { | 
| 81 | 81 | return $entry->submitted_applications_count() > 0 ? | 
| 82 | -                        '<a target="_blank" href="' . route('manager.jobs.applications', $entry->id) . '">' . $entry->submitted_applications_count() . ' (View <i class="fa fa-external-link"></i>)</a>' : | |
| 83 | - $entry->submitted_applications_count(); | |
| 82 | +                        '<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(); | |
| 84 | 83 | } | 
| 85 | 84 | ]); | 
| 86 | 85 | |
| @@ -566,7 +566,7 @@ | ||
| 566 | 566 | return 1; // Draft. | 
| 567 | 567 |          } elseif ($this->published_at === null) { | 
| 568 | 568 | return 2; // Review requested, but not approved. | 
| 569 | -        } elseif ($this->open_date_time === null || $this->open_date_time >$now) { | |
| 569 | +        } elseif ($this->open_date_time === null || $this->open_date_time > $now) { | |
| 570 | 570 | return 3; // Approved, but not open. | 
| 571 | 571 |          } elseif ($this->close_date_time === null || $this->close_date_time > $now) { | 
| 572 | 572 | // Approved and currently open. | 
| @@ -655,7 +655,7 @@ discard block | ||
| 655 | 655 |          ->name('api.jobs.submit'); | 
| 656 | 656 |      Route::resource('jobs', 'Api\JobApiController')->only([ | 
| 657 | 657 | 'show', 'store', 'update', 'index' | 
| 658 | - ])->names([ // Specify custom names because default names collied with existing routes. | |
| 658 | + ])->names([// Specify custom names because default names collied with existing routes. | |
| 659 | 659 | 'show' => 'api.jobs.show', | 
| 660 | 660 | 'store' => 'api.jobs.store', | 
| 661 | 661 | 'update' => 'api.jobs.update', | 
| @@ -664,7 +664,7 @@ discard block | ||
| 664 | 664 | |
| 665 | 665 |      Route::resource('managers', 'Api\ManagerApiController')->only([ | 
| 666 | 666 | 'show', 'update' | 
| 667 | - ])->names([ // Specify custom names because default names collied with existing routes. | |
| 667 | + ])->names([// Specify custom names because default names collied with existing routes. | |
| 668 | 668 | 'show' => 'api.managers.show', | 
| 669 | 669 | 'update' => 'api.managers.update' | 
| 670 | 670 | ]); |