prevent potential problems from a null ReturnAdjustment.amount

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@594434 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Si Chen
2007-11-13 04:50:39 +00:00
parent ead5d85462
commit e4553eefe8
@@ -30,7 +30,9 @@ under the License.
</fo:table-cell>
<fo:table-cell padding="1mm" text-align="right"><fo:block><@ofbizCurrency amount=returnAdjustment.amount isoCode=returnHeader.currencyUomId/></fo:block></fo:table-cell>
</fo:table-row>
<#assign total = total + returnAdjustment.get("amount")>
<#if returnAdjustment.amount?has_content>
<#assign total = total + returnAdjustment.get("amount")>
</#if>
</#macro>
<#-- Items returned -->