@@ -32,7 +32,7 @@ discard block |
||
32 | 32 | { |
33 | 33 | $db = new DB_Sql; |
34 | 34 | $sql = "SELECT id FROM debtor |
35 | - WHERE type=3 AND status=1 AND active = 1 AND due_date < NOW() AND intranet_id = ".$this->kernel->intranet->get("id")." AND contact_id = " . $contact_id; |
|
35 | + WHERE type=3 AND status=1 AND active = 1 AND due_date < NOW() AND intranet_id = ".$this->kernel->intranet->get("id")." AND contact_id = ".$contact_id; |
|
36 | 36 | $db->query($sql); |
37 | 37 | |
38 | 38 | return $db->numRows(); |
@@ -129,12 +129,12 @@ discard block |
||
129 | 129 | for ($i = 0, $max = count($items); $i < $max; $i++) { |
130 | 130 | $product = new Product($this->kernel, $items[$i]['product_id']); |
131 | 131 | if ($product->get('state_account_id') == 0) { |
132 | - $this->error->set('Produktet ' . $product->get('name') . ' ved ikke hvor den skal bogf�res'); |
|
132 | + $this->error->set('Produktet '.$product->get('name').' ved ikke hvor den skal bogf�res'); |
|
133 | 133 | } else { |
134 | 134 | require_once 'Intraface/modules/accounting/Account.php'; |
135 | 135 | $account = Account::factory($year, $product->get('state_account_id')); |
136 | 136 | if ($account->get('id') == 0 || $account->get('type') != 'operating') { |
137 | - $this->error->set('Ugyldig konto for bogføring af produktet ' . $product->get('name')); |
|
137 | + $this->error->set('Ugyldig konto for bogføring af produktet '.$product->get('name')); |
|
138 | 138 | $return = false; |
139 | 139 | } |
140 | 140 | } |
@@ -207,7 +207,7 @@ discard block |
||
207 | 207 | $debet_account_number = $debet_account->get('number'); |
208 | 208 | $voucher = Voucher::factory($year, $voucher_number); |
209 | 209 | |
210 | - $amount = $item['quantity'] * $item['price']->getAsIso(2); |
|
210 | + $amount = $item['quantity']*$item['price']->getAsIso(2); |
|
211 | 211 | |
212 | 212 | // hvis bel�bet er mindre end nul, skal konti byttes om og bel�bet skal g�res positivt |
213 | 213 | if ($amount < 0) { |
@@ -224,11 +224,11 @@ discard block |
||
224 | 224 | 'debet_account_number' => $debet_account_number, |
225 | 225 | 'credit_account_number' => $credit_account_number, |
226 | 226 | 'vat_off' => 1, |
227 | - 'text' => $text . ' - ' . $item['name'] |
|
227 | + 'text' => $text.' - '.$item['name'] |
|
228 | 228 | ); |
229 | 229 | |
230 | 230 | if ($credit_account->get('vat') == 'out') { |
231 | - $total_with_vat += $item["quantity"] * $item["price"]->getAsIso(2); |
|
231 | + $total_with_vat += $item["quantity"]*$item["price"]->getAsIso(2); |
|
232 | 232 | } |
233 | 233 | |
234 | 234 | if (!$voucher->saveInDaybook($input_values, true)) { |
@@ -241,16 +241,16 @@ discard block |
||
241 | 241 | if ($total_with_vat > 0) { |
242 | 242 | $voucher = Voucher::factory($year, $voucher_number); |
243 | 243 | $credit_account = new Account($year, $year->getSetting('vat_out_account_id')); |
244 | - $debet_account = new Account($year, $year->getSetting('debtor_account_id')); |
|
244 | + $debet_account = new Account($year, $year->getSetting('debtor_account_id')); |
|
245 | 245 | $input_values = array( |
246 | 246 | 'voucher_number' => $voucher_number, |
247 | 247 | 'reference' => $this->get('number'), |
248 | 248 | 'date' => $voucher_date, |
249 | - 'amount' => number_format($total_with_vat * $this->kernel->setting->get('intranet', 'vatpercent') / 100, 2, ",", "."), // opm�rksom p� at vat bliver rigtig defineret |
|
249 | + 'amount' => number_format($total_with_vat*$this->kernel->setting->get('intranet', 'vatpercent')/100, 2, ",", "."), // opm�rksom p� at vat bliver rigtig defineret |
|
250 | 250 | 'debet_account_number' => $debet_account->get('number'), |
251 | 251 | 'credit_account_number' => $credit_account->get('number'), |
252 | 252 | 'vat_off' => 1, |
253 | - 'text' => $text . ' - ' . $credit_account->get('name') |
|
253 | + 'text' => $text.' - '.$credit_account->get('name') |
|
254 | 254 | ); |
255 | 255 | if (!$voucher->saveInDaybook($input_values, true)) { |
256 | 256 | $this->error->merge($voucher->error->getMessage()); |
@@ -259,7 +259,7 @@ discard block |
||
259 | 259 | |
260 | 260 | require_once 'Intraface/modules/accounting/VoucherFile.php'; |
261 | 261 | $voucher_file = new VoucherFile($voucher); |
262 | - if (!$voucher_file->save(array('description' => $text, 'belong_to'=>'invoice','belong_to_id'=>$this->get('id')))) { |
|
262 | + if (!$voucher_file->save(array('description' => $text, 'belong_to'=>'invoice', 'belong_to_id'=>$this->get('id')))) { |
|
263 | 263 | $this->error->merge($voucher_file->error->getMessage()); |
264 | 264 | $this->error->set('Filen blev ikke overflyttet'); |
265 | 265 | } |
@@ -126,7 +126,7 @@ discard block |
||
126 | 126 | |
127 | 127 | function isNumberFree($number) |
128 | 128 | { |
129 | - $sql = "SELECT id FROM invoice_reminder WHERE number = ".intval($number)." AND id != ".$this->id . " AND intranet_id = " . $this->kernel->intranet->get('id'); |
|
129 | + $sql = "SELECT id FROM invoice_reminder WHERE number = ".intval($number)." AND id != ".$this->id." AND intranet_id = ".$this->kernel->intranet->get('id'); |
|
130 | 130 | $this->db->query($sql); |
131 | 131 | if ($this->db->nextRecord()) { |
132 | 132 | return false; |
@@ -339,7 +339,7 @@ discard block |
||
339 | 339 | } |
340 | 340 | |
341 | 341 | $db = new Db_Sql; |
342 | - $db->query("UPDATE invoice_reminder SET status = ".$status_id.", ".$sql." WHERE id = " . $this->id . " AND intranet_id = " . $this->kernel->intranet->get('id')); |
|
342 | + $db->query("UPDATE invoice_reminder SET status = ".$status_id.", ".$sql." WHERE id = ".$this->id." AND intranet_id = ".$this->kernel->intranet->get('id')); |
|
343 | 343 | $this->load(); |
344 | 344 | return true; |
345 | 345 | } |
@@ -477,14 +477,14 @@ discard block |
||
477 | 477 | } |
478 | 478 | $db = new DB_Sql; |
479 | 479 | $db->query("SELECT id |
480 | - FROM invoice_reminder WHERE intranet_id = ".$this->kernel->intranet->get("id")." AND active = 1 AND contact_id=" . $contact_id); |
|
480 | + FROM invoice_reminder WHERE intranet_id = ".$this->kernel->intranet->get("id")." AND active = 1 AND contact_id=".$contact_id); |
|
481 | 481 | return $db->numRows(); |
482 | 482 | } |
483 | 483 | |
484 | 484 | function isFilledIn() |
485 | 485 | { |
486 | 486 | $db = new DB_Sql; |
487 | - $db->query("SELECT id FROM invoice_reminder WHERE intranet_id = " . $this->kernel->intranet->get('id')); |
|
487 | + $db->query("SELECT id FROM invoice_reminder WHERE intranet_id = ".$this->kernel->intranet->get('id')); |
|
488 | 488 | return $db->numRows(); |
489 | 489 | } |
490 | 490 | |
@@ -500,7 +500,7 @@ discard block |
||
500 | 500 | { |
501 | 501 | // FIXME - check on date |
502 | 502 | $db = new DB_Sql; |
503 | - $db->query("UPDATE invoice_reminder SET date_stated = '" . $voucher_date . "', voucher_id = '".$voucher_id."' WHERE id = " . $this->id . " AND intranet_id = " . $this->kernel->intranet->get('id')); |
|
503 | + $db->query("UPDATE invoice_reminder SET date_stated = '".$voucher_date."', voucher_id = '".$voucher_id."' WHERE id = ".$this->id." AND intranet_id = ".$this->kernel->intranet->get('id')); |
|
504 | 504 | return true; |
505 | 505 | } |
506 | 506 | |
@@ -647,7 +647,7 @@ discard block |
||
647 | 647 | |
648 | 648 | require_once 'Intraface/modules/accounting/VoucherFile.php'; |
649 | 649 | $voucher_file = new VoucherFile($voucher); |
650 | - if (!$voucher_file->save(array('description' => $text, 'belong_to'=>'reminder','belong_to_id'=>$this->get('id')))) { |
|
650 | + if (!$voucher_file->save(array('description' => $text, 'belong_to'=>'reminder', 'belong_to_id'=>$this->get('id')))) { |
|
651 | 651 | $this->error->merge($voucher_file->error->getMessage()); |
652 | 652 | $this->error->set('Filen blev ikke overflyttet'); |
653 | 653 | } |
@@ -24,7 +24,7 @@ discard block |
||
24 | 24 | |
25 | 25 | function findById($id) |
26 | 26 | { |
27 | - require_once dirname(__FILE__) . '/Reminder.php'; |
|
27 | + require_once dirname(__FILE__).'/Reminder.php'; |
|
28 | 28 | return new Reminder($this->kernel, $id); |
29 | 29 | } |
30 | 30 | |
@@ -39,14 +39,14 @@ discard block |
||
39 | 39 | } |
40 | 40 | $db = new DB_Sql; |
41 | 41 | $db->query("SELECT id |
42 | - FROM invoice_reminder WHERE intranet_id = ".$this->kernel->intranet->get("id")." AND active = 1 AND contact_id=" . $contact_id); |
|
42 | + FROM invoice_reminder WHERE intranet_id = ".$this->kernel->intranet->get("id")." AND active = 1 AND contact_id=".$contact_id); |
|
43 | 43 | return $db->numRows(); |
44 | 44 | } |
45 | 45 | |
46 | 46 | function setNewContactId($old_contact_id, $new_contact_id) |
47 | 47 | { |
48 | 48 | $db = new DB_Sql; |
49 | - $db->query('UPDATE invoice_reminder SET contact_id = ' . $new_contact_id . ' WHERE contact_id = ' . $old_contact_id); |
|
49 | + $db->query('UPDATE invoice_reminder SET contact_id = '.$new_contact_id.' WHERE contact_id = '.$old_contact_id); |
|
50 | 50 | return true; |
51 | 51 | } |
52 | 52 | |
@@ -157,7 +157,7 @@ discard block |
||
157 | 157 | function isFilledIn() |
158 | 158 | { |
159 | 159 | $db = new DB_Sql; |
160 | - $db->query("SELECT id FROM invoice_reminder WHERE intranet_id = " . $this->kernel->intranet->get('id')); |
|
160 | + $db->query("SELECT id FROM invoice_reminder WHERE intranet_id = ".$this->kernel->intranet->get('id')); |
|
161 | 161 | return $db->numRows(); |
162 | 162 | } |
163 | 163 |
@@ -22,7 +22,7 @@ |
||
22 | 22 | function findById($id) |
23 | 23 | { |
24 | 24 | $db = new DB_Sql; |
25 | - $db->query('SELECT * FROM invoice_payment WHERE id = ' . $id); |
|
25 | + $db->query('SELECT * FROM invoice_payment WHERE id = '.$id); |
|
26 | 26 | |
27 | 27 | if (!$db->nextRecord()) { |
28 | 28 | return false; |
@@ -127,7 +127,7 @@ |
||
127 | 127 | } |
128 | 128 | |
129 | 129 | $db = new DB_sql; |
130 | - $db->query("UPDATE invoice_payment SET date_stated = NOW(), voucher_id = ".$voucher->get('id').' WHERE id = '. $this->id.' AND intranet_id = '.$this->kernel->intranet->getId()); |
|
130 | + $db->query("UPDATE invoice_payment SET date_stated = NOW(), voucher_id = ".$voucher->get('id').' WHERE id = '.$this->id.' AND intranet_id = '.$this->kernel->intranet->getId()); |
|
131 | 131 | |
132 | 132 | $this->load(); |
133 | 133 | return true; |
@@ -78,12 +78,12 @@ discard block |
||
78 | 78 | for ($i = 0, $max = count($items); $i < $max; $i++) { |
79 | 79 | $product = new Product($this->kernel, $items[$i]['product_id']); |
80 | 80 | if ($product->get('state_account_id') == 0) { |
81 | - $this->error->set('Produktet ' . $product->get('name') . ' ved ikke hvor den skal bogf�res'); |
|
81 | + $this->error->set('Produktet '.$product->get('name').' ved ikke hvor den skal bogf�res'); |
|
82 | 82 | } else { |
83 | 83 | require_once 'Intraface/modules/accounting/Account.php'; |
84 | 84 | $account = Account::factory($year, $product->get('state_account_id')); |
85 | 85 | if ($account->get('id') == 0 || $account->get('type') != 'operating') { |
86 | - $this->error->set('Ugyldig konto for bogf�ring af produktet ' . $product->get('name')); |
|
86 | + $this->error->set('Ugyldig konto for bogf�ring af produktet '.$product->get('name')); |
|
87 | 87 | $return = false; |
88 | 88 | } |
89 | 89 | } |
@@ -133,7 +133,7 @@ discard block |
||
133 | 133 | $voucher->save(array( |
134 | 134 | 'voucher_number' => $voucher_number, |
135 | 135 | 'date' => $voucher_date, |
136 | - 'text' => 'Kreditnota #' . $this->get('number') |
|
136 | + 'text' => 'Kreditnota #'.$this->get('number') |
|
137 | 137 | )); |
138 | 138 | |
139 | 139 | |
@@ -148,7 +148,7 @@ discard block |
||
148 | 148 | $credit_account_number = $credit_account->get('number'); |
149 | 149 | $voucher = Voucher::factory($year, $voucher_number); |
150 | 150 | |
151 | - $amount = $item['quantity'] * $item['price']->getAsIso(2); |
|
151 | + $amount = $item['quantity']*$item['price']->getAsIso(2); |
|
152 | 152 | |
153 | 153 | // hvis bel�bet er mindre end nul, skal konti byttes om og bel�bet skal g�res positivt |
154 | 154 | if ($amount < 0) { |
@@ -165,10 +165,10 @@ discard block |
||
165 | 165 | 'debet_account_number' => $debet_account_number, |
166 | 166 | 'credit_account_number' => $credit_account_number, |
167 | 167 | 'vat_off' => 1, |
168 | - 'text' => $text.' #' . $this->get('number') . ' - ' . $item['name'] |
|
168 | + 'text' => $text.' #'.$this->get('number').' - '.$item['name'] |
|
169 | 169 | ); |
170 | 170 | if ($debet_account->get('vat') == 'out') { |
171 | - $total_with_vat += $item["quantity"] * $item["price"]->getAsIso(2); |
|
171 | + $total_with_vat += $item["quantity"]*$item["price"]->getAsIso(2); |
|
172 | 172 | } |
173 | 173 | |
174 | 174 | if (!$voucher->saveInDaybook($input_values, true)) { |
@@ -185,11 +185,11 @@ discard block |
||
185 | 185 | 'voucher_number' => $voucher_number, |
186 | 186 | 'reference' => $this->get('number'), |
187 | 187 | 'date' => $voucher_date, |
188 | - 'amount' => number_format($total_with_vat * $this->kernel->setting->get('intranet', 'vatpercent') / 100, 2, ",", "."), // opm�rksom p� at vat bliver rigtig defineret |
|
188 | + 'amount' => number_format($total_with_vat*$this->kernel->setting->get('intranet', 'vatpercent')/100, 2, ",", "."), // opm�rksom p� at vat bliver rigtig defineret |
|
189 | 189 | 'debet_account_number' => $debet_account->get('number'), |
190 | 190 | 'credit_account_number' => $credit_account->get('number'), |
191 | 191 | 'vat_off' => 1, |
192 | - 'text' => $text.' #' . $this->get('number') . ' - ' . $debet_account->get('name') |
|
192 | + 'text' => $text.' #'.$this->get('number').' - '.$debet_account->get('name') |
|
193 | 193 | ); |
194 | 194 | if (!$voucher->saveInDaybook($input_values, true)) { |
195 | 195 | $this->error->merge($voucher->error->getMessage()); |
@@ -198,7 +198,7 @@ discard block |
||
198 | 198 | |
199 | 199 | require_once 'Intraface/modules/accounting/VoucherFile.php'; |
200 | 200 | $voucher_file = new VoucherFile($voucher); |
201 | - if (!$voucher_file->save(array('description' => $text.' #' . $this->get('number'), 'belong_to'=>'credit_note','belong_to_id'=>$this->get('id')))) { |
|
201 | + if (!$voucher_file->save(array('description' => $text.' #'.$this->get('number'), 'belong_to'=>'credit_note', 'belong_to_id'=>$this->get('id')))) { |
|
202 | 202 | $this->error->merge($voucher_file->error->getMessage()); |
203 | 203 | $this->error->set('Filen blev ikke overflyttet'); |
204 | 204 | } |
@@ -61,7 +61,7 @@ discard block |
||
61 | 61 | if ($line == "") { |
62 | 62 | $this->doc->setY('-'.$this->doc->get('font_spacing')); |
63 | 63 | |
64 | - if ($this->doc->get('y') < $this->doc->get("margin_bottom") + $this->doc->get("font_spacing") * 2) { |
|
64 | + if ($this->doc->get('y') < $this->doc->get("margin_bottom") + $this->doc->get("font_spacing")*2) { |
|
65 | 65 | $this->doc->nextPage(true); |
66 | 66 | } |
67 | 67 | } else { |
@@ -71,7 +71,7 @@ discard block |
||
71 | 71 | |
72 | 72 | $this->doc->setY('-'.$this->doc->get("font_padding_bottom")); |
73 | 73 | |
74 | - if ($this->doc->get('y') < $this->doc->get("margin_bottom") + $this->doc->get("font_spacing") * 2) { |
|
74 | + if ($this->doc->get('y') < $this->doc->get("margin_bottom") + $this->doc->get("font_spacing")*2) { |
|
75 | 75 | $this->doc->nextPage(true); |
76 | 76 | } |
77 | 77 | } |
@@ -82,7 +82,7 @@ discard block |
||
82 | 82 | |
83 | 83 | $this->doc->setY('-20'); // space to product list |
84 | 84 | |
85 | - if ($this->doc->get('y') < $this->doc->get("margin_bottom") + $this->doc->get("font_spacing") * 3) { |
|
85 | + if ($this->doc->get('y') < $this->doc->get("margin_bottom") + $this->doc->get("font_spacing")*3) { |
|
86 | 86 | $this->doc->nextPage(true); |
87 | 87 | } |
88 | 88 | |
@@ -96,7 +96,7 @@ discard block |
||
96 | 96 | $this->doc->addText($apointX["text"], $this->doc->get('y'), $this->doc->get("font_size"), "Beskrivelse"); |
97 | 97 | $this->doc->addText($apointX["invoice_date"], $this->doc->get('y'), $this->doc->get("font_size"), "Dato"); |
98 | 98 | $this->doc->addText($apointX["due_date"], $this->doc->get('y'), $this->doc->get("font_size"), "Forfaldsdato"); |
99 | - $this->doc->addText($apointX["amount"] - $this->doc->getTextWidth($this->doc->get("font_size"), "Beløb") -3, $this->doc->get('y'), $this->doc->get("font_size"), "Bel�b"); |
|
99 | + $this->doc->addText($apointX["amount"] - $this->doc->getTextWidth($this->doc->get("font_size"), "Beløb") - 3, $this->doc->get('y'), $this->doc->get("font_size"), "Bel�b"); |
|
100 | 100 | |
101 | 101 | $this->doc->setY('-'.($this->doc->get("font_spacing") - $this->doc->get("font_size"))); |
102 | 102 | |
@@ -129,7 +129,7 @@ discard block |
||
129 | 129 | $this->doc->setY('-'.$this->doc->get("font_padding_bottom")); |
130 | 130 | $total += $items[$i]["arrears"]; |
131 | 131 | |
132 | - if ($this->doc->get('y') < $this->doc->get("margin_bottom") + $this->doc->get("font_spacing") * 2) { |
|
132 | + if ($this->doc->get('y') < $this->doc->get("margin_bottom") + $this->doc->get("font_spacing")*2) { |
|
133 | 133 | $this->doc->nextPage(true); |
134 | 134 | } |
135 | 135 | } |
@@ -154,7 +154,7 @@ discard block |
||
154 | 154 | $this->doc->setY('-'.$this->doc->get("font_padding_bottom")); |
155 | 155 | $total += $items[$i]["reminder_fee"]; |
156 | 156 | |
157 | - if ($this->doc->get('y') < $this->doc->get("margin_bottom") + $this->doc->get("font_spacing") * 2) { |
|
157 | + if ($this->doc->get('y') < $this->doc->get("margin_bottom") + $this->doc->get("font_spacing")*2) { |
|
158 | 158 | $this->doc->nextPage(true); |
159 | 159 | } |
160 | 160 | } |
@@ -175,7 +175,7 @@ discard block |
||
175 | 175 | $this->doc->setY('-'.$this->doc->get("font_padding_bottom")); |
176 | 176 | $total += $reminder->get("reminder_fee"); |
177 | 177 | |
178 | - if ($this->doc->get('y') < $this->doc->get("margin_bottom") + $this->doc->get("font_spacing") * 2) { |
|
178 | + if ($this->doc->get('y') < $this->doc->get("margin_bottom") + $this->doc->get("font_spacing")*2) { |
|
179 | 179 | $this->doc->nextPage(true); |
180 | 180 | } |
181 | 181 | } |
@@ -5,7 +5,7 @@ |
||
5 | 5 | <?php if ($email->get('status') != 'sent') : ?> |
6 | 6 | <li><a href="<?php e(url(null, array('edit'))); ?>"><?php e(t('Edit')); ?></a></li> |
7 | 7 | <?php endif; ?> |
8 | - <li><a class="pdf" href="<?php e(url(null . '.pdf')); ?>"><?php e(t('Pdf')); ?></a></li> |
|
8 | + <li><a class="pdf" href="<?php e(url(null.'.pdf')); ?>"><?php e(t('Pdf')); ?></a></li> |
|
9 | 9 | </ul> |
10 | 10 | |
11 | 11 | <?php if ($email->get('status') == 'sent') : ?> |
@@ -17,7 +17,7 @@ discard block |
||
17 | 17 | $value = $email->get(); |
18 | 18 | $contact = $email->getContact(); |
19 | 19 | |
20 | - $tpl = $this->template->create(dirname(__FILE__) . '/templates/show'); |
|
20 | + $tpl = $this->template->create(dirname(__FILE__).'/templates/show'); |
|
21 | 21 | $data = array( |
22 | 22 | 'contact' => $contact, |
23 | 23 | 'value' => $value, |
@@ -35,18 +35,18 @@ discard block |
||
35 | 35 | $size = 12; // font size |
36 | 36 | |
37 | 37 | // udskriv adressehoved |
38 | - $text = $this->getEmail()->getContact()->address->get('name') . |
|
39 | - "\n" . $this->getEmail()->getContact()->address->get('address') . |
|
40 | - "\n" . $this->getEmail()->getContact()->address->get('postcode') . |
|
41 | - " " . $this->getEmail()->getContact()->address->get('city') . "\n\n\n"; |
|
38 | + $text = $this->getEmail()->getContact()->address->get('name'). |
|
39 | + "\n".$this->getEmail()->getContact()->address->get('address'). |
|
40 | + "\n".$this->getEmail()->getContact()->address->get('postcode'). |
|
41 | + " ".$this->getEmail()->getContact()->address->get('city')."\n\n\n"; |
|
42 | 42 | |
43 | 43 | $pdf->ezText($text, $size); |
44 | 44 | |
45 | 45 | // uskriv subject |
46 | - $pdf->ezText($this->getEmail()->get('subject') . "\n\n", $size); |
|
46 | + $pdf->ezText($this->getEmail()->get('subject')."\n\n", $size); |
|
47 | 47 | |
48 | 48 | // udskriv body |
49 | - $pdf->ezText($this->getEmail()->get('body') . "\n", $size); |
|
49 | + $pdf->ezText($this->getEmail()->get('body')."\n", $size); |
|
50 | 50 | |
51 | 51 | // udskriv greeting |
52 | 52 | |
@@ -104,7 +104,7 @@ discard block |
||
104 | 104 | $contact = $email->getContact(); |
105 | 105 | $redirect = Intraface_Redirect::factory($this->getKernel(), 'receive'); |
106 | 106 | |
107 | - $tpl = $this->template->create(dirname(__FILE__) . '/templates/edit'); |
|
107 | + $tpl = $this->template->create(dirname(__FILE__).'/templates/edit'); |
|
108 | 108 | $data = array( |
109 | 109 | 'contact' => $contact, |
110 | 110 | 'value' => $value, |