Author: jacopoc
Date: Thu Nov 22 07:41:53 2007 New Revision: 597437 URL: http://svn.apache.org/viewvc?rev=597437&view=rev Log: Implemented search by from/thru dates in acctg trans screens. Modified: ofbiz/trunk/applications/accounting/widget/JournalEntryForms.xml Modified: ofbiz/trunk/applications/accounting/widget/JournalEntryForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/widget/JournalEntryForms.xml?rev=597437&r1=597436&r2=597437&view=diff ============================================================================== --- ofbiz/trunk/applications/accounting/widget/JournalEntryForms.xml (original) +++ ofbiz/trunk/applications/accounting/widget/JournalEntryForms.xml Thu Nov 22 07:41:53 2007 @@ -50,7 +50,9 @@ <field name="paymentId"><text size="20" maxlength="20"/></field> <field name="produtId"><text size="20" maxlength="20"/></field> <field name="workEffortId"><text size="20" maxlength="20"/></field> - <field name="performSearch"><hidden value="Y"/></field> + <field name="fromDate"><date-time/></field> + <field name="thruDate"><date-time/></field> + <field name="performSearch"><hidden value="Y"/></field> <field name="submitButton" title="${uiLabelMap.CommonFind}" widget-style="buttontext"><submit button-type="text-link"/></field> </form> @@ -68,6 +70,8 @@ <condition-expr field-name="productId" operator="equals" env-name="parameters.productId" ignore-if-empty="true"/> <condition-expr field-name="workEffortId" operator="equals" env-name="parameters.workEffortId" ignore-if-empty="true"/> <condition-expr field-name="acctgTransId" operator="equals" env-name="parameters.acctgTransId" ignore-if-empty="true"/> + <condition-expr field-name="transactionDate" operator="greater-equals" env-name="parameters.fromDate" ignore-if-empty="true"/> + <condition-expr field-name="transactionDate" operator="less" env-name="parameters.thruDate" ignore-if-empty="true"/> </condition-list> <select-field field-name="acctgTransId"/> <select-field field-name="transactionDate"/> @@ -169,6 +173,8 @@ <field name="paymentId"><text size="20" maxlength="20"/></field> <field name="produtId"><text size="20" maxlength="20"/></field> <field name="workEffortId"><text size="20" maxlength="20"/></field> + <field name="fromDate"><date-time/></field> + <field name="thruDate"><date-time/></field> <field name="performSearch"><hidden value="Y"/></field> <field name="submitButton" title="${uiLabelMap.CommonFind}" widget-style="buttontext"><submit button-type="text-link"/></field> </form> @@ -187,6 +193,8 @@ <condition-expr field-name="productId" operator="equals" env-name="parameters.productId" ignore-if-empty="true"/> <condition-expr field-name="workEffortId" operator="equals" env-name="parameters.workEffortId" ignore-if-empty="true"/> <condition-expr field-name="acctgTransId" operator="equals" env-name="parameters.acctgTransId" ignore-if-empty="true"/> + <condition-expr field-name="transactionDate" operator="greater-equals" env-name="parameters.fromDate" ignore-if-empty="true"/> + <condition-expr field-name="transactionDate" operator="less" env-name="parameters.thruDate" ignore-if-empty="true"/> </condition-list> <order-by field-name="-transactionDate"/> <order-by field-name="glAccountId"/> |
Free forum by Nabble | Edit this page |