Passed
Push — master ( e4006a...0c4633 )
by Lars
21:40 queued 06:51
created
src/Intraface/modules/accounting/Controller/Account/Show.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
 
38 38
         $this->document->setTitle('Account');
39 39
 
40
-        $smarty = $this->template->create(dirname(__FILE__) . '/../templates/account/show');
40
+        $smarty = $this->template->create(dirname(__FILE__).'/../templates/account/show');
41 41
         return $smarty->render($this, array('posts' => $posts, 'saldo' => $saldo));
42 42
     }
43 43
 
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
     {
46 46
         $this->document->addScript($this->url('accounting/edit_account.js'));
47 47
 
48
-        $smarty = $this->template->create(dirname(__FILE__) . '/../templates/account/edit');
48
+        $smarty = $this->template->create(dirname(__FILE__).'/../templates/account/edit');
49 49
         return $smarty->render($this);
50 50
     }
51 51
 
Please login to merge, or discard this patch.
src/Intraface/modules/accounting/Controller/State/Payment.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
             'year' => $this->getYear(),
36 36
             'accounting_module' => $accounting_module);
37 37
 
38
-        $smarty = $this->template->create(dirname(__FILE__) . '/../templates/state/payment');
38
+        $smarty = $this->template->create(dirname(__FILE__).'/../templates/state/payment');
39 39
         return $smarty->render($this, $data);
40 40
     }
41 41
 
Please login to merge, or discard this patch.
src/Intraface/modules/accounting/Controller/State/Creditnote.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
             return new k_SeeOther($this->url('selectyear'));
37 37
         }
38 38
 
39
-        $smarty = $this->template->create(dirname(__FILE__) . '/../templates/state/creditnote');
39
+        $smarty = $this->template->create(dirname(__FILE__).'/../templates/state/creditnote');
40 40
         return $smarty->render($this);
41 41
 
42 42
     }
Please login to merge, or discard this patch.
src/Intraface/modules/accounting/Controller/State/Invoice.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
             return new k_SeeOther($this->url('selectyear'));
29 29
         }
30 30
 
31
-        $smarty = $this->template->create(dirname(__FILE__) . '/../templates/state/invoice');
31
+        $smarty = $this->template->create(dirname(__FILE__).'/../templates/state/invoice');
32 32
         return $smarty->render($this);
33 33
     }
34 34
 
Please login to merge, or discard this patch.
src/Intraface/modules/accounting/Controller/State/Depreciation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
             'object' => $this->getDebtor(),
31 31
             'year' => $this->getYear());
32 32
 
33
-        $smarty = $this->template->create(dirname(__FILE__) . '/../templates/state/depreciation');
33
+        $smarty = $this->template->create(dirname(__FILE__).'/../templates/state/depreciation');
34 34
         return $smarty->render($this, $data);
35 35
     }
36 36
 
Please login to merge, or discard this patch.
src/Intraface/modules/accounting/Controller/Voucher/Show.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -44,13 +44,13 @@
 block discarded – undo
44 44
         $voucher_file = new VoucherFile($this->getVoucher());
45 45
         $voucher_files = $voucher_file->getList();
46 46
 
47
-        $smarty = $this->template->create(dirname(__FILE__) . '/../templates/voucher/show');
47
+        $smarty = $this->template->create(dirname(__FILE__).'/../templates/voucher/show');
48 48
         return $smarty->render($this);
49 49
     }
50 50
 
51 51
     function renderHtmlEdit()
52 52
     {
53
-        $smarty = $this->template->create(dirname(__FILE__) . '/../templates/voucher/edit');
53
+        $smarty = $this->template->create(dirname(__FILE__).'/../templates/voucher/edit');
54 54
         return $smarty->render($this);
55 55
     }
56 56
 
Please login to merge, or discard this patch.
src/Intraface/modules/accounting/Controller/Voucher/Index.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
 
24 24
     function renderHtml()
25 25
     {
26
-        $smarty = $this->template->create(dirname(__FILE__) . '/../templates/voucher/index');
26
+        $smarty = $this->template->create(dirname(__FILE__).'/../templates/voucher/index');
27 27
         return $smarty->render($this);
28 28
     }
29 29
 
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
     {
32 32
         $year = $this->getYear();
33 33
 
34
-        $this->db_sql->query("SELECT * FROM accounting_voucher WHERE intranet_id = " . $year->kernel->intranet->get('id') . " AND year_id = " . $year->get('id') . " ORDER BY number ASC");
34
+        $this->db_sql->query("SELECT * FROM accounting_voucher WHERE intranet_id = ".$year->kernel->intranet->get('id')." AND year_id = ".$year->get('id')." ORDER BY number ASC");
35 35
         //$i++;
36 36
         $posts = array();
37 37
         while ($this->db_sql->nextRecord()) {
@@ -44,10 +44,10 @@  discard block
 block discarded – undo
44 44
         $workbook->setVersion(8);
45 45
 
46 46
         // sending HTTP headers
47
-        $workbook->send($this->getKernel()->intranet->get('name') . ' - poster ' . $year->get('label'));
47
+        $workbook->send($this->getKernel()->intranet->get('name').' - poster '.$year->get('label'));
48 48
 
49 49
         // Creating a worksheet
50
-        $worksheet = $workbook->addWorksheet('Konti ' . $year->get('label'));
50
+        $worksheet = $workbook->addWorksheet('Konti '.$year->get('label'));
51 51
         $worksheet->setInputEncoding('UTF-8');
52 52
 
53 53
         $format_bold = $workbook->addFormat();
Please login to merge, or discard this patch.
src/Intraface/modules/accounting/Controller/Vat/Show.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
             'saldo_total' => $saldo_total
44 44
         );
45 45
 
46
-        $smarty = $this->template->create(dirname(__FILE__) . '/../templates/vat/show');
46
+        $smarty = $this->template->create(dirname(__FILE__).'/../templates/vat/show');
47 47
         return $smarty->render($this, $data);
48 48
     }
49 49
 
Please login to merge, or discard this patch.
src/Intraface/modules/accounting/Controller/Vat/Index.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
         $periods = $vat_period->getList();
42 42
         $post = new Post(new Voucher($year));
43 43
 
44
-        $smarty = $this->template->create(dirname(__FILE__) . '/../templates/vat/period');
44
+        $smarty = $this->template->create(dirname(__FILE__).'/../templates/vat/period');
45 45
         return $smarty->render($this);
46 46
     }
47 47
 
Please login to merge, or discard this patch.