Completed
Pull Request — master (#27)
by Lars
11:31 queued 01:30
created
src/Intraface/modules/accounting/Year.php 1 patch
Spacing   +24 added lines, -24 removed lines patch added patch discarded remove patch
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
144 144
                 DATE_FORMAT(to_date, '%d-%m-%Y') AS to_date_dk,
145 145
                 last_year_id, from_date, to_date, locked, label, vat
146 146
             FROM accounting_year
147
-            WHERE id = '" . $this->id . "'
147
+            WHERE id = '" . $this->id."'
148 148
                 AND intranet_id = ".$this->kernel->intranet->get('id')."
149 149
             LIMIT 1";
150 150
 
@@ -212,13 +212,13 @@  discard block
 block discarded – undo
212 212
         }
213 213
 
214 214
         if ($this->id > 0) {
215
-            $sql="UPDATE accounting_year ";
216
-            $sql_after=" WHERE id='".$this->id."' AND intranet_id = ".$this->kernel->intranet->get('id')."";
215
+            $sql = "UPDATE accounting_year ";
216
+            $sql_after = " WHERE id='".$this->id."' AND intranet_id = ".$this->kernel->intranet->get('id')."";
217 217
         } else {
218
-            $sql="INSERT INTO accounting_year ";
218
+            $sql = "INSERT INTO accounting_year ";
219 219
             $sql_after = ', date_created = NOW()';
220 220
         }
221
-        $sql.=" SET
221
+        $sql .= " SET
222 222
             intranet_id='".$this->kernel->intranet->get('id')."',
223 223
             user_id='".$this->kernel->user->get('id')."',
224 224
             last_year_id='".$var['last_year_id']."',
@@ -259,7 +259,7 @@  discard block
 block discarded – undo
259 259
     {
260 260
         $sql = "SELECT id FROM accounting_year
261 261
             WHERE id = ".$this->id."
262
-                AND intranet_id = ". $this->kernel->intranet->get('id') . " AND active = 1";
262
+                AND intranet_id = ". $this->kernel->intranet->get('id')." AND active = 1";
263 263
 
264 264
         $db = new DB_Sql;
265 265
         $db->query($sql);
@@ -291,7 +291,7 @@  discard block
 block discarded – undo
291 291
     public function isYearOpen()
292 292
     {
293 293
         $db = new Db_Sql;
294
-        $db->query("SELECT locked FROM accounting_year WHERE id = " . $this->id . " AND intranet_id = ".$this->kernel->intranet->get('id'));
294
+        $db->query("SELECT locked FROM accounting_year WHERE id = ".$this->id." AND intranet_id = ".$this->kernel->intranet->get('id'));
295 295
         if ($db->nextRecord()) {
296 296
             if ($db->f('locked') == 1) {
297 297
                 return false;
@@ -316,7 +316,7 @@  discard block
 block discarded – undo
316 316
         $date = safeToDb($date);
317 317
 
318 318
         $db = new Db_Sql;
319
-        $db->query("SELECT from_date, to_date FROM accounting_year WHERE id= " . $this->id . " AND intranet_id = " . $this->kernel->intranet->get('id') . " LIMIT 1");
319
+        $db->query("SELECT from_date, to_date FROM accounting_year WHERE id= ".$this->id." AND intranet_id = ".$this->kernel->intranet->get('id')." LIMIT 1");
320 320
         if ($db->nextRecord()) {
321 321
             if ($db->f('from_date') <= $date and $date <= $db->f('to_date')) {
322 322
                 return true;
@@ -403,7 +403,7 @@  discard block
 block discarded – undo
403 403
 
404 404
         if (!empty($balance_accounts) and count($balance_accounts) > 0) {
405 405
             foreach ($balance_accounts as $account) {
406
-                $sql_where .= "id = " . $account . " OR ";
406
+                $sql_where .= "id = ".$account." OR ";
407 407
             }
408 408
         }
409 409
         // hvis der ikke er nogen balance_accounts skal den ikke v�lge nogen poster
@@ -412,7 +412,7 @@  discard block
 block discarded – undo
412 412
         $db = new DB_Sql;
413 413
         $db->query("SELECT id FROM accounting_account
414 414
             WHERE (".$sql_where.")
415
-            	AND intranet_id = " . $this->kernel->intranet->get('id') . "
415
+            	AND intranet_id = " . $this->kernel->intranet->get('id')."
416 416
             	AND year_id = " . $this->get('id'));
417 417
 
418 418
         $accounts = array(); // afstemningskonti
@@ -441,7 +441,7 @@  discard block
 block discarded – undo
441 441
 
442 442
     function getSetting($setting)
443 443
     {
444
-        return $this->kernel->getSetting()->get('intranet', 'accounting.' . $setting, $this->get('id'));
444
+        return $this->kernel->getSetting()->get('intranet', 'accounting.'.$setting, $this->get('id'));
445 445
     }
446 446
 
447 447
     function createAccounts($type, $last_year_id = 0)
@@ -488,7 +488,7 @@  discard block
 block discarded – undo
488 488
 
489 489
                     // settings
490 490
                     if (!empty($input['setting'])) {
491
-                        $this->setSetting($input['setting'] . '_account_id', $id);
491
+                        $this->setSetting($input['setting'].'_account_id', $id);
492 492
                     }
493 493
                     if (!empty($input['balance_account']) and $input['balance_account'] == 1) {
494 494
                         $balance_accounts[] = $id;
@@ -569,7 +569,7 @@  discard block
 block discarded – undo
569 569
 
570 570
                 if (is_array($balance_accounts)) {
571 571
                     foreach ($balance_accounts as $key => $id) {
572
-                        $db->query("SELECT id FROM accounting_account WHERE year_id = ".$this->get('id')." AND intranet_id = ".$this->kernel->intranet->get('id')." AND created_from_id = " . (int)$id);
572
+                        $db->query("SELECT id FROM accounting_account WHERE year_id = ".$this->get('id')." AND intranet_id = ".$this->kernel->intranet->get('id')." AND created_from_id = ".(int)$id);
573 573
                         while ($db->nextRecord()) {
574 574
                             $new_balance_accounts[] = $db->f('id');
575 575
                         }
@@ -584,7 +584,7 @@  discard block
 block discarded – undo
584 584
 
585 585
                 if (is_array($buy_eu_accounts)) {
586 586
                     foreach ($buy_eu_accounts as $key => $id) {
587
-                        $db->query("SELECT id FROM accounting_account WHERE year_id = ".$this->get('id')." AND intranet_id = ".$this->kernel->intranet->get('id')." AND created_from_id = " . (int)$id);
587
+                        $db->query("SELECT id FROM accounting_account WHERE year_id = ".$this->get('id')." AND intranet_id = ".$this->kernel->intranet->get('id')." AND created_from_id = ".(int)$id);
588 588
                         while ($db->nextRecord()) {
589 589
                             $new_buy_eu_accounts[] = $db->f('id');
590 590
                         }
@@ -599,7 +599,7 @@  discard block
 block discarded – undo
599 599
 
600 600
                 if (is_array($buy_abroad_accounts)) {
601 601
                     foreach ($buy_abroad_accounts as $key => $id) {
602
-                        $db->query("SELECT id FROM accounting_account WHERE year_id = ".$this->get('id')." AND intranet_id = ".$this->kernel->intranet->get('id')." AND created_from_id = " . (int)$id);
602
+                        $db->query("SELECT id FROM accounting_account WHERE year_id = ".$this->get('id')." AND intranet_id = ".$this->kernel->intranet->get('id')." AND created_from_id = ".(int)$id);
603 603
                         while ($db->nextRecord()) {
604 604
                             $new_buy_abroad_accounts[] = $db->f('id');
605 605
                         }
@@ -748,7 +748,7 @@  discard block
 block discarded – undo
748 748
     {
749 749
         $account_id = $from_year->getSetting($setting);
750 750
         $db = new DB_Sql;
751
-        $db->query("SELECT id FROM accounting_account WHERE year_id = ".$this->get('id')." AND intranet_id = ".$this->kernel->intranet->get('id')." AND created_from_id = " . $account_id);
751
+        $db->query("SELECT id FROM accounting_account WHERE year_id = ".$this->get('id')." AND intranet_id = ".$this->kernel->intranet->get('id')." AND created_from_id = ".$account_id);
752 752
         if ($db->nextRecord()) {
753 753
             $this->setSetting($setting, $db->f('id'));
754 754
         }
@@ -826,9 +826,9 @@  discard block
 block discarded – undo
826 826
         }
827 827
         $db = new DB_Sql;
828 828
         $sql = "SELECT id FROM debtor
829
-            WHERE type= " . $type_key . "
830
-                AND intranet_id = " .$this->kernel->intranet->get('id') . "
831
-                AND (this_date BETWEEN '" . $date_start . "' AND '" .$date_end . "')
829
+            WHERE type= " . $type_key."
830
+                AND intranet_id = " .$this->kernel->intranet->get('id')."
831
+                AND (this_date BETWEEN '" . $date_start."' AND '".$date_end."')
832 832
                 AND voucher_id = 0
833 833
                 AND active = 1";
834 834
         $db->query($sql);
@@ -842,8 +842,8 @@  discard block
 block discarded – undo
842 842
     {
843 843
         $db = new DB_Sql;
844 844
         $sql = "SELECT id FROM invoice_payment
845
-            WHERE intranet_id = " .$this->kernel->intranet->get('id') . "
846
-                AND (payment_date BETWEEN '" . $date_start . "' AND '" .$date_end . "')
845
+            WHERE intranet_id = " .$this->kernel->intranet->get('id')."
846
+                AND (payment_date BETWEEN '" . $date_start."' AND '".$date_end."')
847 847
                 AND voucher_id = 0";
848 848
         $db->query($sql);
849 849
         if ($db->numRows() == 0) {
@@ -856,8 +856,8 @@  discard block
 block discarded – undo
856 856
     {
857 857
         $db = new DB_Sql;
858 858
         $sql = "SELECT id FROM procurement
859
-            WHERE intranet_id = " .$this->kernel->intranet->get('id') . "
860
-                AND (invoice_date BETWEEN '" . $date_start . "' AND '" .$date_end . "')
859
+            WHERE intranet_id = " .$this->kernel->intranet->get('id')."
860
+                AND (invoice_date BETWEEN '" . $date_start."' AND '".$date_end."')
861 861
                 AND voucher_id = 0
862 862
                 AND active = 1";
863 863
         $db->query($sql);
@@ -870,7 +870,7 @@  discard block
 block discarded – undo
870 870
     function lock()
871 871
     {
872 872
         $db = new DB_Sql;
873
-        $db->query("UPDATE accounting_year SET locked = 1 WHERE id = " . $this->id);
873
+        $db->query("UPDATE accounting_year SET locked = 1 WHERE id = ".$this->id);
874 874
         return true;
875 875
     }
876 876
 
Please login to merge, or discard this patch.
src/Intraface/modules/accounting/Controller/templates/vat/show.tpl.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@  discard block
 block discarded – undo
11 11
     <?php echo $context->getError()->view(); ?>
12 12
 
13 13
     <?php if ($context->getVatPeriod()->get('status') == 'stated') : ?>
14
-        <p class="message">Denne momsopgivelse er bogført. <a href="<?php e(url('../../voucher/' . $context->getVatPeriod()->get('voucher_id'))); ?>">Se bilag</a></p>
14
+        <p class="message">Denne momsopgivelse er bogført. <a href="<?php e(url('../../voucher/'.$context->getVatPeriod()->get('voucher_id'))); ?>">Se bilag</a></p>
15 15
     <?php endif; ?>
16 16
 
17 17
     <?php if (!$context->getVatPeriod()->compareAmounts() and $context->getVatPeriod()->get('status_key') > 0) : // beløb skal vøre gemt ?>
@@ -45,22 +45,22 @@  discard block
 block discarded – undo
45 45
     </thead>
46 46
     <tbody>
47 47
         <tr class="vat-sale">
48
-            <td><a href="<?php e(url('../../account/' . $account_vat_out->get('id'))); ?>"><?php e($account_vat_out->get('number')); ?></a></td>
48
+            <td><a href="<?php e(url('../../account/'.$account_vat_out->get('id'))); ?>"><?php e($account_vat_out->get('number')); ?></a></td>
49 49
             <td><?php e($account_vat_out->get('name')); ?></td>
50 50
             <td></td>
51
-            <td class="amount debet"><?php e(amountToOutput($account_vat_out->get('saldo') * -1)); ?></td>
51
+            <td class="amount debet"><?php e(amountToOutput($account_vat_out->get('saldo')*-1)); ?></td>
52 52
         </tr>
53 53
         <tr class="vat-sale">
54
-            <td><a href="<?php e(url('../../account/' . $account_vat_abroad->get('id'))); ?>"><?php e($account_vat_abroad->get('number')); ?></a></td>
54
+            <td><a href="<?php e(url('../../account/'.$account_vat_abroad->get('id'))); ?>"><?php e($account_vat_abroad->get('number')); ?></a></td>
55 55
             <td><?php e($account_vat_abroad->get('name')); ?></td>
56 56
             <td></td>
57
-            <td class="amount debet"><?php e(amountToOutput($account_vat_abroad->get('saldo') * -1)); ?></td>
57
+            <td class="amount debet"><?php e(amountToOutput($account_vat_abroad->get('saldo')*-1)); ?></td>
58 58
         </tr>
59 59
         <tr class="headline">
60 60
             <td colspan="6"><h3>Fradrag</h3></td>
61 61
         </tr>
62 62
         <tr class="vat-buy">
63
-            <td><a href="<?php e(url('../../account/' . $account_vat_in->get('id'))); ?>"><?php e($account_vat_in->get('number')); ?></a></td>
63
+            <td><a href="<?php e(url('../../account/'.$account_vat_in->get('id'))); ?>"><?php e($account_vat_in->get('number')); ?></a></td>
64 64
             <td><?php e($account_vat_in->get('name')); ?></td>
65 65
             <td class="amount debet"><?php e(amountToOutput($account_vat_in->get('saldo'))); ?></td>
66 66
             <td></td>
Please login to merge, or discard this patch.
src/Intraface/modules/accounting/Controller/templates/year/end.tpl.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -52,9 +52,9 @@  discard block
 block discarded – undo
52 52
         foreach ($vat_periods as $period) {
53 53
             $vat_period = new VatPeriod($context->getYear(), $period['id']);
54 54
             if (!$vat_period->get('voucher_id')) {
55
-                echo '<p class="warning">Momsperiode ' . $vat_period->get('label') . ' er ikke bogført. <a href="'.url('../vat/' . $vat_period->get('id')).'">Fix it at the vat period</a>.</p>';
55
+                echo '<p class="warning">Momsperiode '.$vat_period->get('label').' er ikke bogført. <a href="'.url('../vat/'.$vat_period->get('id')).'">Fix it at the vat period</a>.</p>';
56 56
             } elseif (!$context->getVatPeriod()->compareAmounts()) {
57
-                echo '<p class="warning">Momsperiode ' . $vat_period->get('label') . ' stemmer ikke. <a href="'.url('../vat/' . $vat_period->get('id')).'">Fix it at the vat period</a>.</p>';
57
+                echo '<p class="warning">Momsperiode '.$vat_period->get('label').' stemmer ikke. <a href="'.url('../vat/'.$vat_period->get('id')).'">Fix it at the vat period</a>.</p>';
58 58
             }
59 59
         }
60 60
         ?>
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
             <select id="result_account" name="result_account_id">
106 106
                 <option value=""><?php e(t('Choose')); ?></option>
107 107
                 <?php foreach ($status_accounts as $a) { ?>
108
-                    <option value="<?php e($a['id']); ?>"<?php if ($context->getYear()->getSetting('result_account_id')==$a['id']) {
108
+                    <option value="<?php e($a['id']); ?>"<?php if ($context->getYear()->getSetting('result_account_id') == $a['id']) {
109 109
                         echo ' selected="selected"';
110 110
 } ?>><?php e($a['number']); ?> <?php e($a['name']); ?></option>
111 111
                 <?php } ?>
@@ -132,7 +132,7 @@  discard block
 block discarded – undo
132 132
         <tbody>
133 133
         <?php foreach ($context->getAccount()->getList('drift', true) as $a) : ?>
134 134
             <tr>
135
-                <td><a href="<?php e(url('../../../../account/' . $a['id'])); ?>"><?php e($a['number']); ?></a></td>
135
+                <td><a href="<?php e(url('../../../../account/'.$a['id'])); ?>"><?php e($a['number']); ?></a></td>
136 136
                 <td><?php e($a['name']); ?></td>
137 137
                 <td><?php e(amountToOutput($a['debet'])); ?></td>
138 138
                 <td><?php e(amountToOutput($a['credit'])); ?></td>
@@ -181,7 +181,7 @@  discard block
 block discarded – undo
181 181
         </fieldset>
182 182
 
183 183
         <ul class="options">
184
-            <li><a class="excel" href="<?php e(url(null) . '.xls'); ?>">Excel</a></li>
184
+            <li><a class="excel" href="<?php e(url(null).'.xls'); ?>">Excel</a></li>
185 185
         </ul>
186 186
         <table>
187 187
             <caption>Resultatopgørelse</caption>
@@ -339,7 +339,7 @@  discard block
 block discarded – undo
339 339
             <fieldset>
340 340
                 <legend>Trin 8: Fyraften</legend>
341 341
                 <p>Det er godt arbejde. Nu har du fortjent en pause. Håber ikke det var for vanskeligt. Vi hører naturligvis altid gerne om dine oplevelser med programmet, så vi kan forbedre det mest muligt.</p>
342
-                <p><a class="excel" href="<?php e(url(null) . '.xls'); ?>">Hent årsregnskabet i et regneark</a></p>
342
+                <p><a class="excel" href="<?php e(url(null).'.xls'); ?>">Hent årsregnskabet i et regneark</a></p>
343 343
                 <input type="submit" value="Forrige" name="previous" />
344 344
             </fieldset>
345 345
         <?php
Please login to merge, or discard this patch.
src/Intraface/modules/accounting/Controller/templates/year/index.tpl.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -31,10 +31,10 @@
 block discarded – undo
31 31
                 echo ' checked="checked"';
32 32
 } ?>/></td>
33 33
             <td><a href="<?php e(url($y['id'])); ?>"><?php e($y['label']); ?></a></td>
34
-            <td><a href="<?php e(url($y['id'] . '/vat')); ?>"><?php e(t('Vat')); ?></a></td>
35
-            <td><a href="<?php e(url($y['id'] . '/end')); ?>"><?php e(t('End year')); ?></a></td>            
34
+            <td><a href="<?php e(url($y['id'].'/vat')); ?>"><?php e(t('Vat')); ?></a></td>
35
+            <td><a href="<?php e(url($y['id'].'/end')); ?>"><?php e(t('End year')); ?></a></td>            
36 36
             <td class="options">
37
-                <a class="edit" href="<?php e(url($y['id'] . '/edit')); ?>"><?php e(t('Edit')); ?></a>
37
+                <a class="edit" href="<?php e(url($y['id'].'/edit')); ?>"><?php e(t('Edit')); ?></a>
38 38
             </td>
39 39
         </tr>
40 40
         <?php endforeach; ?>
Please login to merge, or discard this patch.
src/Intraface/modules/accounting/Controller/templates/state.tpl.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
 <tbody>
39 39
     <?php foreach ($context->getAccounts() as $account) { ?>
40 40
     <tr>
41
-        <td><a href="<?php e(url('../../account/' . $account['id'])); ?>"><?php e($account['number']); ?></a></td>
41
+        <td><a href="<?php e(url('../../account/'.$account['id'])); ?>"><?php e($account['number']); ?></a></td>
42 42
         <td><?php e($account['name']); ?></td>
43 43
         <td class="amount"><?php e(amountToOutput($account['saldo_primo'])); ?></td>
44 44
         <td class="amount"><?php e(amountToOutput($account['saldo_draft'])); ?></td>
Please login to merge, or discard this patch.
src/Intraface/modules/accounting/Controller/templates/account/popup.tpl.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@
 block discarded – undo
96 96
                 <?php else : ?>
97 97
                     <tr>
98 98
                         <th><?php e($account['number']); ?></th>
99
-                        <td><?php e($account['name']);  ?></td>
99
+                        <td><?php e($account['name']); ?></td>
100 100
                     </tr>
101 101
                 <?php endif; ?>
102 102
             <?php endforeach; ?>
Please login to merge, or discard this patch.
src/Intraface/modules/accounting/Controller/templates/account/show.tpl.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
                     e($post['dk_date']);
47 47
 } ?></td>
48 48
                 <td><?php if (isset($post['voucher_id'])) :
49
-?><a href="<?php e(url('../../voucher/' . $post['voucher_id'])); ?>"><?php e($post['voucher_number']); ?></a><?php
49
+?><a href="<?php e(url('../../voucher/'.$post['voucher_id'])); ?>"><?php e($post['voucher_number']); ?></a><?php
50 50
 endif; ?></td>
51 51
                 <td><?php e($post['text']); ?></td>
52 52
                 <td class="amount"><?php e(amountToOutput($post['debet'])); ?></td>
Please login to merge, or discard this patch.
src/Intraface/modules/accounting/Controller/templates/account/index.tpl.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@  discard block
 block discarded – undo
6 6
 
7 7
 <ul class="options">
8 8
     <li><a href="<?php e(url(null, array('create'))); ?>">Opret konto</a></li>
9
-    <li><a class="excel" href="<?php e(url(null . '.xls')); ?>">Excel</a></li>
9
+    <li><a class="excel" href="<?php e(url(null.'.xls')); ?>">Excel</a></li>
10 10
     <li><a href="<?php e(url('../')); ?>"><?php e(t('Close')); ?></a></li>
11 11
 </ul>
12 12
 <?php
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
 <?php if (count($accounts) == 0) : ?>
31 31
     <div class="message-dependent">
32 32
         <p>Der er endnu ikke oprettet nogen konti.</p>
33
-        <p>Du kan oprette en standardkontoplan under <a href="<?php e(url('../year/' . $year->get('id'))); ?>">regnskabsåret</a>, eller du kan taste dem manuelt ind ved at klikke på opret konto ovenfor.</p>
33
+        <p>Du kan oprette en standardkontoplan under <a href="<?php e(url('../year/'.$year->get('id'))); ?>">regnskabsåret</a>, eller du kan taste dem manuelt ind ved at klikke på opret konto ovenfor.</p>
34 34
     </div>
35 35
 <?php else : ?>
36 36
 <table>
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
                 <td colspan="4" class="headline"><?php e($account['name']); ?></td>
65 65
             <?php elseif ($account['type'] == 'sum') : ?>
66 66
                 <td><?php e($account['name']); ?><?php if ($account['type'] == 'sum') {
67
-                    e(' ('. $account["sum_from"] . ' til ' . $account["sum_to"] . ')');
67
+                    e(' ('.$account["sum_from"].' til '.$account["sum_to"].')');
68 68
 } ?></td>
69 69
             <?php else :?>
70 70
                 <td><a href="<?php e(url($account['id'])); ?>"><?php e($account['name']); ?></a></td>
Please login to merge, or discard this patch.
src/Intraface/modules/accounting/Controller/templates/search.tpl.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -86,8 +86,8 @@
 block discarded – undo
86 86
     <?php foreach ($posts as $post) { ?>
87 87
     <tr>
88 88
         <td><?php e($post['date_dk']); ?></td>
89
-        <td><a href="<?php e('../voucher/' . $post['voucher_id']); ?>"><?php e($post['voucher_number']); ?></a></td>
90
-        <td><?php e($post['account_number']) . ' ' . e($post['account_name']); ?></td>
89
+        <td><a href="<?php e('../voucher/'.$post['voucher_id']); ?>"><?php e($post['voucher_number']); ?></a></td>
90
+        <td><?php e($post['account_number']).' '.e($post['account_name']); ?></td>
91 91
         <td><?php e(amountToOutput($post['debet'])); ?></td>
92 92
         <td><?php e(amountToOutput($post['credit'])); ?></td>
93 93
     </tr>
Please login to merge, or discard this patch.