ofbiz-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bibr...@apache.org
Subject svn commit: r608371 - /ofbiz/trunk/applications/accounting/webapp/accounting/agreement/AgreementTabBar.ftl
Date Thu, 03 Jan 2008 08:00:49 GMT
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="<@ofbizUrl>EditAgreementItem?agreementId=${agreementItem.agreementId}&agreementItemSeqId=${agreementItem.agreementItemSeqId}</@ofbizUrl>">${uiLabelMap.AccountingAgreementItem}</a></li>
       <li<#if selected == "ListAgreementPromoAppls"> class="selected"</#if>><a
href="<@ofbizUrl>ListAgreementPromoAppls?agreementId=${agreementItem.agreementId}&agreementItemSeqId=${agreementItem.agreementItemSeqId}</@ofbizUrl>">${uiLabelMap.AccountingAgreementPromoAppls}</a></li>
       <li<#if selected == "ListAgreementItemTerms"> class="selected"</#if>><a
href="<@ofbizUrl>ListAgreementItemTerms?agreementId=${agreementItem.agreementId}&agreementItemSeqId=${agreementItem.agreementItemSeqId}</@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="<@ofbizUrl>ListAgreementItemSupplierProducts?agreementId=${agreementItem.agreementId}&agreementItemSeqId=${agreementItem.agreementItemSeqId}</@ofbizUrl>">${uiLabelMap.ProductProducts}</a></li>
       <#else>
         <li<#if selected == "ListAgreementItemProducts"> class="selected"</#if>><a
href="<@ofbizUrl>ListAgreementItemProducts?agreementId=${agreementItem.agreementId}&agreementItemSeqId=${agreementItem.agreementItemSeqId}</@ofbizUrl>">${uiLabelMap.ProductProducts}</a></li>



Mime
View raw message