@@ -81,7 +81,7 @@ |
||
81 | 81 | if (!is_null($this->redirect)) { |
82 | 82 | return $this->redirect; |
83 | 83 | } |
84 | - return $this->redirect = Intraface_Redirect::factory($this->getKernel(), 'receive'); |
|
84 | + return $this->redirect = Intraface_Redirect::factory($this->getKernel(), 'receive'); |
|
85 | 85 | } |
86 | 86 | |
87 | 87 | function isAddUserTrue() |
@@ -246,6 +246,6 @@ |
||
246 | 246 | |
247 | 247 | function getFontSize() |
248 | 248 | { |
249 | - return $this->getKernel()->setting->get('user', 'ptextsize'); |
|
249 | + return $this->getKernel()->setting->get('user', 'ptextsize'); |
|
250 | 250 | } |
251 | 251 | } |
@@ -426,7 +426,7 @@ discard block |
||
426 | 426 | return $this->prepareResponseData($this->cleanUpProductList($product->getRelatedProducts($currencies, 'webshop'))); |
427 | 427 | } |
428 | 428 | |
429 | - /** |
|
429 | + /** |
|
430 | 430 | * Gets featured products |
431 | 431 | * |
432 | 432 | * Method is experimental and only used by discimport.dk. If you need to use it |
@@ -477,7 +477,7 @@ discard block |
||
477 | 477 | |
478 | 478 | } |
479 | 479 | |
480 | - /** |
|
480 | + /** |
|
481 | 481 | * Gets product keywords which can be used to sort ones webshop |
482 | 482 | * |
483 | 483 | * |
@@ -154,7 +154,7 @@ discard block |
||
154 | 154 | return $product->getRelatedProducts(); |
155 | 155 | } |
156 | 156 | |
157 | - /** |
|
157 | + /** |
|
158 | 158 | * Gets featured products |
159 | 159 | * |
160 | 160 | * Method is experimental and only used by discimport.dk. If you need to use it |
@@ -199,7 +199,7 @@ discard block |
||
199 | 199 | |
200 | 200 | } |
201 | 201 | |
202 | - /** |
|
202 | + /** |
|
203 | 203 | * Gets product keywords which can be used to sort ones webshop |
204 | 204 | * |
205 | 205 | * Method is experimental and only used by nylivsstil.dk. If you need to use it |
@@ -590,7 +590,7 @@ discard block |
||
590 | 590 | return $this->prepareResponseData($this->cleanUpProductList($product->getRelatedProducts($currencies, 'webshop'))); |
591 | 591 | } |
592 | 592 | |
593 | - /** |
|
593 | + /** |
|
594 | 594 | * Gets featured products |
595 | 595 | * |
596 | 596 | * Method is experimental and only used by discimport.dk. If you need to use it |
@@ -641,7 +641,7 @@ discard block |
||
641 | 641 | |
642 | 642 | } |
643 | 643 | |
644 | - /** |
|
644 | + /** |
|
645 | 645 | * Gets product keywords which can be used to sort ones webshop |
646 | 646 | * |
647 | 647 | * |
@@ -233,7 +233,7 @@ discard block |
||
233 | 233 | return $this->prepareResponseData($product->getRelatedProducts()); |
234 | 234 | } |
235 | 235 | |
236 | - /** |
|
236 | + /** |
|
237 | 237 | * Gets featured products |
238 | 238 | * |
239 | 239 | * Method is experimental and only used by discimport.dk. If you need to use it |
@@ -278,7 +278,7 @@ discard block |
||
278 | 278 | |
279 | 279 | } |
280 | 280 | |
281 | - /** |
|
281 | + /** |
|
282 | 282 | * Gets product keywords which can be used to sort ones webshop |
283 | 283 | * |
284 | 284 | * |
@@ -170,12 +170,12 @@ |
||
170 | 170 | } |
171 | 171 | |
172 | 172 | $data = array('contact_id' => $debtor->getContact()->getId(), |
173 | - 'subject' => $subject, |
|
174 | - 'body' => $body, |
|
175 | - 'from_email' => $this->kernel->intranet->address->get('email'), |
|
176 | - 'from_name' => $this->kernel->intranet->address->get('name'), |
|
177 | - 'type_id' => 13, // onlinepayment |
|
178 | - 'belong_to' => $payment_id); |
|
173 | + 'subject' => $subject, |
|
174 | + 'body' => $body, |
|
175 | + 'from_email' => $this->kernel->intranet->address->get('email'), |
|
176 | + 'from_name' => $this->kernel->intranet->address->get('name'), |
|
177 | + 'type_id' => 13, // onlinepayment |
|
178 | + 'belong_to' => $payment_id); |
|
179 | 179 | |
180 | 180 | if (!$email->save($data)) { |
181 | 181 | throw new Exception('Could not save email to onlinepayment'); |
@@ -119,12 +119,12 @@ |
||
119 | 119 | $body .= "\n\nYours sincerely / Venlig hilsen\n". $this->kernel->intranet->address->get('name'); |
120 | 120 | |
121 | 121 | $data = array('contact_id' => $debtor->getContact()->getId(), |
122 | - 'subject' => $subject, |
|
123 | - 'body' => $body, |
|
124 | - 'from_email' => $this->kernel->intranet->address->get('email'), |
|
125 | - 'from_name' => $this->kernel->intranet->address->get('name'), |
|
126 | - 'type_id' => 13, // onlinepayment |
|
127 | - 'belong_to' => $payment_id); |
|
122 | + 'subject' => $subject, |
|
123 | + 'body' => $body, |
|
124 | + 'from_email' => $this->kernel->intranet->address->get('email'), |
|
125 | + 'from_name' => $this->kernel->intranet->address->get('name'), |
|
126 | + 'type_id' => 13, // onlinepayment |
|
127 | + 'belong_to' => $payment_id); |
|
128 | 128 | |
129 | 129 | if (!$email->save($data)) { |
130 | 130 | throw new Exception('Could not save email to onlinepayment'); |
@@ -114,12 +114,12 @@ |
||
114 | 114 | $body .= "\n\nYours sincerely / Venlig hilsen\n". $this->kernel->intranet->address->get('name'); |
115 | 115 | |
116 | 116 | $data = array('contact_id' => $debtor->getContact()->getId(), |
117 | - 'subject' => $subject, |
|
118 | - 'body' => $body, |
|
119 | - 'from_email' => $this->kernel->intranet->address->get('email'), |
|
120 | - 'from_name' => $this->kernel->intranet->address->get('name'), |
|
121 | - 'type_id' => 13, // onlinepayment |
|
122 | - 'belong_to' => $payment_id); |
|
117 | + 'subject' => $subject, |
|
118 | + 'body' => $body, |
|
119 | + 'from_email' => $this->kernel->intranet->address->get('email'), |
|
120 | + 'from_name' => $this->kernel->intranet->address->get('name'), |
|
121 | + 'type_id' => 13, // onlinepayment |
|
122 | + 'belong_to' => $payment_id); |
|
123 | 123 | |
124 | 124 | if (!$email->save($data)) { |
125 | 125 | throw new Exception('Could not save email to onlinepayment'); |