[OFBiz] SVN: r6930 - in trunk/applications/accounting/webapp/accounting: WEB-INF admin

sichen@svn.ofbiz.org sichen at svn.ofbiz.org
Mon Mar 6 12:54:11 CST 2006


Author: sichen
Date: 2006-03-06 12:54:07 -0600 (Mon, 06 Mar 2006)
New Revision: 6930

Modified:
   trunk/applications/accounting/webapp/accounting/WEB-INF/controller.xml
   trunk/applications/accounting/webapp/accounting/admin/timePeriods.ftl
Log:
Removed feature for close all time periods which is currently not supported here

Modified: trunk/applications/accounting/webapp/accounting/WEB-INF/controller.xml
===================================================================
--- trunk/applications/accounting/webapp/accounting/WEB-INF/controller.xml	2006-03-06 18:38:15 UTC (rev 6929)
+++ trunk/applications/accounting/webapp/accounting/WEB-INF/controller.xml	2006-03-06 18:54:07 UTC (rev 6930)
@@ -865,12 +865,6 @@
         <response name="success" type="view" value="PartyAcctgPreference"/>
         <response name="error" type="view" value="PartyAcctgPreference"/>
     </request-map>
-    <request-map uri="closeAllTimePeriods">
-        <security https="true" auth="true"/>
-        <event type="service" invoke="closeAllTimePeriods"/>
-        <response name="success" type="view" value="AdminMain"/>
-        <response name="error" type="view" value="AdminMain"/>
-    </request-map>
     
     <request-map uri="GlAccountAssignment">
         <security https="true" auth="true"/>

Modified: trunk/applications/accounting/webapp/accounting/admin/timePeriods.ftl
===================================================================
--- trunk/applications/accounting/webapp/accounting/admin/timePeriods.ftl	2006-03-06 18:38:15 UTC (rev 6929)
+++ trunk/applications/accounting/webapp/accounting/admin/timePeriods.ftl	2006-03-06 18:54:07 UTC (rev 6930)
@@ -44,13 +44,4 @@
 <p>There are currently no closed time periods.</p>
 </#if>
 
-<#if (openTimePeriods?has_content) && (openTimePeriods.size() > 0)>
-<#assign timePeriod = openTimePeriods.get(0)>
-<a href="<@ofbizUrl>closeAllTimePeriods?organizationPartyId=${organizationPartyId}&customTimePeriodId=${timePeriod.customTimePeriodId}</@ofbizUrl>">
-Close time periods ending ${timePeriod.thruDate}
-</a>
-</p>
-<#else>
-<p>There are no time periods which can be closed.</p>
-</#if>
 </div>



More information about the Svn mailing list