[{$smarty.block.parent}]
<table border="0" cellspacing="0" cellpadding="0" id="ys.order.info">
<tr>
    <td colspan="3">&nbsp;</td>
</tr>
<tr>
    <td colspan="3"><b>[{oxmultilang ident="YS_GIFTCERT_ADMIN_OVERVIEW_GIFTCERT"}]</b></td>
</tr>
<tr>
    <td colspan="3">&nbsp;</td>
</tr>
[{foreach key=iGiftcertLog from=$edit->getGiftcertLogs() item=oGiftcertLog}]
    <tr>
        <td class="edittext" height="15">[{oxmultilang ident="YS_GIFTCERT_ADMIN_OVERVIEW_GIFTCERT_AMOUNT"}]</td>
        <td class="edittext" align="right"><b>[{oxprice price=$oGiftcertLog->ysgiftcertlog__ysamountused->value currency=''}]</b></td>
        <td class="edittext">&nbsp;<b>[{if $edit->oxorder__oxcurrency->value}] [{$edit->oxorder__oxcurrency->value}] [{else}] [{$currency->name}] [{/if}]</b></td>
    </tr>
[{/foreach}]

[{assign var="ystotalprice" value=$edit->getSumTotalBeforeGiftcert()}]
[{assign var="ystotalprice" value=$ystotalprice->getPrice()}]
<tr>
    <td class="edittext" height="15">[{oxmultilang ident="YS_GIFTCERT_ADMIN_OVERVIEW_GIFTCERT_ORIGINAL_SUM"}]</td>
    <td class="edittext" align="right"><b>[{oxprice price=$ystotalprice currency=''}]</b></td>
    <td class="edittext">&nbsp;<b>[{if $edit->oxorder__oxcurrency->value}] [{$edit->oxorder__oxcurrency->value}] [{else}] [{$currency->name}] [{/if}]</b></td>
</tr>
</table>