You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by Jacques Le Roux <ja...@les7arts.com> on 2007/09/20 12:15:31 UTC

Giftcards in billsettings.ftl in eCommerce

Hi,

I have found something weird in this file. Obvisouly something is wrong (giftCard.pinNumber can't be an amount), but has anybody an idea about this snippet :

              <#if paymentMethodType != "GC">
                <tr>
                  <td width="26%" align="right" valign=middle><div class="tabletext">${uiLabelMap.AccountingAmountToUse}</div></td>
                  <td width="5">&nbsp;</td>
                  <td width="74%">
                    <input type="text" class="inputBox" size="5" maxlength="10" name="giftCardAmount" value="${giftCard.pinNumber?if_exists}">
                  *</td>
                </tr>

For instance how can be related 
    <#if paymentMethodType != "GC">
and
    name="giftCardAmount"

Thanks for anybody aware of these weirdnesses

Jacques