Author: pranayp
Date: Sat Jun 4 13:03:04 2016
New Revision: 1746814
URL:
http://svn.apache.org/viewvc?rev=1746814&view=revLog:
[OFBIZ-7185] Applied slightly modified patch from the ticket. Fixed error on Quote view for party when none is set, also now opening the party view in new tab.
Thanks Amardeep Singh Jhajj for the contribution.
Modified:
ofbiz/trunk/applications/order/template/quote/QuoteInfo.ftl
Modified: ofbiz/trunk/applications/order/template/quote/QuoteInfo.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/template/quote/QuoteInfo.ftl?rev=1746814&r1=1746813&r2=1746814&view=diff==============================================================================
--- ofbiz/trunk/applications/order/template/quote/QuoteInfo.ftl (original)
+++ ofbiz/trunk/applications/order/template/quote/QuoteInfo.ftl Sat Jun 4 13:03:04 2016
@@ -73,7 +73,7 @@ under the License.
</#if>
</#if>
<#-- Link to the party in Party Manager -->
- <a href="/partymgr/control/viewprofile?partyId=${quote.partyId}" class="buttontext">(${quote.partyId?if_exists})</a>
+ <#if quote.partyId?has_content><a href="/partymgr/control/viewprofile?partyId=${quote.partyId}" class="buttontext" target="_blank">(${quote.partyId})</a></#if>
</td>
</tr>
<#-- quote name -->