@@ -55,8 +55,8 @@ discard block |
||
55 | 55 | { |
56 | 56 | $qb = $this->createQueryBuilder(); |
57 | 57 | $qb->hydrate(false) |
58 | - ->select('applyId') |
|
59 | - ->field('applyId')->equals($applyId); |
|
58 | + ->select('applyId') |
|
59 | + ->field('applyId')->equals($applyId); |
|
60 | 60 | |
61 | 61 | $result = $qb->getQuery()->execute(); |
62 | 62 | $count = $result->count(); |
@@ -136,7 +136,7 @@ discard block |
||
136 | 136 | $qb = $this->createQueryBuilder(); |
137 | 137 | $qb->distinct('organization') |
138 | 138 | ->hydrate(true) |
139 | - ->field('status.name')->notIn([ StatusInterface::EXPIRED, StatusInterface::INACTIVE ]); |
|
139 | + ->field('status.name')->notIn([ StatusInterface::EXPIRED, StatusInterface::INACTIVE ]); |
|
140 | 140 | |
141 | 141 | $q = $qb->getQuery(); |
142 | 142 | $r = $q->execute(); |
@@ -206,8 +206,8 @@ discard block |
||
206 | 206 | |
207 | 207 | if (null !== $isDeleted) { |
208 | 208 | $qb->addAnd( |
209 | - $qb->expr()->addOr($qb->expr()->field('isDeleted')->equals($isDeleted)) |
|
210 | - ->addOr($qb->expr()->field('isDeleted')->exists(false)) |
|
209 | + $qb->expr()->addOr($qb->expr()->field('isDeleted')->equals($isDeleted)) |
|
210 | + ->addOr($qb->expr()->field('isDeleted')->exists(false)) |
|
211 | 211 | ); |
212 | 212 | } |
213 | 213 |
@@ -27,10 +27,10 @@ discard block |
||
27 | 27 | { |
28 | 28 | $qb = $this->createQueryBuilder(); |
29 | 29 | $qb->hydrate(true) |
30 | - ->select('entity') |
|
31 | - ->field('sourceId')->equals($jobEntity->id) |
|
32 | - ->sort('dateCreated', 'desc') |
|
33 | - ->limit(1); |
|
30 | + ->select('entity') |
|
31 | + ->field('sourceId')->equals($jobEntity->id) |
|
32 | + ->sort('dateCreated', 'desc') |
|
33 | + ->limit(1); |
|
34 | 34 | |
35 | 35 | $result = $qb->getQuery()->execute(); |
36 | 36 | if ($result->count() == 0) { |
@@ -53,9 +53,9 @@ discard block |
||
53 | 53 | // So we need to create a cursor, that skips the first Document |
54 | 54 | $qb = $this->createQueryBuilder(); |
55 | 55 | $qb->hydrate(false) |
56 | - ->select('entity') |
|
57 | - ->field('sourceId')->equals($jobEntity->id) |
|
58 | - ->sort('dateCreated', 'desc'); |
|
56 | + ->select('entity') |
|
57 | + ->field('sourceId')->equals($jobEntity->id) |
|
58 | + ->sort('dateCreated', 'desc'); |
|
59 | 59 | $result = $qb->getQuery()->execute()->skip(1); |
60 | 60 | foreach ($result as $item) { |
61 | 61 | $id = $item['_id']; |
@@ -36,7 +36,7 @@ |
||
36 | 36 | if (true === $this->getOption('include_all_option')) { |
37 | 37 | $valueOptions = array_merge([ |
38 | 38 | 'all' => /*@translate*/ 'All', |
39 | - ], $valueOptions); |
|
39 | + ], $valueOptions); |
|
40 | 40 | } |
41 | 41 | |
42 | 42 | $this->setValueOptions($valueOptions); |
@@ -62,6 +62,6 @@ |
||
62 | 62 | ) |
63 | 63 | ) |
64 | 64 | ) |
65 | - ); |
|
65 | + ); |
|
66 | 66 | } |
67 | 67 | } |
@@ -60,9 +60,9 @@ |
||
60 | 60 | protected function addButtonsFieldset() |
61 | 61 | { |
62 | 62 | $this->add( |
63 | - array( |
|
64 | - 'type' => 'Jobs/MultipostButtonFieldset' |
|
65 | - ) |
|
63 | + array( |
|
64 | + 'type' => 'Jobs/MultipostButtonFieldset' |
|
65 | + ) |
|
66 | 66 | ); |
67 | 67 | } |
68 | 68 | } |
@@ -17,7 +17,7 @@ |
||
17 | 17 | { |
18 | 18 | parent::init(); |
19 | 19 | $input = $this->get('applyId') |
20 | - ->getValidatorChain() |
|
21 | - ->attachByName('Jobs/Form/UniqueApplyId'); |
|
20 | + ->getValidatorChain() |
|
21 | + ->attachByName('Jobs/Form/UniqueApplyId'); |
|
22 | 22 | } |
23 | 23 | } |
@@ -64,10 +64,10 @@ |
||
64 | 64 | $imageUrl = $image ? $image->getUri() : ''; |
65 | 65 | |
66 | 66 | $options[$org->getId()] = $name . '|' |
67 | - . $contact->getCity() . '|' |
|
68 | - . $contact->getStreet() . '|' |
|
69 | - . $contact->getHouseNumber() . '|' |
|
70 | - . $imageUrl; |
|
67 | + . $contact->getCity() . '|' |
|
68 | + . $contact->getStreet() . '|' |
|
69 | + . $contact->getHouseNumber() . '|' |
|
70 | + . $imageUrl; |
|
71 | 71 | } |
72 | 72 | |
73 | 73 | return $this->setValueOptions($options); |
@@ -38,7 +38,7 @@ discard block |
||
38 | 38 | 'options' => [ |
39 | 39 | 'enable_descriptions' => true, |
40 | 40 | 'description' => /*@translate*/ 'Manage the professions you want to assign to jobs.' . |
41 | - /*@translate*/ 'The order of categories can be modified by drag&drop.', |
|
41 | + /*@translate*/ 'The order of categories can be modified by drag&drop.', |
|
42 | 42 | 'display_mode' => SummaryForm::DISPLAY_SUMMARY, |
43 | 43 | ], |
44 | 44 | ], |
@@ -57,7 +57,7 @@ discard block |
||
57 | 57 | 'options' => [ |
58 | 58 | 'enable_descriptions' => true, |
59 | 59 | 'description' => /*@translate*/ 'Manage the industries you want to assign to jobs.' . |
60 | - /*@translate*/ 'The order of categories can be modified by drag&drop.', |
|
60 | + /*@translate*/ 'The order of categories can be modified by drag&drop.', |
|
61 | 61 | 'display_mode' => SummaryForm::DISPLAY_SUMMARY, |
62 | 62 | ], |
63 | 63 | ], |
@@ -76,7 +76,7 @@ discard block |
||
76 | 76 | 'options' => [ |
77 | 77 | 'enable_descriptions' => true, |
78 | 78 | 'description' => /*@translate*/ 'Manage the employment types you want to assign to jobs.'. |
79 | - /*@translate*/ 'The order of categories can be modified by drag&drop.', |
|
79 | + /*@translate*/ 'The order of categories can be modified by drag&drop.', |
|
80 | 80 | 'display_mode' => SummaryForm::DISPLAY_SUMMARY, |
81 | 81 | ], |
82 | 82 | ], |
@@ -42,13 +42,13 @@ |
||
42 | 42 | |
43 | 43 | $this->add( |
44 | 44 | array( |
45 | - 'type' => 'Jobs/MultipostingSelect', |
|
46 | - 'property' => true, |
|
47 | - 'name' => 'portals', |
|
48 | - 'options' => array( |
|
49 | - 'label' => /*@translate*/ 'Portals', |
|
50 | - ), |
|
51 | - ) |
|
45 | + 'type' => 'Jobs/MultipostingSelect', |
|
46 | + 'property' => true, |
|
47 | + 'name' => 'portals', |
|
48 | + 'options' => array( |
|
49 | + 'label' => /*@translate*/ 'Portals', |
|
50 | + ), |
|
51 | + ) |
|
52 | 52 | ); |
53 | 53 | } |
54 | 54 |