@@ -33,7 +33,7 @@ |
||
| 33 | 33 | */ |
| 34 | 34 | public function updateCollectionItems(&$collection) |
| 35 | 35 | { |
| 36 | - $collection = $collection->filterByCallback(function ($item) { |
|
| 36 | + $collection = $collection->filterByCallback(function($item) { |
|
| 37 | 37 | return ( |
| 38 | 38 | $item->PostDate <= DBDatetime::now() && |
| 39 | 39 | $item->EndPostDate >= DBDatetime::now() |
@@ -151,7 +151,7 @@ |
||
| 151 | 151 | */ |
| 152 | 152 | public function getCMSFields() |
| 153 | 153 | { |
| 154 | - $this->beforeUpdateCMSFields(function ($fields) { |
|
| 154 | + $this->beforeUpdateCMSFields(function($fields) { |
|
| 155 | 155 | $fields->dataFieldByName('Title') |
| 156 | 156 | ->setTitle('Position Name'); |
| 157 | 157 | |
@@ -81,7 +81,7 @@ |
||
| 81 | 81 | */ |
| 82 | 82 | public function getCMSFields() |
| 83 | 83 | { |
| 84 | - $this->beforeUpdateCMSFields(function ($fields) { |
|
| 84 | + $this->beforeUpdateCMSFields(function($fields) { |
|
| 85 | 85 | $app = new UploadField('Application', 'Application Form'); |
| 86 | 86 | $app |
| 87 | 87 | ->setDescription('optional - include application file to print and complete manually') |
@@ -108,7 +108,7 @@ discard block |
||
| 108 | 108 | public function getName() |
| 109 | 109 | { |
| 110 | 110 | if ($this->FirstName) { |
| 111 | - return $this->FirstName . ' ' . $this->LastName; |
|
| 111 | + return $this->FirstName.' '.$this->LastName; |
|
| 112 | 112 | } else { |
| 113 | 113 | return 'No Name'; |
| 114 | 114 | } |
@@ -205,8 +205,8 @@ discard block |
||
| 205 | 205 | $link = Controller::join_links( |
| 206 | 206 | Director::absoluteBaseURL(), |
| 207 | 207 | singleton(JobAdmin::class)->Link(), |
| 208 | - 'Dynamic-Jobs-Model-JobSubmission/EditForm/field/Dynamic-Jobs-Model-JobSubmission/item/' . |
|
| 209 | - $this->ID . '/edit' |
|
| 208 | + 'Dynamic-Jobs-Model-JobSubmission/EditForm/field/Dynamic-Jobs-Model-JobSubmission/item/'. |
|
| 209 | + $this->ID.'/edit' |
|
| 210 | 210 | ); |
| 211 | 211 | |
| 212 | 212 | return $link; |