Code Duplication    Length = 5-5 lines in 2 locations

src/Intraface/modules/debtor/Controller/templates/show.tpl.php 1 location

@@ 479-483 (lines=5) @@
476
                                </td>
477
                                <td class="amount">
478
                                    <?php
479
                                    if ($p['currency'] && is_object($p['currency'])) {
480
                                        e($p['currency']->getType()->getIsoCode().' ');
481
                                    } elseif ($context->getKernel()->intranet->hasModuleAccess('currency')) {
482
                                        e('DKK ');
483
                                    }
484
                                    e($p['dk_amount']);
485
                                    ?>
486
                                </td>

src/Intraface/modules/onlinepayment/Controller/templates/index.tpl.php 1 location

@@ 105-109 (lines=5) @@
102
                </td>
103
                <td class="amount">
104
                    <?php
105
                    if ($payment['currency'] && is_object($payment['currency'])) {
106
                        e($payment['currency']->getType()->getIsoCode().' ');
107
                    } elseif ($kernel->intranet->hasModuleAccess('currency')) {
108
                        e('DKK ');
109
                    }
110
111
                    e($payment["dk_amount"]); ?></td>
112
                <td>