@@ -34,7 +34,7 @@ |
||
34 | 34 | public function init() |
35 | 35 | { |
36 | 36 | $this->setHydrator(new \Core\Entity\Hydrator\EntityHydrator()) |
37 | - ->setName('base'); |
|
37 | + ->setName('base'); |
|
38 | 38 | |
39 | 39 | $this->add( |
40 | 40 | array( |
@@ -20,7 +20,7 @@ |
||
20 | 20 | public function init() |
21 | 21 | { |
22 | 22 | $this->setName('carboncopy') |
23 | - ->setLabel('Options'); |
|
23 | + ->setLabel('Options'); |
|
24 | 24 | |
25 | 25 | $this->add( |
26 | 26 | array( |
@@ -51,14 +51,14 @@ |
||
51 | 51 | $fileId = new \MongoId($file->id); |
52 | 52 | |
53 | 53 | $dm->createQueryBuilder('Applications\Entity\Application') |
54 | - ->update()->multiple(true) |
|
55 | - ->field('attachments')->equals($fileId)->pull($fileId) |
|
56 | - ->getQuery()->execute(); |
|
54 | + ->update()->multiple(true) |
|
55 | + ->field('attachments')->equals($fileId)->pull($fileId) |
|
56 | + ->getQuery()->execute(); |
|
57 | 57 | |
58 | 58 | |
59 | 59 | $dm->createQueryBuilder('Applications\Entity\Application') |
60 | - ->update()->multiple(true) |
|
61 | - ->field('contact.image')->equals($fileId)->set(null) |
|
62 | - ->getQuery()->execute(); |
|
60 | + ->update()->multiple(true) |
|
61 | + ->field('contact.image')->equals($fileId)->set(null) |
|
62 | + ->getQuery()->execute(); |
|
63 | 63 | } |
64 | 64 | } |
@@ -56,8 +56,8 @@ discard block |
||
56 | 56 | |
57 | 57 | foreach ($document->getAttachments() as $attachment) { |
58 | 58 | $attachment->getPermissions() |
59 | - ->clear() |
|
60 | - ->inherit($permissions); |
|
59 | + ->clear() |
|
60 | + ->inherit($permissions); |
|
61 | 61 | if ($isUpdate) { |
62 | 62 | $uow->computeChangeSet( |
63 | 63 | $dm->getClassMetadata(get_class($attachment)), |
@@ -68,8 +68,8 @@ discard block |
||
68 | 68 | |
69 | 69 | if ($image = $document->contact->image) { |
70 | 70 | $image->getPermissions() |
71 | - ->clear() |
|
72 | - ->inherit($permissions); |
|
71 | + ->clear() |
|
72 | + ->inherit($permissions); |
|
73 | 73 | if ($isUpdate) { |
74 | 74 | $uow->computeChangeSet( |
75 | 75 | $dm->getClassMetadata(get_class($image)), |
@@ -137,8 +137,8 @@ |
||
137 | 137 | $application->changeStatus( |
138 | 138 | Status::REJECTED, |
139 | 139 | sprintf( |
140 | - /*@translate */ 'Mail was sent to %s', |
|
141 | - $application->contact->email |
|
140 | + /*@translate */ 'Mail was sent to %s', |
|
141 | + $application->contact->email |
|
142 | 142 | ) |
143 | 143 | ); |
144 | 144 | $repositoryService->store($application); |
@@ -107,7 +107,7 @@ |
||
107 | 107 | $application->comments->add($comment); |
108 | 108 | $application->changeStatus($application->getStatus(), sprintf( |
109 | 109 | /* @translate */ 'Application was rated by %s', |
110 | - $this->auth()->getUser()->getInfo()->getDisplayName()) |
|
110 | + $this->auth()->getUser()->getInfo()->getDisplayName()) |
|
111 | 111 | ); |
112 | 112 | } |
113 | 113 | $viewModel->setVariable('isSaved', true); |
@@ -37,8 +37,8 @@ |
||
37 | 37 | $headscript->appendFile($basepath('Settings/js/forms.decfs.js')); |
38 | 38 | |
39 | 39 | return '<ul class="disable-elements-list" id="' . $element->getAttribute('id') . '-list"' . '>' |
40 | - . $this->renderCheckboxes($element->getCheckboxes()) |
|
41 | - . '</ul>'; |
|
40 | + . $this->renderCheckboxes($element->getCheckboxes()) |
|
41 | + . '</ul>'; |
|
42 | 42 | |
43 | 43 | } |
44 | 44 |
@@ -27,70 +27,70 @@ discard block |
||
27 | 27 | $this->setName('invoiceAddress'); |
28 | 28 | |
29 | 29 | $this->add([ |
30 | - 'type' => 'text', |
|
31 | - 'name' => 'company', |
|
32 | - 'options' => [ |
|
33 | - 'label' => /*@translate*/ 'Company', |
|
34 | - 'description' => /*@translate*/ 'Please enter the name of the company, which should appear on the invoice address', |
|
35 | - ], |
|
36 | - 'attributes' => [ |
|
37 | - 'required' => true, // marks the label as required. |
|
38 | - ] |
|
39 | - ] |
|
30 | + 'type' => 'text', |
|
31 | + 'name' => 'company', |
|
32 | + 'options' => [ |
|
33 | + 'label' => /*@translate*/ 'Company', |
|
34 | + 'description' => /*@translate*/ 'Please enter the name of the company, which should appear on the invoice address', |
|
35 | + ], |
|
36 | + 'attributes' => [ |
|
37 | + 'required' => true, // marks the label as required. |
|
38 | + ] |
|
39 | + ] |
|
40 | 40 | ); |
41 | 41 | |
42 | 42 | $this->add([ |
43 | - 'type' => 'text', |
|
44 | - 'name' => 'street', |
|
45 | - 'options' => [ |
|
46 | - 'label' => /*@translate*/ 'Street', |
|
47 | - ], |
|
48 | - ] |
|
43 | + 'type' => 'text', |
|
44 | + 'name' => 'street', |
|
45 | + 'options' => [ |
|
46 | + 'label' => /*@translate*/ 'Street', |
|
47 | + ], |
|
48 | + ] |
|
49 | 49 | ); |
50 | 50 | |
51 | 51 | $this->add([ |
52 | - 'type' => 'text', |
|
53 | - 'name' => 'zipCode', |
|
54 | - 'options' => [ |
|
55 | - 'label' => /* @translate */ 'Postalcode' |
|
56 | - ], |
|
57 | - ] |
|
52 | + 'type' => 'text', |
|
53 | + 'name' => 'zipCode', |
|
54 | + 'options' => [ |
|
55 | + 'label' => /* @translate */ 'Postalcode' |
|
56 | + ], |
|
57 | + ] |
|
58 | 58 | ); |
59 | 59 | |
60 | 60 | $this->add([ |
61 | - 'type' => 'text', |
|
62 | - 'name' => 'city', |
|
63 | - 'options' => [ |
|
64 | - 'label' => /*@translate*/ 'City', |
|
65 | - ], |
|
66 | - ] |
|
61 | + 'type' => 'text', |
|
62 | + 'name' => 'city', |
|
63 | + 'options' => [ |
|
64 | + 'label' => /*@translate*/ 'City', |
|
65 | + ], |
|
66 | + ] |
|
67 | 67 | ); |
68 | 68 | |
69 | 69 | $this->add([ |
70 | - 'type' => 'text', |
|
71 | - 'name' => 'region', |
|
72 | - 'options' => [ |
|
73 | - 'label' => /*@translate*/ 'Region', |
|
74 | - ], |
|
75 | - ] |
|
70 | + 'type' => 'text', |
|
71 | + 'name' => 'region', |
|
72 | + 'options' => [ |
|
73 | + 'label' => /*@translate*/ 'Region', |
|
74 | + ], |
|
75 | + ] |
|
76 | 76 | ); |
77 | 77 | |
78 | 78 | $this->add([ |
79 | - 'type' => 'text', |
|
80 | - 'name' => 'country', |
|
81 | - 'options' => [ |
|
82 | - 'label' => /*@translate*/ 'Country', |
|
83 | - ], |
|
84 | - ] |
|
79 | + 'type' => 'text', |
|
80 | + 'name' => 'country', |
|
81 | + 'options' => [ |
|
82 | + 'label' => /*@translate*/ 'Country', |
|
83 | + ], |
|
84 | + ] |
|
85 | 85 | ); |
86 | 86 | |
87 | 87 | $this->add([ |
88 | - 'type' => 'text', |
|
89 | - 'name' => 'vatIdNumber', |
|
90 | - 'options' => [ |
|
91 | - 'label' => /*@translate*/ 'Value added tax ID', |
|
92 | - ], |
|
93 | - ] |
|
88 | + 'type' => 'text', |
|
89 | + 'name' => 'vatIdNumber', |
|
90 | + 'options' => [ |
|
91 | + 'label' => /*@translate*/ 'Value added tax ID', |
|
92 | + ], |
|
93 | + ] |
|
94 | 94 | ); |
95 | 95 | $this->add( |
96 | 96 | array( |
@@ -114,25 +114,25 @@ discard block |
||
114 | 114 | ); |
115 | 115 | |
116 | 116 | $this->add([ |
117 | - 'type' => 'text', |
|
118 | - 'name' => 'name', |
|
119 | - 'options' => [ |
|
120 | - 'label' => /*@translate*/ 'Contact Person', |
|
121 | - 'description' => /*@translate*/ 'Please enter the name of a contact person', |
|
122 | - ], |
|
123 | - ] |
|
117 | + 'type' => 'text', |
|
118 | + 'name' => 'name', |
|
119 | + 'options' => [ |
|
120 | + 'label' => /*@translate*/ 'Contact Person', |
|
121 | + 'description' => /*@translate*/ 'Please enter the name of a contact person', |
|
122 | + ], |
|
123 | + ] |
|
124 | 124 | ); |
125 | 125 | |
126 | 126 | $this->add([ |
127 | - 'type' => 'text', |
|
128 | - 'name' => 'email', |
|
129 | - 'options' => [ |
|
130 | - 'label' => /*@translate*/ 'Email Address', |
|
131 | - ], |
|
132 | - 'attributes' => [ |
|
133 | - 'required' => true, // marks the label as required. |
|
134 | - ] |
|
135 | - ] |
|
127 | + 'type' => 'text', |
|
128 | + 'name' => 'email', |
|
129 | + 'options' => [ |
|
130 | + 'label' => /*@translate*/ 'Email Address', |
|
131 | + ], |
|
132 | + 'attributes' => [ |
|
133 | + 'required' => true, // marks the label as required. |
|
134 | + ] |
|
135 | + ] |
|
136 | 136 | ); |
137 | 137 | } |
138 | 138 |
@@ -211,14 +211,14 @@ |
||
211 | 211 | { |
212 | 212 | return $this->repository; |
213 | 213 | } |
214 | - /** |
|
215 | - * @param SocialProfilePlugin |
|
216 | - * @return HybridAuth |
|
217 | - */ |
|
218 | - public function setSocialProfilePlugin(SocialProfilePlugin $socialProfilePlugin) |
|
219 | - { |
|
220 | - $this->socialProfilePlugin = $socialProfilePlugin; |
|
214 | + /** |
|
215 | + * @param SocialProfilePlugin |
|
216 | + * @return HybridAuth |
|
217 | + */ |
|
218 | + public function setSocialProfilePlugin(SocialProfilePlugin $socialProfilePlugin) |
|
219 | + { |
|
220 | + $this->socialProfilePlugin = $socialProfilePlugin; |
|
221 | 221 | |
222 | - return $this; |
|
223 | - } |
|
222 | + return $this; |
|
223 | + } |
|
224 | 224 | } |