You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by bi...@apache.org on 2008/01/03 09:00:49 UTC

svn commit: r608371 - /ofbiz/trunk/applications/accounting/webapp/accounting/agreement/AgreementTabBar.ftl

Author: bibryam
Date: Thu Jan  3 00:00:48 2008
New Revision: 608371

URL: http://svn.apache.org/viewvc?rev=608371&view=rev
Log:
Fixed a small issue.

Modified:
    ofbiz/trunk/applications/accounting/webapp/accounting/agreement/AgreementTabBar.ftl

Modified: ofbiz/trunk/applications/accounting/webapp/accounting/agreement/AgreementTabBar.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/webapp/accounting/agreement/AgreementTabBar.ftl?rev=608371&r1=608370&r2=608371&view=diff
==============================================================================
--- ofbiz/trunk/applications/accounting/webapp/accounting/agreement/AgreementTabBar.ftl (original)
+++ ofbiz/trunk/applications/accounting/webapp/accounting/agreement/AgreementTabBar.ftl Thu Jan  3 00:00:48 2008
@@ -34,7 +34,7 @@
       <li<#if selected == "EditAgreementItem"> class="selected"</#if>><a href="<@o...@ofbizUrl>">${uiLabelMap.AccountingAgreementItem}</a></li>
       <li<#if selected == "ListAgreementPromoAppls"> class="selected"</#if>><a href="<@o...@ofbizUrl>">${uiLabelMap.AccountingAgreementPromoAppls}</a></li>
       <li<#if selected == "ListAgreementItemTerms"> class="selected"</#if>><a href="<@o...@ofbizUrl>">${uiLabelMap.AccountingAgreementItemTerms}</a></li>
-      <#if agreement.agreementTypeId == "PURCHASE_AGREEMENT">
+      <#if agreement.agreementTypeId?default("") == "PURCHASE_AGREEMENT">
         <li<#if selected == "ListAgreementItemSupplierProducts"> class="selected"</#if>><a href="<@o...@ofbizUrl>">${uiLabelMap.ProductProducts}</a></li>
       <#else>
         <li<#if selected == "ListAgreementItemProducts"> class="selected"</#if>><a href="<@o...@ofbizUrl>">${uiLabelMap.ProductProducts}</a></li>