@@ -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 | ]); |