<table>
    <tr>
        <td class="fieldname">Order ID</td>
        <td><?= clean_page($order->payment_bank_of_ireland['tx_id']); ?></td>
    </tr>
    <tr>
        <td class="fieldname">Order Value</td>
        <?php
            if ($order->payment_bank_of_ireland['currency'] != 'GBP' && (defined('ENABLE_CURRENCIES') && ENABLE_CURRENCIES)) {
                $basket = new Basket();
                $basket->Go_Basket();
                ?>
                    <td>
                        &pound;<?= number_format(((float) $order->payment_bank_of_ireland['amount']) / $basket->c_rates[$order->payment_bank_of_ireland['currency']], 2); ?>
                    </td>
            <?php

            } else {
                ?>
                    <td>
                        &pound;<?= (float) $order->payment_bank_of_ireland['amount']; ?>
                    </td>
                <?php
            }
        ?>
    </tr>
</table>
