Author: jaz
Date: Mon Apr 30 13:41:56 2007
New Revision: 533851
URL:
http://svn.apache.org/viewvc?view=rev&rev=533851Log:
changed fin account transaction list to stop at 5 transactions; and now sorts by newest first
Modified:
ofbiz/trunk/applications/party/widget/partymgr/PartyScreens.xml
Modified: ofbiz/trunk/applications/party/widget/partymgr/PartyScreens.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/widget/partymgr/PartyScreens.xml?view=diff&rev=533851&r1=533850&r2=533851==============================================================================
--- ofbiz/trunk/applications/party/widget/partymgr/PartyScreens.xml (original)
+++ ofbiz/trunk/applications/party/widget/partymgr/PartyScreens.xml Mon Apr 30 13:41:56 2007
@@ -736,11 +736,13 @@
<actions>
<entity-condition entity-name="FinAccountTrans" list-name="ownedFinAccountTransList">
<condition-expr field-name="finAccountId" env-name="ownedFinAccount.finAccountId"/>
- <order-by field-name="transactionDate"/>
+ <order-by field-name="-transactionDate"/>
+ <limit-range start="0" size="5"/>
</entity-condition>
<entity-condition entity-name="FinAccountAuth" list-name="ownedFinAccountAuthList" filter-by-date="true">
<condition-expr field-name="finAccountId" env-name="ownedFinAccount.finAccountId"/>
- <order-by field-name="authorizationDate"/>
+ <order-by field-name="-authorizationDate"/>
+ <limit-range start="0" size="5"/>
</entity-condition>
<entity-one entity-name="Uom" value-name="accountCurrencyUom" auto-field-map="false" use-cache="true">
<field-map field-name="uomId" env-name="ownedFinAccount.currencyUomId"/>