[OFBIZ-7146] Applied patch from the ticket to fix error in rendering Quote PDF which is not having terms associated to it.

Thanks Amardeep Singh Jhajj for reporting the issue and providing patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1746460 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Pranay Pandey
2016-06-01 13:32:24 +00:00
parent 71059ef9c6
commit 142fca6dda
@@ -74,9 +74,9 @@ under the License.
<fo:table-cell><fo:block>${(quote.validThruDate.toString())!}</fo:block></fo:table-cell>
</fo:table-row>
<fo:table-row>
<fo:table-cell><fo:block>${uiLabelMap.CommonQuoteTerms}:</fo:block></fo:table-cell>
<#assign quoteLevelTerms = Static["org.ofbiz.entity.util.EntityUtil"].filterByAnd(quoteTerms, {"quoteItemSeqId": "_NA_"})!>
<#if quoteLevelTerms?has_content && quoteLevelTerms.size() gt 0>
<fo:table-cell><fo:block>${uiLabelMap.CommonQuoteTerms}:</fo:block></fo:table-cell>
<fo:table-cell>
<#list quoteLevelTerms as quoteLevelTerm>
<fo:block>