Author: pranayp
Date: Thu May 26 08:46:00 2016
New Revision: 1745577
URL: http://svn.apache.org/viewvc?rev=1745577&view=rev
Log:
[OFBIZ-7100] Applied patch from the ticket to fix not working 'Acctg Trans
Entries PDF' on payment details screen.
The issue was due to the missing 'util' package and introduced while conversion
of Javolution collections (FastMap, FastList) into Java collections.
Thanks Swanil M Mane for reporting the issue and providing the patch, thanks
Deepak Dixit for reviewing the issue and providing comment to avoid any
duplicate effort.
Modified:
ofbiz/trunk/applications/accounting/widget/AccountingMenus.xml
ofbiz/trunk/specialpurpose/birt/webapp/accounting/reports/PaymentAcctgTransEntry.rptdesign
Modified: ofbiz/trunk/applications/accounting/widget/AccountingMenus.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/widget/AccountingMenus.xml?rev=1745577&r1=1745576&r2=1745577&view=diff
==============================================================================
--- ofbiz/trunk/applications/accounting/widget/AccountingMenus.xml (original)
+++ ofbiz/trunk/applications/accounting/widget/AccountingMenus.xml Thu May 26
08:46:00 2016
@@ -515,7 +515,7 @@ under the License.
</or>
</and>
</condition>
- <link target="PaymentAcctgTransEntriesPdf">
+ <link target="PaymentAcctgTransEntriesPdf" link-type="anchor">
<parameter param-name="paymentId"
from-field="payment.paymentId"/>
</link>
</menu-item>
Modified:
ofbiz/trunk/specialpurpose/birt/webapp/accounting/reports/PaymentAcctgTransEntry.rptdesign
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/birt/webapp/accounting/reports/PaymentAcctgTransEntry.rptdesign?rev=1745577&r1=1745576&r2=1745577&view=diff
==============================================================================
---
ofbiz/trunk/specialpurpose/birt/webapp/accounting/reports/PaymentAcctgTransEntry.rptdesign
(original)
+++
ofbiz/trunk/specialpurpose/birt/webapp/accounting/reports/PaymentAcctgTransEntry.rptdesign
Thu May 26 08:46:00 2016
@@ -21,6 +21,8 @@ under the License.
<property name="createdBy">Eclipse BIRT Designer Version 2.6.0.v20100531
Build <2.6.0.v20100609-1613></property>
<property name="units">in</property>
<method name="initialize"><![CDATA[
+importPackage(Packages.java.util)
+
importPackage(Packages.org.ofbiz.base.util)
importPackage(Packages.org.ofbiz.entity.util)
importPackage(Packages.org.ofbiz.entity.condition)
@@ -349,7 +351,7 @@ creditTotal = 0;]]></method>
</structure>
<property name="dataSource">OFBiz</property>
<method name="open"><![CDATA[// get acctg trans entries of payment
-acctgTransAndEntries = new LinkedkList();
+acctgTransAndEntries = new LinkedList();
var orderBy = UtilMisc.toList("acctgTransId", "acctgTransEntrySeqId");
try {
acctgTransAndEntries = delegator.findList("AcctgTransAndEntries",
EntityCondition.makeCondition("paymentId", EntityOperator.EQUALS, paymentId),
null, orderBy, null, false);