svn commit: r564966 - /ofbiz/trunk/applications/order/webapp/ordermgr/order/OrderForms.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r564966 - /ofbiz/trunk/applications/order/webapp/ordermgr/order/OrderForms.xml

jleroux@apache.org
Author: jleroux
Date: Sat Aug 11 13:19:45 2007
New Revision: 564966

URL: http://svn.apache.org/viewvc?view=rev&rev=564966
Log:
A patch from David Shere "Automatic fill-in date on ImportOrdersFromEbay" (https://issues.apache.org/jira/browse/OFBIZ-1196)


Modified:
    ofbiz/trunk/applications/order/webapp/ordermgr/order/OrderForms.xml

Modified: ofbiz/trunk/applications/order/webapp/ordermgr/order/OrderForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/webapp/ordermgr/order/OrderForms.xml?view=diff&rev=564966&r1=564965&r2=564966
==============================================================================
--- ofbiz/trunk/applications/order/webapp/ordermgr/order/OrderForms.xml (original)
+++ ofbiz/trunk/applications/order/webapp/ordermgr/order/OrderForms.xml Sat Aug 11 13:19:45 2007
@@ -126,8 +126,8 @@
                 </entity-options>
             </drop-down>
         </field>
-        <field name="fromDate" title="${uiLabelMap.CommonFromDateTime}"><date-time/></field>
-        <field name="thruDate" title="${uiLabelMap.CommonThruDateTime}"><date-time/></field>
+        <field name="fromDate" title="${uiLabelMap.CommonFromDateTime}"><date-time default-value="${bsh: org.ofbiz.base.util.UtilDateTime.getDayStart(org.ofbiz.base.util.UtilDateTime.nowTimestamp())}"/></field>
+        <field name="thruDate" title="${uiLabelMap.CommonThruDateTime}"><date-time default-value="${bsh: org.ofbiz.base.util.UtilDateTime.getDayEnd(org.ofbiz.base.util.UtilDateTime.nowTimestamp())}"/></field>
         <field name="submitButton" title="${uiLabelMap.OrderImportOrdersSearchFromEbay}"><submit button-type="button"/></field>
     </form>
     <form name="ListOrdersFromEbay" type="multi" use-row-submit="true" list-name="orderList" target="ImportOrderFromEbay">