Author: mor
Date: Thu Nov 3 10:17:57 2011
New Revision: 1197045
URL:
http://svn.apache.org/viewvc?rev=1197045&view=revLog:
Bug fix: Order detail page doesn't show the invoices for purhase orders.
Modified:
ofbiz/trunk/applications/order/webapp/ordermgr/order/orderpaymentinfo.ftl
Modified: ofbiz/trunk/applications/order/webapp/ordermgr/order/orderpaymentinfo.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/webapp/ordermgr/order/orderpaymentinfo.ftl?rev=1197045&r1=1197044&r2=1197045&view=diff==============================================================================
--- ofbiz/trunk/applications/order/webapp/ordermgr/order/orderpaymentinfo.ftl (original)
+++ ofbiz/trunk/applications/order/webapp/ordermgr/order/orderpaymentinfo.ftl Thu Nov 3 10:17:57 2011
@@ -71,6 +71,21 @@ under the License.
</tr>
</#list>
</#list>
+ <#-- invoices -->
+ <#if invoices?has_content>
+ <tr><td colspan="4"><hr /></td></tr>
+ <tr>
+ <td align="right" valign="top" width="29%"> <span class="label">${uiLabelMap.OrderInvoices}</span></td>
+ <td width="1%"> </td>
+ <td valign="top" width="60%">
+ <#list invoices as invoice>
+ <div>${uiLabelMap.CommonNbr}<a href="/accounting/control/invoiceOverview?invoiceId=${invoice}&externalLoginKey=${externalLoginKey}" class="buttontext">${invoice}</a>
+ (<a target="_BLANK" href="/accounting/control/invoice.pdf?invoiceId=${invoice}&externalLoginKey=${externalLoginKey}" class="buttontext">PDF</a>)</div>
+ </#list>
+ </td>
+ <td width="10%"> </td>
+ </tr>
+ </#if>
<#else>
<#-- order payment status -->