David,
this is fine but I am not sure if we really need the page; in fact some time ago we implemented a "financial time period setup" screen in the accounting pages specific for each division: https://localhost:8443/accounting/control/TimePeriods?organizationPartyId=Company Jacopo On Mar 24, 2009, at 9:11 AM, [hidden email] wrote: > Author: jonesde > Date: Tue Mar 24 08:11:22 2009 > New Revision: 757683 > > URL: http://svn.apache.org/viewvc?rev=757683&view=rev > Log: > Moved EditCustomTimePeriods page from webtools to accounting in the > Global GL Settings tab, plus fixed the groovy script so that screen > would actually work, general framework independence changes > > Added: > ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/ > actions/period/ > - copied from r757671, ofbiz/trunk/framework/webtools/webapp/ > webtools/WEB-INF/actions/period/ > ofbiz/trunk/applications/accounting/webapp/accounting/period/ > - copied from r757671, ofbiz/trunk/framework/webtools/webapp/ > webtools/period/ > ofbiz/trunk/applications/accounting/widget/PeriodScreens.xml > (with props) > Removed: > ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/actions/ > period/ > ofbiz/trunk/framework/webtools/webapp/webtools/period/ > Modified: > ofbiz/trunk/applications/accounting/config/AccountingUiLabels.xml > ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/ > actions/period/EditCustomTimePeriod.groovy > ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/ > controller.xml > ofbiz/trunk/applications/accounting/webapp/accounting/period/ > EditCustomTimePeriod.ftl > ofbiz/trunk/applications/accounting/widget/Menus.xml > ofbiz/trunk/framework/webtools/config/WebtoolsUiLabels.xml > ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/ > controller.xml > ofbiz/trunk/framework/webtools/webapp/webtools/main.ftl > ofbiz/trunk/framework/webtools/widget/MiscScreens.xml > > Modified: ofbiz/trunk/applications/accounting/config/ > AccountingUiLabels.xml > URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/config/AccountingUiLabels.xml?rev=757683&r1=757682&r2=757683&view=diff > = > = > = > = > = > = > = > = > ====================================================================== > --- ofbiz/trunk/applications/accounting/config/ > AccountingUiLabels.xml (original) > +++ ofbiz/trunk/applications/accounting/config/ > AccountingUiLabels.xml Tue Mar 24 08:11:22 2009 > @@ -201,6 +201,12 @@ > <value xml:lang="nl">Voeg categorie van GB-rekening toe</ > value> > <value xml:lang="th">à¹à¸à¸ > ´à¹à¸¡à¸«à¸¡à¸§à¸à¸«à¸¡à¸¹à¹à¸à¸±à¸à¸à¸µà¹à¸¢à¸à¸à¸£à¸ > °à¹à¸ à¸à¸à¸±à¹à¸§à¹à¸</value> > </property> > + <property key="AccountingAddCustomTimePeriod"> > + <value xml:lang="en">Add Custom Time Period</value> > + <value xml:lang="fr">Ajouter une période de temps</value> > + <value xml:lang="it">Aggiungi Periodi di Tempo > Personalizzati</value> > + <value xml:lang="th">à¹à¸à¸´à¹à¸¡à¸à¸²à¸ > £à¸à¸³à¸«à¸à¸à¸£à¸°à¸¢à¸°à¹à¸§à¸¥à¸²</value> > + </property> > <property key="AccountingAddFinAccountTypeGlAccount"> > <value xml:lang="de">Finanzkonten-Art Hauptkonto > hinzufügen</value> > <value xml:lang="en">Add FinAccount Type Gl Account</value> > @@ -1999,6 +2005,12 @@ > <value xml:lang="th">à¹à¸à¸´à¸à¸à¸ > ±à¸à¸«à¸²à¹à¸à¸à¸²à¸£à¸à¸£à¸§à¸à¸ªà¸ > à¸à¸à¸§à¸²à¸¡à¸à¸¹à¸à¸à¹à¸ à¸à¸à¸ à¸à¸à¸¸à¸; à¸à¸ > £à¸¸à¸à¸²à¹à¸à¹à¸à¸à¸±à¸à¸£à¸à¸ à¸à¸à¸¸à¸à¹à¸¥à¸°à¸£à¸«à¸ > ±à¸ªà¸ªà¹à¸§à¸à¸à¸±à¸§à¸à¸ à¸à¸à¸¸à¸à¹à¸¥à¸°à¸à¸³à¸ > ีà¸à¸à¸£à¸±à¹à¸</value> > <value xml:lang="zh">æ£æ¥ä½ çä½é¢æ¶åºç°é®é¢ï¼è¯·æ > £æ¥ä½ çå¡åå¯ç ï¼ç¶åéè¯</value> > </property> > + <property key="AccountingCurrentCustomTimePeriod"> > + <value xml:lang="en">Current Custom Time Period</value> > + <value xml:lang="fr">Période de temps spécifique > courante</value> > + <value xml:lang="it">Periodi di Tempo Personalizzati > Attuale</value> > + <value xml:lang="th">à¸à¹à¸§à¸à¹à¸§à¸¥à¸²à¸à¸ à¸à¸ > ¥à¸¹à¸à¸à¹à¸²à¹à¸à¸à¸±à¸à¸à¸¸à¸à¸±à¸</value> > + </property> > <property key="AccountingCustNr"> > <value xml:lang="ar">رÙÙ > اÙزبÙÙ</value> > <value xml:lang="en">Cust.Nr</value> > @@ -2171,6 +2183,14 @@ > <value xml:lang="th">à¹à¸à¹à¹à¸à¸à¸±à¸à¸£à¹à¸à¸ > £à¸à¸´à¸</value> > <value xml:lang="zh">ç¼è¾ä¿¡ç¨å¡</value> > </property> > + <property key="AccountingEditCustomTimePeriods"> > + <value xml:lang="en">Edit Custom Time Periods</value> > + <value xml:lang="fr">Modifier les périodes de temps</value> > + <value xml:lang="it">Aggiorna Periodi di Tempo > Personalizzati</value> > + <value xml:lang="ro">Actualizeaza Perioadele de Timp > Personalizate</value> > + <value xml:lang="th">à¹à¸à¹à¹à¸à¸à¸²à¸ > £à¸à¸³à¸«à¸à¸à¹à¸§à¸¥à¸²</value> > + <value xml:lang="zh">ç¼è¾å®å¶æ¶é´æ®µ</value> > + </property> > <property key="AccountingEditFinAccount"> > <value xml:lang="en">Create/Update Financial Account</value> > <value xml:lang="fr">Créer/ mettre à jour un compte > financier</value> > @@ -4887,6 +4907,19 @@ > <value xml:lang="th">à¹à¸§à¸¥à¸²à¸à¸µà¹à¸à¸³à¸«à¸à¸à¸ > ¢à¸ à¸à¸£à¸§à¸¡à¸à¸ à¸à¸à¸±à¸à¸à¸µà¹à¸¡à¹à¸¡à¸µ</value> > <value xml:lang="zh">ä¸å å¨è´¦åè´¦æ·æ¡ä»¶ã</value> > </property> > + <property key="AccountingNoChildPeriodsFound"> > + <value xml:lang="en">No child periods found</value> > + <value xml:lang="fr">Aucune période enfant trouvée</value> > + <value xml:lang="it">Nessun periodo figlio trovato</value> > + <value xml:lang="th">à¹à¸¡à¹à¸à¸à¸à¹à¸§à¸à¹à¸§à¸ > ¥à¸²à¸ªà¸±à¹à¸ à¹</value> > + </property> > + <property key="AccountingNoCurrentCustomTimePeriodSelected"> > + <value xml:lang="en">No Current Custom Time Period > Selected; "Children" below have no Parent Period.</value> > + <value xml:lang="fr">Aucune période de temps > sélectionnée; la période "fille" ci-dessous n'a aucune période > parente.</value> > + <value xml:lang="it">Nessun periodo di tempo personalizzato > selezionato; i "Periodi figli" sottostanti non hanno alcun "Periodo > padre".</value> > + <value xml:lang="th">à¹à¸¡à¹à¸¡à¸µà¸ > ¥à¸¹à¸à¸à¹à¸²à¹à¸à¸à¹à¸§à¸à¹à¸§à¸¥à¸²à¸à¸µà¹à¹à¸¥à¸·à¸ > à¸; "Children" à¸à¹à¸²à¸à¸¥à¹à¸²à¸à¸à¸µà¹à¹à¸¡à¹à¸¡à¸µà¸à¸ > ¥à¸¸à¹à¸¡à¸à¹à¸§à¸à¹à¸§à¸¥à¸² > + </value> > + </property> > <property key="AccountingNoGenBilAddressFound"> > <value xml:lang="ar">Ùا عÙÙا٠عا٠> /ÙÙترة Ù > ÙجÙد ÙÙطرÙ</value> > <value xml:lang="en">No general/billing address found for > party:</value> > @@ -5148,6 +5181,9 @@ > <value xml:lang="th">สัà¹à¸à¸à¸·à¹à¸ </value> > <value xml:lang="zh">å®å</value> > </property> > + <property key="AccountingOrgGlSettings"> > + <value xml:lang="en">Organization GL Settings</value> > + </property> > <property key="AccountingOrganizationPartyId"> > <value xml:lang="ar">تعرÙ٠طر٠اÙÙ > ؤسسة</value> > <value xml:lang="de">Firmen-ID</value> > @@ -6010,6 +6046,42 @@ > <value xml:lang="th">à¸à¸¸à¸à¹à¸¡à¹à¹à¸à¹à¸£à¸ > ±à¸à¸à¸²à¸£à¸ à¸à¸¸à¸à¸²à¸à¸ªà¸³à¸«à¸£à¸±à¸à¸à¸²à¸ > £à¸à¸³à¸à¸²à¸à¸à¸µà¹</value> > <value xml:lang="zh">ä½ > 没ææ§è¡è¿ä¸ªåè½çæéã</value> > </property> > + <property key="AccountingPermissionPeriod"> > + <value xml:lang="en">You do not have permission to use this > page (PERIOD_MAINT needed)</value> > + <value xml:lang="fr">Vous n'avez pas l'autorisation > d'utiliser cette page (PERIOD_MAINT est nécessaire)</value> > + <value xml:lang="it">Tu non hai il permesso di usare questa > pagina (necessario PERIOD_MAINT)</value> > + <value xml:lang="th">à¸à¸¸à¸à¹à¸¡à¹à¹à¸à¹à¸£à¸±à¸à¸ > à > ¸à¸¸à¸à¸²à¸à¹à¸«à¹à¹à¸à¹à¸à¸²à¸à¹à¸à¸«à¸à¹à¸²à¸à¸µà¹ > (PERIOD_MAINT à¸à¸µà¹à¸à¹à¸ à¸à¸à¸²à¸£)</value> > + </property> > + <property key="AccountingOrgPartyId"> > + <value xml:lang="en">Org Party Id</value> > + <value xml:lang="fr">Réf. d'org.</value> > + <value xml:lang="it">Organizzazione</value> > + <value xml:lang="th">รหัสภà¸à¸à¹à¸à¸£à¸à¸ > ¥à¸¸à¹à¸¡à¸à¸¹à¹à¹à¸à¹</value> > + </property> > + <property key="AccountingChildPeriods"> > + <value xml:lang="en">Child Periods</value> > + <value xml:lang="fr">Périodes enfants</value> > + <value xml:lang="it">Periodi Figli</value> > + <value xml:lang="th">à¸à¹à¸§à¸à¹à¸§à¸¥à¸²à¸ªà¸±à¹à¸ > à¹</value> > + </property> > + <property key="AccountingPeriodName"> > + <value xml:lang="en">Period Name</value> > + <value xml:lang="fr">Nom de période</value> > + <value xml:lang="it">Nome Periodo</value> > + <value xml:lang="th">à¸à¸·à¹à¸ à¸à¹à¸§à¸à¹à¸§à¸¥à¸²</ > value> > + </property> > + <property key="AccountingPeriodNumber"> > + <value xml:lang="en">Period Number</value> > + <value xml:lang="fr">N° de période</value> > + <value xml:lang="it">Numero Periodo</value> > + <value xml:lang="th">หมายà¹à¸ > ¥à¸à¸à¹à¸§à¸à¹à¸§à¸¥à¸²</value> > + </property> > + <property key="AccountingPeriodType"> > + <value xml:lang="en">Period Type</value> > + <value xml:lang="fr">Type de période</value> > + <value xml:lang="it">Tipo Periodo</value> > + <value xml:lang="th">à¸à¸£à¸°à¹à¸ à¸à¸à¹à¸§à¸à¹à¸§à¸ > ¥à¸²</value> > + </property> > <property key="AccountingPhysicalCard"> > <value xml:lang="de">Physikalische Karte</value> > <value xml:lang="en">Physical Card</value> > @@ -6559,6 +6631,12 @@ > <value xml:lang="nl">Toon alle velden</value> > <value xml:lang="th">à¹à¸ªà¸à¸à¸à¸²à¸ > £à¸à¹à¸à¸«à¸²à¸à¸´à¸¥à¸à¹</value> > </property> > + <property key="AccountingShowOnlyPeriodsWithOrganization"> > + <value xml:lang="en">Show Only Periods with Organization > Party ID</value> > + <value xml:lang="fr">Montrer seulement les périodes ayant > la réf. d'acteur de l'organisation</value> > + <value xml:lang="it">Mostra Solo Periodi con > Organizzazioni</value> > + <value xml:lang="th">à¹à¸ªà¸à¸à¸à¹à¸§à¸à¹à¸§à¸ > ¥à¸²à¸à¸±à¸à¸£à¸«à¸±à¸ªà¸ à¸à¸à¹à¸à¸£à¸à¸ > ¥à¸¸à¹à¸¡à¸à¸¹à¹à¹à¸à¹à¸ ยà¹à¸²à¸à¹à¸à¸µà¸¢à¸§</value> > + </property> > <property key="AccountingShowPayments"> > <value xml:lang="ar">عرض اÙتسدÙدات</value> > <value xml:lang="de">Zahlung anzeigen</value> > > Modified: ofbiz/trunk/applications/accounting/webapp/accounting/WEB- > INF/actions/period/EditCustomTimePeriod.groovy > URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/actions/period/EditCustomTimePeriod.groovy?rev=757683&r1=757671&r2=757683&view=diff > = > = > = > = > = > = > = > = > ====================================================================== > --- ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/ > actions/period/EditCustomTimePeriod.groovy (original) > +++ ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/ > actions/period/EditCustomTimePeriod.groovy Tue Mar 24 08:11:22 2009 > @@ -43,10 +43,9 @@ > context.currentPeriodType = currentPeriodType; > } > > -findMap = [organizationPartyId : findOrganizationPartyId]; > -if (currentCustomTimePeriodId) { > - findMap.parentPeriodId = currentCustomTimePeriodId; > -} > +findMap = [ : ]; > +if (findOrganizationPartyId) findMap.organizationPartyId = > findOrganizationPartyId; > +if (currentCustomTimePeriodId) findMap.parentPeriodId = > currentCustomTimePeriodId; > > customTimePeriods = delegator.findByAnd("CustomTimePeriod", findMap, > ["periodTypeId", "periodNum", "fromDate"]); > context.customTimePeriods = customTimePeriods; > > Modified: ofbiz/trunk/applications/accounting/webapp/accounting/WEB- > INF/controller.xml > URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/controller.xml?rev=757683&r1=757682&r2=757683&view=diff > = > = > = > = > = > = > = > = > ====================================================================== > --- ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/ > controller.xml (original) > +++ ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/ > controller.xml Tue Mar 24 08:11:22 2009 > @@ -659,6 +659,30 @@ > <response name="error" type="view" > value="EditPartyGlAccount"/> > </request-map> > > + <!-- CustomTimePeriod requests --> > + <request-map uri="EditCustomTimePeriod"> > + <security https="true" auth="true"/> > + <response name="success" type="view" > value="EditCustomTimePeriod"/> > + </request-map> > + <request-map uri="createCustomTimePeriod"> > + <security https="true" auth="true"/> > + <event type="service" path="" > invoke="createCustomTimePeriod"/> > + <response name="success" type="view" > value="EditCustomTimePeriod"/> > + <response name="error" type="view" > value="EditCustomTimePeriod"/> > + </request-map> > + <request-map uri="updateCustomTimePeriod"> > + <security https="true" auth="true"/> > + <event type="service" path="" > invoke="updateCustomTimePeriod"/> > + <response name="success" type="view" > value="EditCustomTimePeriod"/> > + <response name="error" type="view" > value="EditCustomTimePeriod"/> > + </request-map> > + <request-map uri="deleteCustomTimePeriod"> > + <security https="true" auth="true"/> > + <event type="service" path="" > invoke="deleteCustomTimePeriod"/> > + <response name="success" type="view" > value="EditCustomTimePeriod"/> > + <response name="error" type="view" > value="EditCustomTimePeriod"/> > + </request-map> > + > <!-- =============== Fixed Asset mapping =================--> > <request-map uri="ListFixedAssets"><security https="true" > auth="true"/><response name="success" type="view" > value="ListFixedAssets"/></request-map> > <request-map uri="FixedAssetSearchResults"><security > https="true" auth="false"/><response name="success" type="view" > value="FixedAssetSearchResults"/></request-map> > @@ -1979,6 +2003,8 @@ > <view-map name="ListAcctgTransEntries" type="screen" > page="component://accounting/widget/ > GlobalGlAccountsScreens.xml#ListAcctgTransEntries"/> > <view-map name="EditPartyGlAccount" type="screen" > page="component://accounting/widget/ > GlSetupScreens.xml#EditPartyGlAccount"/> > > + <view-map name="EditCustomTimePeriod" type="screen" > page="component://accounting/widget/ > PeriodScreens.xml#EditCustomTimePeriod"/> > + > <!-- FinAccount --> > <view-map name="FindFinAccount" type="screen" page="component:// > accounting/widget/FinAccountScreens.xml#FindFinAccount"/> > > > Modified: ofbiz/trunk/applications/accounting/webapp/accounting/ > period/EditCustomTimePeriod.ftl > URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/webapp/accounting/period/EditCustomTimePeriod.ftl?rev=757683&r1=757671&r2=757683&view=diff > = > = > = > = > = > = > = > = > ====================================================================== > --- ofbiz/trunk/applications/accounting/webapp/accounting/period/ > EditCustomTimePeriod.ftl (original) > +++ ofbiz/trunk/applications/accounting/webapp/accounting/period/ > EditCustomTimePeriod.ftl Tue Mar 24 08:11:22 2009 > @@ -17,21 +17,19 @@ > under the License. > --> > > -<#assign nowDate = > Static["org.ofbiz.base.util.UtilDateTime"].nowDate()> > - > -<h1>${uiLabelMap.WebtoolsEditCustomTimePeriods}</h1> > +<h1>${uiLabelMap.AccountingEditCustomTimePeriods}</h1> > <br /> > <#if security.hasPermission("PERIOD_MAINT", session)> > <div class="screenlet"> > <div class="screenlet-title-bar"> > <ul> > - <li class="h3">$ > {uiLabelMap.WebtoolsShowOnlyPeriodsWithOrganization}</li> > + <li class="h3">$ > {uiLabelMap.AccountingShowOnlyPeriodsWithOrganization}</li> > </ul> > <br class="clear"/> > </div> > <form method="post" action="<@ofbizUrl>EditCustomTimePeriod</ > @ofbizUrl>" name="setOrganizationPartyIdForm"> > <input type="hidden" name="currentCustomTimePeriodId" > value="${currentCustomTimePeriodId?if_exists}"> > - <span class="label">$ > {uiLabelMap.WebtoolsShowOnlyPeriodsWithOrganization}</span> > + <span class="label">$ > {uiLabelMap.AccountingShowOnlyPeriodsWithOrganization}</span> > <input type="text" size="20" name="findOrganizationPartyId" > value="${findOrganizationPartyId?if_exists}"> > <input type="submit" value='${uiLabelMap.CommonUpdate}'> > </form> > @@ -41,22 +39,22 @@ > <div class="screenlet-title-bar"> > <#if currentCustomTimePeriod?has_content> > <ul> > - <li class="h3">$ > {uiLabelMap.WebtoolsCurrentCustomTimePeriod}</li> > + <li class="h3">$ > {uiLabelMap.AccountingCurrentCustomTimePeriod}</li> > <li><a href="<@ofbizUrl>EditCustomTimePeriod? > findOrganizationPartyId=${findOrganizationPartyId?if_exists}</ > @ofbizUrl>">${uiLabelMap.WebtoolsClearCurrent}</a></li> > </ul> > <#else> > - <h3>${uiLabelMap.WebtoolsCurrentCustomTimePeriod}</h3> > + <h3>${uiLabelMap.AccountingCurrentCustomTimePeriod}</h3> > </#if> > </div> > <#if currentCustomTimePeriod?has_content> > <table class="basic-table" cellspacing="0"> > <tr class="header-row"> > <td>${uiLabelMap.CommonId}</td> > - <td>${uiLabelMap.WebtoolsParent}</td> > - <td>${uiLabelMap.WebtoolsOrgPartyId}</td> > - <td>${uiLabelMap.WebtoolsPeriodType}</td> > + <td>${uiLabelMap.CommonParent}</td> > + <td>${uiLabelMap.AccountingOrgPartyId}</td> > + <td>${uiLabelMap.AccountingPeriodType}</td> > <td>#</td> > - <td>${uiLabelMap.WebtoolsPeriodName}</td> > + <td>${uiLabelMap.AccountingPeriodName}</td> > <td>${uiLabelMap.CommonFromDate}</td> > <td>${uiLabelMap.CommonThruDate}</td> > <td> </td> > @@ -112,7 +110,7 @@ > <#assign hasntStarted = false> > <#assign compareDate = > currentCustomTimePeriod.getDate("fromDate")> > <#if compareDate?has_content> > - <#if nowDate.before(compareDate)><#assign > hasntStarted = true></#if> > + <#if nowTimestamp.before(compareDate)><#assign > hasntStarted = true></#if> > </#if> > <input type="text" size='13' name="fromDate" value="$ > {currentCustomTimePeriod.fromDate?string("yyyy-MM-dd")}"<#if > hasntStarted> class="alert"</#if>> > </td> > @@ -120,7 +118,7 @@ > <#assign hasExpired = false> > <#assign compareDate = > currentCustomTimePeriod.getDate("thruDate")> > <#if compareDate?has_content> > - <#if nowDate.after(compareDate)><#assign hasExpired > = true></#if> > + <#if nowTimestamp.after(compareDate)><#assign > hasExpired = true></#if> > </#if> > <input type="text" size='13' name="thruDate" value="$ > {currentCustomTimePeriod.thruDate?string("yyyy-MM-dd")}"<#if > hasntStarted> class="alert"</#if>> > </td> > @@ -133,22 +131,22 @@ > </form> > </table> > <#else> > - <div class="screenlet-body">$ > {uiLabelMap.WebtoolsNoCurrentCustomTimePeriodSelected}</div> > + <div class="screenlet-body">$ > {uiLabelMap.AccountingNoCurrentCustomTimePeriodSelected}</div> > </#if> > </div> > <div class="screenlet"> > <div class="screenlet-title-bar"> > - <h3>${uiLabelMap.WebtoolsChildPeriods}</h3> > + <h3>${uiLabelMap.AccountingChildPeriods}</h3> > </div> > <#if customTimePeriods?has_content> > <table class="basic-table" cellspacing="0"> > <tr class="header-row"> > <td>${uiLabelMap.CommonId}</td> > <td>${uiLabelMap.WebtoolsParent}</td> > - <td>${uiLabelMap.WebtoolsOrgPartyId}</td> > - <td>${uiLabelMap.WebtoolsPeriodType}</td> > + <td>${uiLabelMap.AccountingOrgPartyId}</td> > + <td>${uiLabelMap.AccountingPeriodType}</td> > <td>#</td> > - <td>${uiLabelMap.WebtoolsPeriodName}</td> > + <td>${uiLabelMap.AccountingPeriodName}</td> > <td>${uiLabelMap.CommonFromDate}</td> > <td>${uiLabelMap.CommonThruDate}</td> > <td> </td> > @@ -203,7 +201,7 @@ > <#assign hasntStarted = false> > <#assign compareDate = > customTimePeriod.getDate("fromDate")> > <#if compareDate?has_content> > - <#if nowDate.before(compareDate)><#assign > hasntStarted = true></#if> > + <#if nowTimestamp.before(compareDate)><#assign > hasntStarted = true></#if> > </#if> > <input type="text" size='13' name="fromDate" value="$ > {customTimePeriod.fromDate?if_exists}"<#if hasntStarted> > class="alert"</#if>> > </td> > @@ -211,7 +209,7 @@ > <#assign hasExpired = false> > <#assign compareDate = > customTimePeriod.getDate("thruDate")> > <#if compareDate?has_content> > - <#if nowDate.after(compareDate)><#assign hasExpired > = true></#if> > + <#if nowTimestamp.after(compareDate)><#assign > hasExpired = true></#if> > </#if> > <input type="text" size='13' name="thruDate" value="$ > {customTimePeriod.thruDate?if_exists}"<#if hasExpired> > class="alert"</#if>> > </td> > @@ -227,12 +225,12 @@ > </#list> > </table> > <#else> > - <div class="screenlet-body">$ > {uiLabelMap.WebtoolsNoChildPeriodsFound}</div> > + <div class="screenlet-body">$ > {uiLabelMap.AccountingNoChildPeriodsFound}</div> > </#if> > </div> > <div class="screenlet"> > <div class="screenlet-title-bar"> > - <h3>${uiLabelMap.WebtoolsAddCustomTimePeriod}</h3> > + <h3>${uiLabelMap.AccountingAddCustomTimePeriod}</h3> > </div> > <div class="screenlet-body"> > <form method="POST" action="<@ofbizUrl>createCustomTimePeriod</ > @ofbizUrl>" name="createCustomTimePeriodForm"> > @@ -240,7 +238,7 @@ > <input type="hidden" name="currentCustomTimePeriodId" > value="${currentCustomTimePeriodId?if_exists}"> > <input type="hidden" name="useValues" value="true"> > <div> > - <span class="label">${uiLabelMap.WebtoolsParent}</span> > + <span class="label">${uiLabelMap.CommonParent}</span> > <select name="parentPeriodId"> > <option value=''> </option> > <#list allCustomTimePeriods as allCustomTimePeriod> > @@ -262,9 +260,9 @@ > </select> > </div> > <div> > - <span class="label">${uiLabelMap.WebtoolsOrgPartyId}</span> > + <span class="label">${uiLabelMap.AccountingOrgPartyId}</ > span> > <input type="text" size='20' name='organizationPartyId'> > - <span class="label">${uiLabelMap.WebtoolsPeriodType}</span> > + <span class="label">${uiLabelMap.AccountingPeriodType}</ > span> > <select name="periodTypeId"> > <#list periodTypes as periodType> > <#assign isDefault = false> > @@ -276,9 +274,9 @@ > <option value="${periodType.periodTypeId}" <#if > isDefault>selected="selected"</#if>>${periodType.description} [$ > {periodType.periodTypeId}]</option> > </#list> > </select> > - <span class="label">${uiLabelMap.WebtoolsPeriodNumber}</ > span> > + <span class="label">${uiLabelMap.AccountingPeriodNumber}</ > span> > <input type="text" size='4' name='periodNum'> > - <span class="label">${uiLabelMap.WebtoolsPeriodName}</span> > + <span class="label">${uiLabelMap.AccountingPeriodName}</ > span> > <input type="text" size='10' name='periodName'> > </div> > <div> > @@ -292,5 +290,5 @@ > </div> > </div> > <#else> > - <h3>${uiLabelMap.WebtoolsPermissionPeriod}.</h3> > + <h3>${uiLabelMap.AccountingPermissionPeriod}.</h3> > </#if> > > Modified: ofbiz/trunk/applications/accounting/widget/Menus.xml > URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/widget/Menus.xml?rev=757683&r1=757682&r2=757683&view=diff > = > = > = > = > = > = > = > = > ====================================================================== > --- ofbiz/trunk/applications/accounting/widget/Menus.xml (original) > +++ ofbiz/trunk/applications/accounting/widget/Menus.xml Tue Mar 24 > 08:11:22 2009 > @@ -36,7 +36,7 @@ > <menu-item name="agreements" title="$ > {uiLabelMap.AccountingAgreements}"><link target="FindAgreement"/></ > menu-item> > <menu-item name="ListFixedAssets" title="$ > {uiLabelMap.AccountingFixedAssets}"><link target="ListFixedAssets"/ > ></menu-item> > <menu-item name="GlobalGLSettings" title="$ > {uiLabelMap.AccountingGlobalGLSettings}"><link > target="globalGLSettings"/></menu-item> > - <menu-item name="companies" title="$ > {uiLabelMap.AccountingGeneralLedger}"><link target="ListCompanies"/ > ></menu-item> > + <menu-item name="companies" title="$ > {uiLabelMap.AccountingOrgGlSettings}"><link target="ListCompanies"/ > ></menu-item> > </menu> > > <menu name="InvoiceTabBar" extends="CommonTabBarMenu" extends- > resource="component://common/widget/CommonMenus.xml"> > @@ -588,7 +588,11 @@ > default-menu-item-name="chartofaccounts"> > <menu-item name="Chartofaccounts" title="$ > {uiLabelMap.AccountingChartOfAcctsMenu}"> > <link target="FindGlobalGlAccount"/> > - </menu-item> > + </menu-item> > + <menu-item name="EditCustomTimePeriod" title="$ > {uiLabelMap.AccountingEditCustomTimePeriods}"> > + <condition><if-has-permission permission="PERIOD_MAINT"/ > ></condition> > + <link target="EditCustomTimePeriod"/> > + </menu-item> > <menu-item name="Costs" title="$ > {uiLabelMap.ManufacturingCostCalcs}"> > <link target="EditCostCalcs"/> > </menu-item> > > Added: ofbiz/trunk/applications/accounting/widget/PeriodScreens.xml > URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/widget/PeriodScreens.xml?rev=757683&view=auto > = > = > = > = > = > = > = > = > ====================================================================== > --- ofbiz/trunk/applications/accounting/widget/PeriodScreens.xml > (added) > +++ ofbiz/trunk/applications/accounting/widget/PeriodScreens.xml Tue > Mar 24 08:11:22 2009 > @@ -0,0 +1,40 @@ > +<!-- > +Licensed to the Apache Software Foundation (ASF) under one > +or more contributor license agreements. See the NOTICE file > +distributed with this work for additional information > +regarding copyright ownership. The ASF licenses this file > +to you under the Apache License, Version 2.0 (the > +"License"); you may not use this file except in compliance > +with the License. You may obtain a copy of the License at > + > +http://www.apache.org/licenses/LICENSE-2.0 > + > +Unless required by applicable law or agreed to in writing, > +software distributed under the License is distributed on an > +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY > +KIND, either express or implied. See the License for the > +specific language governing permissions and limitations > +under the License. > +--> > + > +<screens xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > + xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-screen.xsd > "> > + > + <screen name="EditCustomTimePeriod"> > + <section> > + <actions> > + <set field="headerItem" value="main"/> > + <set field="titleProperty" > value="AccountingEditCustomTimePeriods"/> > + <set field="tabButtonItem" > value="EditCustomTimePeriod"/> > + <script location="component://accounting/webapp/ > accounting/WEB-INF/actions/period/EditCustomTimePeriod.groovy"/> > + </actions> > + <widgets> > + <decorator-screen name="GlobalGLSettingsDecorator" > location="${parameters.mainDecoratorLocation}"> > + <decorator-section name="body"> > + <platform-specific><html><html-template > location="component://accounting/webapp/accounting/period/ > EditCustomTimePeriod.ftl"/></html></platform-specific> > + </decorator-section> > + </decorator-screen> > + </widgets> > + </section> > + </screen> > +</screens> > > Propchange: ofbiz/trunk/applications/accounting/widget/ > PeriodScreens.xml > ------------------------------------------------------------------------------ > svn:eol-style = native > > Propchange: ofbiz/trunk/applications/accounting/widget/ > PeriodScreens.xml > ------------------------------------------------------------------------------ > svn:keywords = "Date Rev Author URL Id" > > Propchange: ofbiz/trunk/applications/accounting/widget/ > PeriodScreens.xml > ------------------------------------------------------------------------------ > svn:mime-type = text/xml > > Modified: ofbiz/trunk/framework/webtools/config/WebtoolsUiLabels.xml > URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/webtools/config/WebtoolsUiLabels.xml?rev=757683&r1=757682&r2=757683&view=diff > = > = > = > = > = > = > = > = > ====================================================================== > --- ofbiz/trunk/framework/webtools/config/WebtoolsUiLabels.xml > (original) > +++ ofbiz/trunk/framework/webtools/config/WebtoolsUiLabels.xml Tue > Mar 24 08:11:22 2009 > @@ -373,12 +373,6 @@ > <value xml:lang="it">Monitor Flussi di Lavoro Attivi</value> > <value xml:lang="th">à¸à¸£à¸§à¸à¸ªà¸ à¸à¸à¸±à¹à¸à¸à¸ > à¸à¸à¸²à¸£à¸à¸³à¸à¸²à¸</value> > </property> > - <property key="WebtoolsAddCustomTimePeriod"> > - <value xml:lang="en">Add Custom Time Period</value> > - <value xml:lang="fr">Ajouter une période de temps</value> > - <value xml:lang="it">Aggiungi Periodi di Tempo > Personalizzati</value> > - <value xml:lang="th">à¹à¸à¸´à¹à¸¡à¸à¸²à¸ > £à¸à¸³à¸«à¸à¸à¸£à¸°à¸¢à¸°à¹à¸§à¸¥à¸²</value> > - </property> > <property key="WebtoolsAddLoggerFormDescription"> > <value xml:lang="en">This form allows you to enable a logger > for a specific package or class.</value> > <value xml:lang="fr">Cette page vous permet d'activer un > enregistreur (logger) pour un paquet ou une classe spécifique.</ > value> > @@ -561,12 +555,6 @@ > <value xml:lang="th">à¸à¸£à¸§à¸à¸ªà¸ à¸/à¹à¸à¸¥à¸µà¹à¸ > ¢à¸à¹à¸à¸¥à¸ à¸à¸²à¸à¸à¹à¸ มูล</value> > <value xml:lang="zh">æ£æ¥/æ´æ°æ°æ®åº</value> > </property> > - <property key="WebtoolsChildPeriods"> > - <value xml:lang="en">Child Periods</value> > - <value xml:lang="fr">Périodes enfants</value> > - <value xml:lang="it">Periodi Figli</value> > - <value xml:lang="th">à¸à¹à¸§à¸à¹à¸§à¸¥à¸²à¸ªà¸±à¹à¸ > à¹</value> > - </property> > <property key="WebtoolsClearAllCaches"> > <value xml:lang="en">Clear All Caches</value> > <value xml:lang="fr">Vider tous les caches</value> > @@ -745,12 +733,6 @@ > <value xml:lang="it">Creare/Rimuovere Chiave Primaria</value> > <value xml:lang="th">ลà¹à¸²à¸/ลภPrimary Keys</value> > </property> > - <property key="WebtoolsCurrentCustomTimePeriod"> > - <value xml:lang="en">Current Custom Time Period</value> > - <value xml:lang="fr">Période de temps spécifique > courante</value> > - <value xml:lang="it">Periodi di Tempo Personalizzati > Attuale</value> > - <value xml:lang="th">à¸à¹à¸§à¸à¹à¸§à¸¥à¸²à¸à¸ à¸à¸ > ¥à¸¹à¸à¸à¹à¸²à¹à¸à¸à¸±à¸à¸à¸¸à¸à¸±à¸</value> > - </property> > <property key="WebtoolsDaemon"> > <value xml:lang="en">Daemon</value> > <value xml:lang="fr">Démon</value> > @@ -872,14 +854,6 @@ > <value xml:lang="th">à¸à¸·à¹à¸ Dispatcher</value> > <value xml:lang="zh">æ§è¡ç¨åºå称</value> > </property> > - <property key="WebtoolsEditCustomTimePeriods"> > - <value xml:lang="en">Edit Custom Time Periods</value> > - <value xml:lang="fr">Modifier les périodes de temps</value> > - <value xml:lang="it">Aggiorna Periodi di Tempo > Personalizzati</value> > - <value xml:lang="ro">Actualizeaza Perioadele de Timp > Personalizate</value> > - <value xml:lang="th">à¹à¸à¹à¹à¸à¸à¸²à¸ > £à¸à¸³à¸«à¸à¸à¹à¸§à¸¥à¸²</value> > - <value xml:lang="zh">ç¼è¾å®å¶æ¶é´æ®µ</value> > - </property> > <property key="WebtoolsElements"> > <value xml:lang="en">Elements</value> > <value xml:lang="fr">Elements</value> > @@ -1878,19 +1852,6 @@ > <value xml:lang="th">à¸à¸·à¹à¸ หรืภ> หà¸à¹à¸²à¸à¸µà¹</value> > <value xml:lang="zh">å称æè§è²</value> > </property> > - <property key="WebtoolsNoChildPeriodsFound"> > - <value xml:lang="en">No child periods found</value> > - <value xml:lang="fr">Aucune période enfant trouvée</value> > - <value xml:lang="it">Nessun periodo figlio trovato</value> > - <value xml:lang="th">à¹à¸¡à¹à¸à¸à¸à¹à¸§à¸à¹à¸§à¸ > ¥à¸²à¸ªà¸±à¹à¸ à¹</value> > - </property> > - <property key="WebtoolsNoCurrentCustomTimePeriodSelected"> > - <value xml:lang="en">No Current Custom Time Period > Selected; "Children" below have no Parent Period.</value> > - <value xml:lang="fr">Aucune période de temps > sélectionnée; la période "fille" ci-dessous n'a aucune période > parente.</value> > - <value xml:lang="it">Nessun periodo di tempo personalizzato > selezionato; i "Periodi figli" sottostanti non hanno alcun "Periodo > padre".</value> > - <value xml:lang="th">à¹à¸¡à¹à¸¡à¸µà¸ > ¥à¸¹à¸à¸à¹à¸²à¹à¸à¸à¹à¸§à¸à¹à¸§à¸¥à¸²à¸à¸µà¹à¹à¸¥à¸·à¸ > à¸; "Children" à¸à¹à¸²à¸à¸¥à¹à¸²à¸à¸à¸µà¹à¹à¸¡à¹à¸¡à¸µà¸à¸ > ¥à¸¸à¹à¸¡à¸à¹à¸§à¸à¹à¸§à¸¥à¸² > - </value> > - </property> > <property key="WebtoolsNoEntitiesRead"> > <value xml:lang="en">No entities read</value> > <value xml:lang="fr">Aucune entité lue</value> > @@ -2049,12 +2010,6 @@ > <value xml:lang="th">à¸à¸²à¸à¹à¸¥à¸·à¸ à¸</value> > <value xml:lang="zh">å¯é</value> > </property> > - <property key="WebtoolsOrgPartyId"> > - <value xml:lang="en">Org Party Id</value> > - <value xml:lang="fr">Réf. d'org.</value> > - <value xml:lang="it">Organizzazione</value> > - <value xml:lang="th">รหัสภà¸à¸à¹à¸à¸£à¸à¸ > ¥à¸¸à¹à¸¡à¸à¸¹à¹à¹à¸à¹</value> > - </property> > <property key="WebtoolsOutParameters"> > <value xml:lang="en">Out parameters</value> > <value xml:lang="fr">Paramètres en sortie</value> > @@ -2155,24 +2110,6 @@ > <value xml:lang="th">à¸à¸²à¸£à¸à¸³à¹à¸à¸´à¸à¸à¸²à¸ > £à¸à¸à¸ªà¸ à¸</value> > <value xml:lang="zh">æ§è½æµè¯</value> > </property> > - <property key="WebtoolsPeriodName"> > - <value xml:lang="en">Period Name</value> > - <value xml:lang="fr">Nom de période</value> > - <value xml:lang="it">Nome Periodo</value> > - <value xml:lang="th">à¸à¸·à¹à¸ à¸à¹à¸§à¸à¹à¸§à¸¥à¸²</ > value> > - </property> > - <property key="WebtoolsPeriodNumber"> > - <value xml:lang="en">Period Number</value> > - <value xml:lang="fr">N° de période</value> > - <value xml:lang="it">Numero Periodo</value> > - <value xml:lang="th">หมายà¹à¸ > ¥à¸à¸à¹à¸§à¸à¹à¸§à¸¥à¸²</value> > - </property> > - <property key="WebtoolsPeriodType"> > - <value xml:lang="en">Period Type</value> > - <value xml:lang="fr">Type de période</value> > - <value xml:lang="it">Tipo Periodo</value> > - <value xml:lang="th">à¸à¸£à¸°à¹à¸ à¸à¸à¹à¸§à¸à¹à¸§à¸ > ¥à¸²</value> > - </property> > <property key="WebtoolsPermissionError"> > <value xml:lang="en">Webtools Permission Error</value> > <value xml:lang="fr">Erreur d'autorisation sur les outils > web</value> > @@ -2187,12 +2124,6 @@ > <value xml:lang="it">Tu non hai il permesso di usare questa > pagina (necessario ENTITY_MAINT)</value> > <value xml:lang="th">à¸à¸¸à¸à¹à¸¡à¹à¹à¸à¹à¸£à¸±à¸à¸ > à > ¸à¸¸à¸à¸²à¸à¹à¸«à¹à¹à¸à¹à¸à¸²à¸à¹à¸à¸«à¸à¹à¸²à¸à¸µà¹ > (ENTITY_MAINT à¸à¸µà¹à¸à¹à¸ à¸à¸à¸²à¸£)</value> > </property> > - <property key="WebtoolsPermissionPeriod"> > - <value xml:lang="en">You do not have permission to use this > page (PERIOD_MAINT needed)</value> > - <value xml:lang="fr">Vous n'avez pas l'autorisation > d'utiliser cette page (PERIOD_MAINT est nécessaire)</value> > - <value xml:lang="it">Tu non hai il permesso di usare questa > pagina (necessario PERIOD_MAINT)</value> > - <value xml:lang="th">à¸à¸¸à¸à¹à¸¡à¹à¹à¸à¹à¸£à¸±à¸à¸ > à > ¸à¸¸à¸à¸²à¸à¹à¸«à¹à¹à¸à¹à¸à¸²à¸à¹à¸à¸«à¸à¹à¸²à¸à¸µà¹ > (PERIOD_MAINT à¸à¸µà¹à¸à¹à¸ à¸à¸à¸²à¸£)</value> > - </property> > <property key="WebtoolsPermissionType"> > <value xml:lang="en">Permission Type</value> > <value xml:lang="fr">Type d'autorisation</value> > @@ -2643,12 +2574,6 @@ > <value xml:lang="it">Imposta Come Attuale</value> > <value xml:lang="th">à¸à¸±à¹à¸à¹à¸à¹à¸à¸à¸ > ±à¸à¸à¸¸à¸à¸±à¸</value> > </property> > - <property key="WebtoolsShowOnlyPeriodsWithOrganization"> > - <value xml:lang="en">Show Only Periods with Organization > Party ID</value> > - <value xml:lang="fr">Montrer seulement les périodes ayant > la réf. d'acteur de l'organisation</value> > - <value xml:lang="it">Mostra Solo Periodi con > Organizzazioni</value> > - <value xml:lang="th">à¹à¸ªà¸à¸à¸à¹à¸§à¸à¹à¸§à¸ > ¥à¸²à¸à¸±à¸à¸£à¸«à¸±à¸ªà¸ à¸à¸à¹à¸à¸£à¸à¸ > ¥à¸¸à¹à¸¡à¸à¸¹à¹à¹à¸à¹à¸ ยà¹à¸²à¸à¹à¸à¸µà¸¢à¸§</value> > - </property> > <property key="WebtoolsShowShowWSDL"> > <value xml:lang="en">Show wsdl</value> > <value xml:lang="fr">Montrer WSDL</value> > > Modified: ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/ > controller.xml > URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/controller.xml?rev=757683&r1=757682&r2=757683&view=diff > = > = > = > = > = > = > = > = > ====================================================================== > --- ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/ > controller.xml (original) > +++ ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/ > controller.xml Tue Mar 24 08:11:22 2009 > @@ -353,30 +353,6 @@ > <response name="error" type="view" value="ServiceList"/> > </request-map> > > - <!-- CustomTimePeriod requests --> > - <request-map uri="EditCustomTimePeriod"> > - <security https="true" auth="true"/> > - <response name="success" type="view" > value="EditCustomTimePeriod"/> > - </request-map> > - <request-map uri="createCustomTimePeriod"> > - <security https="true" auth="true"/> > - <event type="service" path="" > invoke="createCustomTimePeriod"/> > - <response name="success" type="view" > value="EditCustomTimePeriod"/> > - <response name="error" type="view" > value="EditCustomTimePeriod"/> > - </request-map> > - <request-map uri="updateCustomTimePeriod"> > - <security https="true" auth="true"/> > - <event type="service" path="" > invoke="updateCustomTimePeriod"/> > - <response name="success" type="view" > value="EditCustomTimePeriod"/> > - <response name="error" type="view" > value="EditCustomTimePeriod"/> > - </request-map> > - <request-map uri="deleteCustomTimePeriod"> > - <security https="true" auth="true"/> > - <event type="service" path="" > invoke="deleteCustomTimePeriod"/> > - <response name="success" type="view" > value="EditCustomTimePeriod"/> > - <response name="error" type="view" > value="EditCustomTimePeriod"/> > - </request-map> > - > <!-- PerformanceTest requests --> > <request-map uri="EntityPerformanceTest"> > <security https="true" auth="true"/> > @@ -620,8 +596,6 @@ > > <view-map name="EntityPerformanceTest" type="screen" > page="component://webtools/widget/ > EntityScreens.xml#EntityPerformanceTest"/> > > - <view-map name="EditCustomTimePeriod" type="screen" > page="component://webtools/widget/ > MiscScreens.xml#EditCustomTimePeriod"/> > - > <view-map name="ServiceLog" type="screen" page="component:// > webtools/widget/ServiceScreens.xml#ServiceLog"/> > <view-map name="ServiceList" type="screen" page="component:// > webtools/widget/ServiceScreens.xml#ServiceList"/> > <view-map name="FindJob" type="screen" page="component:// > webtools/widget/ServiceScreens.xml#FindJob"/> > > Modified: ofbiz/trunk/framework/webtools/webapp/webtools/main.ftl > URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/webtools/webapp/webtools/main.ftl?rev=757683&r1=757682&r2=757683&view=diff > = > = > = > = > = > = > = > = > ====================================================================== > --- ofbiz/trunk/framework/webtools/webapp/webtools/main.ftl (original) > +++ ofbiz/trunk/framework/webtools/webapp/webtools/main.ftl Tue Mar > 24 08:11:22 2009 > @@ -122,9 +122,6 @@ > <li><a href="<@ofbizUrl>viewdatafile</@ofbizUrl>">$ > {uiLabelMap.WebtoolsWorkWithDataFiles}</a></li> > </#if> > <li><h3>${uiLabelMap.WebtoolsMiscSetupTools}</h3></li> > - <#if security.hasPermission("PERIOD_MAINT", session)> > - <li><a href="<@ofbizUrl>EditCustomTimePeriod</@ofbizUrl>"> > ${uiLabelMap.WebtoolsEditCustomTimePeriods}</a></li> > - </#if> > <#if security.hasPermission("ENUM_STATUS_MAINT", session)> > <#-- > <li><a href="<@ofbizUrl>EditEnumerationTypes</ > @ofbizUrl>">Edit Enumerations</a></li> > > Modified: ofbiz/trunk/framework/webtools/widget/MiscScreens.xml > URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/webtools/widget/MiscScreens.xml?rev=757683&r1=757682&r2=757683&view=diff > = > = > = > = > = > = > = > = > ====================================================================== > --- ofbiz/trunk/framework/webtools/widget/MiscScreens.xml (original) > +++ ofbiz/trunk/framework/webtools/widget/MiscScreens.xml Tue Mar 24 > 08:11:22 2009 > @@ -36,23 +36,6 @@ > </section> > </screen> > > - <screen name="EditCustomTimePeriod"> > - <section> > - <actions> > - <set field="headerItem" value="main"/> > - <set field="titleProperty" > value="WebtoolsEditCustomTimePeriods"/> > - <script location="component://webtools/webapp/ > webtools/WEB-INF/actions/period/EditCustomTimePeriod.groovy"/> > - </actions> > - <widgets> > - <decorator-screen name="main-decorator" location="$ > {parameters.mainDecoratorLocation}"> > - <decorator-section name="body"> > - <platform-specific><html><html-template > location="component://webtools/webapp/webtools/period/ > EditCustomTimePeriod.ftl"/></html></platform-specific> > - </decorator-section> > - </decorator-screen> > - </widgets> > - </section> > - </screen> > - > <screen name="viewdatafile"> > <section> > <actions> > > smime.p7s (3K) Download Attachment |
I saw that one in the per-organization settings area and figured we should also have one that is more globally oriented. Is this redundant with that? -David On Mar 24, 2009, at 2:37 AM, Jacopo Cappellato wrote: > David, > > this is fine but I am not sure if we really need the page; in fact > some time ago we implemented a "financial time period setup" screen > in the accounting pages specific for each division: > > https://localhost:8443/accounting/control/TimePeriods?organizationPartyId=Company > > Jacopo > > > On Mar 24, 2009, at 9:11 AM, [hidden email] wrote: > >> Author: jonesde >> Date: Tue Mar 24 08:11:22 2009 >> New Revision: 757683 >> >> URL: http://svn.apache.org/viewvc?rev=757683&view=rev >> Log: >> Moved EditCustomTimePeriods page from webtools to accounting in the >> Global GL Settings tab, plus fixed the groovy script so that screen >> would actually work, general framework independence changes >> >> Added: >> ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/ >> actions/period/ >> - copied from r757671, ofbiz/trunk/framework/webtools/webapp/ >> webtools/WEB-INF/actions/period/ >> ofbiz/trunk/applications/accounting/webapp/accounting/period/ >> - copied from r757671, ofbiz/trunk/framework/webtools/webapp/ >> webtools/period/ >> ofbiz/trunk/applications/accounting/widget/PeriodScreens.xml >> (with props) >> Removed: >> ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/actions/ >> period/ >> ofbiz/trunk/framework/webtools/webapp/webtools/period/ >> Modified: >> ofbiz/trunk/applications/accounting/config/AccountingUiLabels.xml >> ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/ >> actions/period/EditCustomTimePeriod.groovy >> ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/ >> controller.xml >> ofbiz/trunk/applications/accounting/webapp/accounting/period/ >> EditCustomTimePeriod.ftl >> ofbiz/trunk/applications/accounting/widget/Menus.xml >> ofbiz/trunk/framework/webtools/config/WebtoolsUiLabels.xml >> ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/ >> controller.xml >> ofbiz/trunk/framework/webtools/webapp/webtools/main.ftl >> ofbiz/trunk/framework/webtools/widget/MiscScreens.xml >> >> Modified: ofbiz/trunk/applications/accounting/config/ >> AccountingUiLabels.xml >> URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/config/AccountingUiLabels.xml?rev=757683&r1=757682&r2=757683&view=diff >> = >> = >> = >> = >> = >> = >> = >> = >> = >> ===================================================================== >> --- ofbiz/trunk/applications/accounting/config/ >> AccountingUiLabels.xml (original) >> +++ ofbiz/trunk/applications/accounting/config/ >> AccountingUiLabels.xml Tue Mar 24 08:11:22 2009 >> @@ -201,6 +201,12 @@ >> <value xml:lang="nl">Voeg categorie van GB-rekening toe</ >> value> >> <value xml:lang="th">à’•à¸ıภ>> ´à’√มหมวภ>> ‰à¸«à¸¡à¸’à’√à¸˚ัฟฅ >> à¸µà’™à¸¢à¸™à¸˝à¸£à¸°à’•à¸ >> ธธัà’√วà’≥à¸˝</value> >> </property> >> + <property key="AccountingAddCustomTimePeriod"> >> + <value xml:lang="en">Add Custom Time Period</value> >> + <value xml:lang="fr">Ajouter une période de temps</value> >> + <value xml:lang="it">Aggiungi Periodi di Tempo >> Personalizzati</value> >> + <value xml:lang="th">à’•à¸ıภ>> ´à’√มนดรนณหà¸˙ภ>> ‰à¸£à¸°à¸¢à¸°à’•à¸§à¸¥à¸”</value> >> + </property> >> <property key="AccountingAddFinAccountTypeGlAccount"> >> <value xml:lang="de">Finanzkonten-Art Hauptkonto >> hinzufÃπgen</value> >> <value xml:lang="en">Add FinAccount Type Gl Account</value> >> @@ -1999,6 +2005,12 @@ >> <value xml:lang="th">à’•à¸™à¸´à¸‰à¸˝à¸ >> ±à¸Ÿà¸«à¸”à’∞à¸˙นดรà¸à¸ >> £à¸§à¸√สภ>> à >> ¸ >> ˚à¸≥วดมจฒนà¸à’≈ภ>> à¸Ωà¸≠ภà¸Ωà¸≥ุค; นภ>> £à¸¸à¸„à¸”à’•à¸…à’Ωà¸≥à¸˚ภ>> ±à¸à¸£à¸≠ภà¸Ωà¸≥à¸¸à¸„à’™à¸ >> ¥à¸°à¸£à¸«à¸±à¸ªà¸ªà’√วà¸˙à¸à¸ >> ±à¸§à¸≠ภà¸Ωà¸≥à¸¸à¸„à’™à¸¥à¸ >> °à¸˜à¸“ภีนà¸≥รัà’≈à¸Ω</ >> value> >> <value xml:lang="zh">棕惥ä∏ ç˚≥ä∏˙é >> ¢ˇæ˜¶åΩºç⁄°é˜®é¢˘ïπ˝è¯·æ£•æƒ¥ä∏ >> ç˚≥埡傑å¯∫ç >> ™ïπ‘ç≥¶å∆⁄éΩŸè¯</value> >> </property> >> + <property key="AccountingCurrentCustomTimePeriod"> >> + <value xml:lang="en">Current Custom Time Period</value> >> + <value xml:lang="fr">Période de temps spécifique >> courante</value> >> + <value xml:lang="it">Periodi di Tempo Personalizzati >> Attuale</value> >> + <value xml:lang="th">ฅ >> à’√วà¸Ωà’•à¸§à¸¥à¸”à¸≠ภà¸Ωภ>> ¥à¸’นà¸≥à’≈ดà’∞à¸˙à¸˝à¸ >> ±à¸√à¸√ุà¸˚ัà¸˙</value> >> + </property> >> <property key="AccountingCustNr"> >> <value xml:lang="ar">رÙ≠Ù >> اÙ≥ؔبÙ√Ù∫</value> >> <value xml:lang="en">Cust.Nr</value> >> @@ -2171,6 +2183,14 @@ >> <value >> xml:lang="th">à’™à¸™à’≈à’≥à¸≠à¸˚ภ>> ±à¸à¸£à’•à¸≥รฉิà¸</value> >> <value xml:lang="zh">çπˆè≤Œä¿¡ç‰¨åŸ¡</value> >> </property> >> + <property key="AccountingEditCustomTimePeriods"> >> + <value xml:lang="en">Edit Custom Time Periods</value> >> + <value xml:lang="fr">Modifier les périodes de temps</ >> value> >> + <value xml:lang="it">Aggiorna Periodi di Tempo >> Personalizzati</value> >> + <value xml:lang="ro">Actualizeaza Perioadele de Timp >> Personalizate</value> >> + <value >> xml:lang >> ="th">à’™à¸™à’≈à’≥à¸≠นดภ>> £à¸™à¸“หà¸˙à¸‰à’•à¸§à¸¥à¸”</ >> value> >> + <value xml:lang="zh">çπˆè≤Œå®˚å√¶æ˜¶é˜ >> ´æ®µ</value> >> + </property> >> <property key="AccountingEditFinAccount"> >> <value xml:lang="en">Create/Update Financial Account</value> >> <value xml:lang="fr">Créer/ mettre à jour un compte >> financier</value> >> @@ -4887,6 +4907,19 @@ >> <value xml:lang="th">à’•à¸§à¸ >> ¥à¸”ธีà’√นณหà¸˙ฉภ>> ¢à¸ ฉรวมà¸≠ภà¸Ωà¸˚ภ>> ±à¸Ÿà¸…ีà’≥มà’√มี</value> >> <value xml:lang="zh">ä¸Ÿå ˘å˛¨è´œåŸè >> ´œæ√·æˇ¡ä»¶ã•≠</value> >> </property> >> + <property key="AccountingNoChildPeriodsFound"> >> + <value xml:lang="en">No child periods found</value> >> + <value xml:lang="fr">Aucune période enfant trouvée</ >> value> >> + <value xml:lang="it">Nessun periodo figlio trovato</value> >> + <value >> xml:lang="th">à’≥มà’√à¸ıà¸˚ฅ >> à’√วà¸Ωà’•à¸§à¸¥à¸”à¸ªà¸ >> ±à’≈à¸˙ à’∫</value> >> + </property> >> + <property key="AccountingNoCurrentCustomTimePeriodSelected"> >> + <value xml:lang="en">No Current Custom Time Period >> Selected; "Children" below have no Parent Period.</value> >> + <value xml:lang="fr">Aucune période de temps >> sélectionnée; la période "fille" ci-dessous n'a aucune >> période parente.</value> >> + <value xml:lang="it">Nessun periodo di tempo >> personalizzato selezionato; i "Periodi figli" sottostanti non hanno >> alcun "Periodo padre".</value> >> + <value xml:lang="th">à’≥มà’√มีภ>> ¥à¸’นà¸≥à’≈ดà’∞à¸˙ฅ >> à’√วà¸Ωà’•à¸§à¸ >> ¥à¸”ธีà’√à’•à¸¥à¸·à¸ à¸™; >> "Children" ฉà’≈ดà¸˙ภ>> ¥ >> à >> ’√ >> à >> ¸ >> ”à >> ¸Ωà¸˙ีà’≈à’≥มà’√มีนภ>> ¥à¸¸à’√มฅà’√วà¸Ωà’•à¸§à¸ >> ¥à¸” >> + </value> >> + </property> >> <property key="AccountingNoGenBilAddressFound"> >> <value xml:lang="ar">Ù≥ا Ø’Ù∫Ù√اÙ∫ >> ؒا٠>> /Ù™Ù√ترة Ù >> Ù√جÙ√د Ù≥Ù≥طرٙ</value> >> <value xml:lang="en">No general/billing address found for >> party:</value> >> @@ -5148,6 +5181,9 @@ >> <value xml:lang="th">สัà’√à¸Ωท >> ืà’≈ภ</value> >> <value xml:lang="zh">å®˚åŸ</value> >> </property> >> + <property key="AccountingOrgGlSettings"> >> + <value xml:lang="en">Organization GL Settings</value> >> + </property> >> <property key="AccountingOrganizationPartyId"> >> <value xml:lang="ar">تؒرمٙ طرٙ >> اÙ≥Ù >> ؤؓؓة</value> >> <value xml:lang="de">Firmen-ID</value> >> @@ -6010,6 +6046,42 @@ >> <value >> xml:lang="th">à¸≥ุคà’≥มà’√à’≥ภ>> ‰à’≈รัà¸˚นดรภ>> à¸˙ุฟดà¸à¸ªà¸“หรภ>> ±à¸˚นดภ>> £à¸˜à¸“à¸Ωดà¸˙à¸˙ีà’≈</value> >> <value xml:lang="zh">ä∏ >> 攡æ˛≈æ≈§è¡‘è¿˙ä¸ªå… >> ƒè∞∏ç˚≥æˇ∞é˙∆ã•≠</value> >> </property> >> + <property key="AccountingPermissionPeriod"> >> + <value xml:lang="en">You do not have permission to use >> this page (PERIOD_MAINT needed)</value> >> + <value xml:lang="fr">Vous n'avez pas l'autorisation >> d'utiliser cette page (PERIOD_MAINT est nécessaire)</value> >> + <value xml:lang="it">Tu non hai il permesso di usare >> questa pagina (necessario PERIOD_MAINT)</value> >> + <value >> xml:lang="th">à¸≥ุคà’≥มà’√à’≥ภ>> ‰à’≈รัà¸˚ภ>> à¸˙ุฟดà¸à’∞หà’≈à’∞ฅ >> à >> ’≈ >> à >> ¸ >> Ωà >> ¸ >> ”à >> ¸˙à’∞à¸˙หà¸˙à’≈ดà¸˙ีà’≈ >> (PERIOD_MAINT ธีà’√à¸à’≈ภ>> à¸Ωนดร)</value> >> + </property> >> + <property key="AccountingOrgPartyId"> >> + <value xml:lang="en">Org Party Id</value> >> + <value xml:lang="fr">Réf. d'org.</value> >> + <value xml:lang="it">Organizzazione</value> >> + <value xml:lang="th">รหัสภ>> à¸Ωà¸≥à’‘à¸™à¸£à¸™à¸ >> ¥à¸¸à’√à¸¡à¸˛à¸’à’≈à’∞ฅà’≈</ >> value> >> + </property> >> + <property key="AccountingChildPeriods"> >> + <value xml:lang="en">Child Periods</value> >> + <value xml:lang="fr">Périodes enfants</value> >> + <value xml:lang="it">Periodi Figli</value> >> + <value xml:lang="th">ฅ >> à’√วà¸Ωà’•à¸§à¸¥à¸”à¸ªà¸ >> ±à’≈à¸˙ à’∫</value> >> + </property> >> + <property key="AccountingPeriodName"> >> + <value xml:lang="en">Period Name</value> >> + <value xml:lang="fr">Nom de période</value> >> + <value xml:lang="it">Nome Periodo</value> >> + <value xml:lang="th">ฅืà’√ภฅ >> à’√วà¸Ωà’•à¸§à¸¥à¸”</value> >> + </property> >> + <property key="AccountingPeriodNumber"> >> + <value xml:lang="en">Period Number</value> >> + <value xml:lang="fr">N° de période</value> >> + <value xml:lang="it">Numero Periodo</value> >> + <value xml:lang="th">à¸«à¸¡à¸”à¸¢à’•à¸ >> ¥à¸≠ฅà’√วà¸Ωà’•à¸§à¸¥à¸”</ >> value> >> + </property> >> + <property key="AccountingPeriodType"> >> + <value xml:lang="en">Period Type</value> >> + <value xml:lang="fr">Type de période</value> >> + <value xml:lang="it">Tipo Periodo</value> >> + <value xml:lang="th">à¸˝à¸£à¸°à’•à¸ >> ธฅà’√วà¸Ωà’•à¸§à¸¥à¸”</value> >> + </property> >> <property key="AccountingPhysicalCard"> >> <value xml:lang="de">Physikalische Karte</value> >> <value xml:lang="en">Physical Card</value> >> @@ -6559,6 +6631,12 @@ >> <value xml:lang="nl">Toon alle velden</value> >> <value xml:lang="th">à’™à¸ªà¸ >> ‰à¸Ωนดภ>> £à¸≥à’≈à¸˙หดฃิลภ>> ‰à’‘</value> >> </property> >> + <property key="AccountingShowOnlyPeriodsWithOrganization"> >> + <value xml:lang="en">Show Only Periods with Organization >> Party ID</value> >> + <value xml:lang="fr">Montrer seulement les périodes >> ayant la réf. d'acteur de l'organisation</value> >> + <value xml:lang="it">Mostra Solo Periodi con >> Organizzazioni</value> >> + <value xml:lang="th">à’™à¸ªà¸‰à¸Ωฅ >> à’√วà¸Ωà’•à¸§à¸¥à¸”à¸™à¸ >> ±à¸˚รหัสภà¸Ωà¸≥à’‘à¸™à¸ >> £à¸™à¸ >> ¥à¸¸à’√à¸¡à¸˛à¸’à’≈à’∞ฅ >> à’≈ภยà’√ดà¸Ωà’•à¸‰à¸µà¸ >> ¢à¸§</value> >> + </property> >> <property key="AccountingShowPayments"> >> <value xml:lang="ar">ؒرض اÙ≥تؓدم >> دات</value> >> <value xml:lang="de">Zahlung anzeigen</value> >> >> Modified: ofbiz/trunk/applications/accounting/webapp/accounting/WEB- >> INF/actions/period/EditCustomTimePeriod.groovy >> URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/actions/period/EditCustomTimePeriod.groovy?rev=757683&r1=757671&r2=757683&view=diff >> = >> = >> = >> = >> = >> = >> = >> = >> = >> ===================================================================== >> --- ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/ >> actions/period/EditCustomTimePeriod.groovy (original) >> +++ ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/ >> actions/period/EditCustomTimePeriod.groovy Tue Mar 24 08:11:22 2009 >> @@ -43,10 +43,9 @@ >> context.currentPeriodType = currentPeriodType; >> } >> >> -findMap = [organizationPartyId : findOrganizationPartyId]; >> -if (currentCustomTimePeriodId) { >> - findMap.parentPeriodId = currentCustomTimePeriodId; >> -} >> +findMap = [ : ]; >> +if (findOrganizationPartyId) findMap.organizationPartyId = >> findOrganizationPartyId; >> +if (currentCustomTimePeriodId) findMap.parentPeriodId = >> currentCustomTimePeriodId; >> >> customTimePeriods = delegator.findByAnd("CustomTimePeriod", >> findMap, ["periodTypeId", "periodNum", "fromDate"]); >> context.customTimePeriods = customTimePeriods; >> >> Modified: ofbiz/trunk/applications/accounting/webapp/accounting/WEB- >> INF/controller.xml >> URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/controller.xml?rev=757683&r1=757682&r2=757683&view=diff >> = >> = >> = >> = >> = >> = >> = >> = >> = >> ===================================================================== >> --- ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/ >> controller.xml (original) >> +++ ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/ >> controller.xml Tue Mar 24 08:11:22 2009 >> @@ -659,6 +659,30 @@ >> <response name="error" type="view" >> value="EditPartyGlAccount"/> >> </request-map> >> >> + <!-- CustomTimePeriod requests --> >> + <request-map uri="EditCustomTimePeriod"> >> + <security https="true" auth="true"/> >> + <response name="success" type="view" >> value="EditCustomTimePeriod"/> >> + </request-map> >> + <request-map uri="createCustomTimePeriod"> >> + <security https="true" auth="true"/> >> + <event type="service" path="" >> invoke="createCustomTimePeriod"/> >> + <response name="success" type="view" >> value="EditCustomTimePeriod"/> >> + <response name="error" type="view" >> value="EditCustomTimePeriod"/> >> + </request-map> >> + <request-map uri="updateCustomTimePeriod"> >> + <security https="true" auth="true"/> >> + <event type="service" path="" >> invoke="updateCustomTimePeriod"/> >> + <response name="success" type="view" >> value="EditCustomTimePeriod"/> >> + <response name="error" type="view" >> value="EditCustomTimePeriod"/> >> + </request-map> >> + <request-map uri="deleteCustomTimePeriod"> >> + <security https="true" auth="true"/> >> + <event type="service" path="" >> invoke="deleteCustomTimePeriod"/> >> + <response name="success" type="view" >> value="EditCustomTimePeriod"/> >> + <response name="error" type="view" >> value="EditCustomTimePeriod"/> >> + </request-map> >> + >> <!-- =============== Fixed Asset mapping =================--> >> <request-map uri="ListFixedAssets"><security https="true" >> auth="true"/><response name="success" type="view" >> value="ListFixedAssets"/></request-map> >> <request-map uri="FixedAssetSearchResults"><security >> https="true" auth="false"/><response name="success" type="view" >> value="FixedAssetSearchResults"/></request-map> >> @@ -1979,6 +2003,8 @@ >> <view-map name="ListAcctgTransEntries" type="screen" >> page="component://accounting/widget/ >> GlobalGlAccountsScreens.xml#ListAcctgTransEntries"/> >> <view-map name="EditPartyGlAccount" type="screen" >> page="component://accounting/widget/ >> GlSetupScreens.xml#EditPartyGlAccount"/> >> >> + <view-map name="EditCustomTimePeriod" type="screen" >> page="component://accounting/widget/ >> PeriodScreens.xml#EditCustomTimePeriod"/> >> + >> <!-- FinAccount --> >> <view-map name="FindFinAccount" type="screen" page="component:// >> accounting/widget/FinAccountScreens.xml#FindFinAccount"/> >> >> >> Modified: ofbiz/trunk/applications/accounting/webapp/accounting/ >> period/EditCustomTimePeriod.ftl >> URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/webapp/accounting/period/EditCustomTimePeriod.ftl?rev=757683&r1=757671&r2=757683&view=diff >> = >> = >> = >> = >> = >> = >> = >> = >> = >> ===================================================================== >> --- ofbiz/trunk/applications/accounting/webapp/accounting/period/ >> EditCustomTimePeriod.ftl (original) >> +++ ofbiz/trunk/applications/accounting/webapp/accounting/period/ >> EditCustomTimePeriod.ftl Tue Mar 24 08:11:22 2009 >> @@ -17,21 +17,19 @@ >> under the License. >> --> >> >> -<#assign nowDate = >> Static["org.ofbiz.base.util.UtilDateTime"].nowDate()> >> - >> -<h1>${uiLabelMap.WebtoolsEditCustomTimePeriods}</h1> >> +<h1>${uiLabelMap.AccountingEditCustomTimePeriods}</h1> >> <br /> >> <#if security.hasPermission("PERIOD_MAINT", session)> >> <div class="screenlet"> >> <div class="screenlet-title-bar"> >> <ul> >> - <li class="h3">$ >> {uiLabelMap.WebtoolsShowOnlyPeriodsWithOrganization}</li> >> + <li class="h3">$ >> {uiLabelMap.AccountingShowOnlyPeriodsWithOrganization}</li> >> </ul> >> <br class="clear"/> >> </div> >> <form method="post" action="<@ofbizUrl>EditCustomTimePeriod</ >> @ofbizUrl>" name="setOrganizationPartyIdForm"> >> <input type="hidden" name="currentCustomTimePeriodId" >> value="${currentCustomTimePeriodId?if_exists}"> >> - <span class="label">$ >> {uiLabelMap.WebtoolsShowOnlyPeriodsWithOrganization}</span> >> + <span class="label">$ >> {uiLabelMap.AccountingShowOnlyPeriodsWithOrganization}</span> >> <input type="text" size="20" name="findOrganizationPartyId" >> value="${findOrganizationPartyId?if_exists}"> >> <input type="submit" value='${uiLabelMap.CommonUpdate}'> >> </form> >> @@ -41,22 +39,22 @@ >> <div class="screenlet-title-bar"> >> <#if currentCustomTimePeriod?has_content> >> <ul> >> - <li class="h3">$ >> {uiLabelMap.WebtoolsCurrentCustomTimePeriod}</li> >> + <li class="h3">$ >> {uiLabelMap.AccountingCurrentCustomTimePeriod}</li> >> <li><a href="<@ofbizUrl>EditCustomTimePeriod? >> findOrganizationPartyId=${findOrganizationPartyId?if_exists}</ >> @ofbizUrl>">${uiLabelMap.WebtoolsClearCurrent}</a></li> >> </ul> >> <#else> >> - <h3>${uiLabelMap.WebtoolsCurrentCustomTimePeriod}</h3> >> + <h3>${uiLabelMap.AccountingCurrentCustomTimePeriod}</h3> >> </#if> >> </div> >> <#if currentCustomTimePeriod?has_content> >> <table class="basic-table" cellspacing="0"> >> <tr class="header-row"> >> <td>${uiLabelMap.CommonId}</td> >> - <td>${uiLabelMap.WebtoolsParent}</td> >> - <td>${uiLabelMap.WebtoolsOrgPartyId}</td> >> - <td>${uiLabelMap.WebtoolsPeriodType}</td> >> + <td>${uiLabelMap.CommonParent}</td> >> + <td>${uiLabelMap.AccountingOrgPartyId}</td> >> + <td>${uiLabelMap.AccountingPeriodType}</td> >> <td>#</td> >> - <td>${uiLabelMap.WebtoolsPeriodName}</td> >> + <td>${uiLabelMap.AccountingPeriodName}</td> >> <td>${uiLabelMap.CommonFromDate}</td> >> <td>${uiLabelMap.CommonThruDate}</td> >> <td> </td> >> @@ -112,7 +110,7 @@ >> <#assign hasntStarted = false> >> <#assign compareDate = >> currentCustomTimePeriod.getDate("fromDate")> >> <#if compareDate?has_content> >> - <#if nowDate.before(compareDate)><#assign >> hasntStarted = true></#if> >> + <#if nowTimestamp.before(compareDate)><#assign >> hasntStarted = true></#if> >> </#if> >> <input type="text" size='13' name="fromDate" value="$ >> {currentCustomTimePeriod.fromDate?string("yyyy-MM-dd")}"<#if >> hasntStarted> class="alert"</#if>> >> </td> >> @@ -120,7 +118,7 @@ >> <#assign hasExpired = false> >> <#assign compareDate = >> currentCustomTimePeriod.getDate("thruDate")> >> <#if compareDate?has_content> >> - <#if nowDate.after(compareDate)><#assign >> hasExpired = true></#if> >> + <#if nowTimestamp.after(compareDate)><#assign >> hasExpired = true></#if> >> </#if> >> <input type="text" size='13' name="thruDate" value="$ >> {currentCustomTimePeriod.thruDate?string("yyyy-MM-dd")}"<#if >> hasntStarted> class="alert"</#if>> >> </td> >> @@ -133,22 +131,22 @@ >> </form> >> </table> >> <#else> >> - <div class="screenlet-body">$ >> {uiLabelMap.WebtoolsNoCurrentCustomTimePeriodSelected}</div> >> + <div class="screenlet-body">$ >> {uiLabelMap.AccountingNoCurrentCustomTimePeriodSelected}</div> >> </#if> >> </div> >> <div class="screenlet"> >> <div class="screenlet-title-bar"> >> - <h3>${uiLabelMap.WebtoolsChildPeriods}</h3> >> + <h3>${uiLabelMap.AccountingChildPeriods}</h3> >> </div> >> <#if customTimePeriods?has_content> >> <table class="basic-table" cellspacing="0"> >> <tr class="header-row"> >> <td>${uiLabelMap.CommonId}</td> >> <td>${uiLabelMap.WebtoolsParent}</td> >> - <td>${uiLabelMap.WebtoolsOrgPartyId}</td> >> - <td>${uiLabelMap.WebtoolsPeriodType}</td> >> + <td>${uiLabelMap.AccountingOrgPartyId}</td> >> + <td>${uiLabelMap.AccountingPeriodType}</td> >> <td>#</td> >> - <td>${uiLabelMap.WebtoolsPeriodName}</td> >> + <td>${uiLabelMap.AccountingPeriodName}</td> >> <td>${uiLabelMap.CommonFromDate}</td> >> <td>${uiLabelMap.CommonThruDate}</td> >> <td> </td> >> @@ -203,7 +201,7 @@ >> <#assign hasntStarted = false> >> <#assign compareDate = >> customTimePeriod.getDate("fromDate")> >> <#if compareDate?has_content> >> - <#if nowDate.before(compareDate)><#assign >> hasntStarted = true></#if> >> + <#if nowTimestamp.before(compareDate)><#assign >> hasntStarted = true></#if> >> </#if> >> <input type="text" size='13' name="fromDate" value="$ >> {customTimePeriod.fromDate?if_exists}"<#if hasntStarted> >> class="alert"</#if>> >> </td> >> @@ -211,7 +209,7 @@ >> <#assign hasExpired = false> >> <#assign compareDate = >> customTimePeriod.getDate("thruDate")> >> <#if compareDate?has_content> >> - <#if nowDate.after(compareDate)><#assign >> hasExpired = true></#if> >> + <#if nowTimestamp.after(compareDate)><#assign >> hasExpired = true></#if> >> </#if> >> <input type="text" size='13' name="thruDate" value="$ >> {customTimePeriod.thruDate?if_exists}"<#if hasExpired> >> class="alert"</#if>> >> </td> >> @@ -227,12 +225,12 @@ >> </#list> >> </table> >> <#else> >> - <div class="screenlet-body">$ >> {uiLabelMap.WebtoolsNoChildPeriodsFound}</div> >> + <div class="screenlet-body">$ >> {uiLabelMap.AccountingNoChildPeriodsFound}</div> >> </#if> >> </div> >> <div class="screenlet"> >> <div class="screenlet-title-bar"> >> - <h3>${uiLabelMap.WebtoolsAddCustomTimePeriod}</h3> >> + <h3>${uiLabelMap.AccountingAddCustomTimePeriod}</h3> >> </div> >> <div class="screenlet-body"> >> <form method="POST" action="<@ofbizUrl>createCustomTimePeriod</ >> @ofbizUrl>" name="createCustomTimePeriodForm"> >> @@ -240,7 +238,7 @@ >> <input type="hidden" name="currentCustomTimePeriodId" >> value="${currentCustomTimePeriodId?if_exists}"> >> <input type="hidden" name="useValues" value="true"> >> <div> >> - <span class="label">${uiLabelMap.WebtoolsParent}</span> >> + <span class="label">${uiLabelMap.CommonParent}</span> >> <select name="parentPeriodId"> >> <option value=''> </option> >> <#list allCustomTimePeriods as allCustomTimePeriod> >> @@ -262,9 +260,9 @@ >> </select> >> </div> >> <div> >> - <span class="label">${uiLabelMap.WebtoolsOrgPartyId}</ >> span> >> + <span class="label">${uiLabelMap.AccountingOrgPartyId}</ >> span> >> <input type="text" size='20' name='organizationPartyId'> >> - <span class="label">${uiLabelMap.WebtoolsPeriodType}</ >> span> >> + <span class="label">${uiLabelMap.AccountingPeriodType}</ >> span> >> <select name="periodTypeId"> >> <#list periodTypes as periodType> >> <#assign isDefault = false> >> @@ -276,9 +274,9 @@ >> <option value="${periodType.periodTypeId}" <#if >> isDefault>selected="selected"</#if>>${periodType.description} [$ >> {periodType.periodTypeId}]</option> >> </#list> >> </select> >> - <span class="label">${uiLabelMap.WebtoolsPeriodNumber}</ >> span> >> + <span class="label">$ >> {uiLabelMap.AccountingPeriodNumber}</span> >> <input type="text" size='4' name='periodNum'> >> - <span class="label">${uiLabelMap.WebtoolsPeriodName}</ >> span> >> + <span class="label">${uiLabelMap.AccountingPeriodName}</ >> span> >> <input type="text" size='10' name='periodName'> >> </div> >> <div> >> @@ -292,5 +290,5 @@ >> </div> >> </div> >> <#else> >> - <h3>${uiLabelMap.WebtoolsPermissionPeriod}.</h3> >> + <h3>${uiLabelMap.AccountingPermissionPeriod}.</h3> >> </#if> >> >> Modified: ofbiz/trunk/applications/accounting/widget/Menus.xml >> URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/widget/Menus.xml?rev=757683&r1=757682&r2=757683&view=diff >> = >> = >> = >> = >> = >> = >> = >> = >> = >> ===================================================================== >> --- ofbiz/trunk/applications/accounting/widget/Menus.xml (original) >> +++ ofbiz/trunk/applications/accounting/widget/Menus.xml Tue Mar 24 >> 08:11:22 2009 >> @@ -36,7 +36,7 @@ >> <menu-item name="agreements" title="$ >> {uiLabelMap.AccountingAgreements}"><link target="FindAgreement"/></ >> menu-item> >> <menu-item name="ListFixedAssets" title="$ >> {uiLabelMap.AccountingFixedAssets}"><link target="ListFixedAssets"/ >> ></menu-item> >> <menu-item name="GlobalGLSettings" title="$ >> {uiLabelMap.AccountingGlobalGLSettings}"><link >> target="globalGLSettings"/></menu-item> >> - <menu-item name="companies" title="$ >> {uiLabelMap.AccountingGeneralLedger}"><link target="ListCompanies"/ >> ></menu-item> >> + <menu-item name="companies" title="$ >> {uiLabelMap.AccountingOrgGlSettings}"><link target="ListCompanies"/ >> ></menu-item> >> </menu> >> >> <menu name="InvoiceTabBar" extends="CommonTabBarMenu" extends- >> resource="component://common/widget/CommonMenus.xml"> >> @@ -588,7 +588,11 @@ >> default-menu-item-name="chartofaccounts"> >> <menu-item name="Chartofaccounts" title="$ >> {uiLabelMap.AccountingChartOfAcctsMenu}"> >> <link target="FindGlobalGlAccount"/> >> - </menu-item> >> + </menu-item> >> + <menu-item name="EditCustomTimePeriod" title="$ >> {uiLabelMap.AccountingEditCustomTimePeriods}"> >> + <condition><if-has-permission >> permission="PERIOD_MAINT"/></condition> >> + <link target="EditCustomTimePeriod"/> >> + </menu-item> >> <menu-item name="Costs" title="$ >> {uiLabelMap.ManufacturingCostCalcs}"> >> <link target="EditCostCalcs"/> >> </menu-item> >> >> Added: ofbiz/trunk/applications/accounting/widget/PeriodScreens.xml >> URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/widget/PeriodScreens.xml?rev=757683&view=auto >> = >> = >> = >> = >> = >> = >> = >> = >> = >> ===================================================================== >> --- ofbiz/trunk/applications/accounting/widget/PeriodScreens.xml >> (added) >> +++ ofbiz/trunk/applications/accounting/widget/PeriodScreens.xml >> Tue Mar 24 08:11:22 2009 >> @@ -0,0 +1,40 @@ >> +<!-- >> +Licensed to the Apache Software Foundation (ASF) under one >> +or more contributor license agreements. See the NOTICE file >> +distributed with this work for additional information >> +regarding copyright ownership. The ASF licenses this file >> +to you under the Apache License, Version 2.0 (the >> +"License"); you may not use this file except in compliance >> +with the License. You may obtain a copy of the License at >> + >> +http://www.apache.org/licenses/LICENSE-2.0 >> + >> +Unless required by applicable law or agreed to in writing, >> +software distributed under the License is distributed on an >> +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY >> +KIND, either express or implied. See the License for the >> +specific language governing permissions and limitations >> +under the License. >> +--> >> + >> +<screens xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >> + xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-screen.xsd >> "> >> + >> + <screen name="EditCustomTimePeriod"> >> + <section> >> + <actions> >> + <set field="headerItem" value="main"/> >> + <set field="titleProperty" >> value="AccountingEditCustomTimePeriods"/> >> + <set field="tabButtonItem" >> value="EditCustomTimePeriod"/> >> + <script location="component://accounting/webapp/ >> accounting/WEB-INF/actions/period/EditCustomTimePeriod.groovy"/> >> + </actions> >> + <widgets> >> + <decorator-screen name="GlobalGLSettingsDecorator" >> location="${parameters.mainDecoratorLocation}"> >> + <decorator-section name="body"> >> + <platform-specific><html><html-template >> location="component://accounting/webapp/accounting/period/ >> EditCustomTimePeriod.ftl"/></html></platform-specific> >> + </decorator-section> >> + </decorator-screen> >> + </widgets> >> + </section> >> + </screen> >> +</screens> >> >> Propchange: ofbiz/trunk/applications/accounting/widget/ >> PeriodScreens.xml >> ------------------------------------------------------------------------------ >> svn:eol-style = native >> >> Propchange: ofbiz/trunk/applications/accounting/widget/ >> PeriodScreens.xml >> ------------------------------------------------------------------------------ >> svn:keywords = "Date Rev Author URL Id" >> >> Propchange: ofbiz/trunk/applications/accounting/widget/ >> PeriodScreens.xml >> ------------------------------------------------------------------------------ >> svn:mime-type = text/xml >> >> Modified: ofbiz/trunk/framework/webtools/config/WebtoolsUiLabels.xml >> URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/webtools/config/WebtoolsUiLabels.xml?rev=757683&r1=757682&r2=757683&view=diff >> = >> = >> = >> = >> = >> = >> = >> = >> = >> ===================================================================== >> --- ofbiz/trunk/framework/webtools/config/WebtoolsUiLabels.xml >> (original) >> +++ ofbiz/trunk/framework/webtools/config/WebtoolsUiLabels.xml Tue >> Mar 24 08:11:22 2009 >> @@ -373,12 +373,6 @@ >> <value xml:lang="it">Monitor Flussi di Lavoro Attivi</value> >> <value xml:lang="th">à¸à¸£à¸§à¸√สภ>> à¸˚à¸≠ัà’≈à¸˙à¸à¸ à¸˙นดภ>> £à¸˜à¸“à¸Ωดà¸˙</value> >> </property> >> - <property key="WebtoolsAddCustomTimePeriod"> >> - <value xml:lang="en">Add Custom Time Period</value> >> - <value xml:lang="fr">Ajouter une période de temps</value> >> - <value xml:lang="it">Aggiungi Periodi di Tempo >> Personalizzati</value> >> - <value xml:lang="th">à’•à¸ıภ>> ´à’√มนดรนณหà¸˙ภ>> ‰à¸£à¸°à¸¢à¸°à’•à¸§à¸¥à¸”</value> >> - </property> >> <property key="WebtoolsAddLoggerFormDescription"> >> <value xml:lang="en">This form allows you to enable a logger >> for a specific package or class.</value> >> <value xml:lang="fr">Cette page vous permet d'activer un >> enregistreur (logger) pour un paquet ou une classe spécifique.</ >> value> >> @@ -561,12 +555,6 @@ >> <value xml:lang="th">à¸à¸£à¸§à¸√สภ>> à¸˚/à’•à¸˝à¸¥à¸µà’√ภ>> ¢à¸˙à’™à¸˝à¸¥à¸Ω >> à¸∆ดà¸˙à¸≠à’≈ภมฒล</value> >> <value xml:lang="zh">棕惥/æ˝´æˆ°æ >> °æŸ®åº„</value> >> </property> >> - <property key="WebtoolsChildPeriods"> >> - <value xml:lang="en">Child Periods</value> >> - <value xml:lang="fr">Périodes enfants</value> >> - <value xml:lang="it">Periodi Figli</value> >> - <value xml:lang="th">ฅ >> à’√วà¸Ωà’•à¸§à¸¥à¸”à¸ªà¸ >> ±à’≈à¸˙ à’∫</value> >> - </property> >> <property key="WebtoolsClearAllCaches"> >> <value xml:lang="en">Clear All Caches</value> >> <value xml:lang="fr">Vider tous les caches</value> >> @@ -745,12 +733,6 @@ >> <value xml:lang="it">Creare/Rimuovere Chiave Primaria</value> >> <value xml:lang="th">ลà’≈ดà¸Ω/ลà¸˚ >> Primary Keys</value> >> </property> >> - <property key="WebtoolsCurrentCustomTimePeriod"> >> - <value xml:lang="en">Current Custom Time Period</value> >> - <value xml:lang="fr">Période de temps spécifique >> courante</value> >> - <value xml:lang="it">Periodi di Tempo Personalizzati >> Attuale</value> >> - <value xml:lang="th">ฅ >> à’√วà¸Ωà’•à¸§à¸¥à¸”à¸≠ภà¸Ωภ>> ¥à¸’นà¸≥à’≈ดà’∞à¸˙à¸˝à¸ >> ±à¸√à¸√ุà¸˚ัà¸˙</value> >> - </property> >> <property key="WebtoolsDaemon"> >> <value xml:lang="en">Daemon</value> >> <value xml:lang="fr">Démon</value> >> @@ -872,14 +854,6 @@ >> <value xml:lang="th">ฅืà’√ภDispatcher</ >> value> >> <value xml:lang="zh">æ≈§è¡‘稗åº∂å∆Ÿç§ >> °</value> >> </property> >> - <property key="WebtoolsEditCustomTimePeriods"> >> - <value xml:lang="en">Edit Custom Time Periods</value> >> - <value xml:lang="fr">Modifier les périodes de temps</ >> value> >> - <value xml:lang="it">Aggiorna Periodi di Tempo >> Personalizzati</value> >> - <value xml:lang="ro">Actualizeaza Perioadele de Timp >> Personalizate</value> >> - <value >> xml:lang >> ="th">à’™à¸™à’≈à’≥à¸≠นดภ>> £à¸™à¸“หà¸˙à¸‰à’•à¸§à¸¥à¸”</ >> value> >> - <value xml:lang="zh">çπˆè≤Œå®˚å√¶æ˜¶é˜ >> ´æ®µ</value> >> - </property> >> <property key="WebtoolsElements"> >> <value xml:lang="en">Elements</value> >> <value xml:lang="fr">Elements</value> >> @@ -1878,19 +1852,6 @@ >> <value xml:lang="th">ฅืà’√ภหภ>> £à¸·à¸ หà¸˙à’≈ดธีà’√</value> >> <value xml:lang="zh">å∆Ÿç§°æ√ˆè§‚è≈”</ >> value> >> </property> >> - <property key="WebtoolsNoChildPeriodsFound"> >> - <value xml:lang="en">No child periods found</value> >> - <value xml:lang="fr">Aucune période enfant trouvée</ >> value> >> - <value xml:lang="it">Nessun periodo figlio trovato</value> >> - <value >> xml:lang="th">à’≥มà’√à¸ıà¸˚ฅ >> à’√วà¸Ωà’•à¸§à¸¥à¸”à¸ªà¸ >> ±à’≈à¸˙ à’∫</value> >> - </property> >> - <property key="WebtoolsNoCurrentCustomTimePeriodSelected"> >> - <value xml:lang="en">No Current Custom Time Period >> Selected; "Children" below have no Parent Period.</value> >> - <value xml:lang="fr">Aucune période de temps >> sélectionnée; la période "fille" ci-dessous n'a aucune >> période parente.</value> >> - <value xml:lang="it">Nessun periodo di tempo >> personalizzato selezionato; i "Periodi figli" sottostanti non hanno >> alcun "Periodo padre".</value> >> - <value xml:lang="th">à’≥มà’√มีภ>> ¥à¸’นà¸≥à’≈ดà’∞à¸˙ฅ >> à’√วà¸Ωà’•à¸§à¸ >> ¥à¸”ธีà’√à’•à¸¥à¸·à¸ à¸™; >> "Children" ฉà’≈ดà¸˙ภ>> ¥ >> à >> ’√ >> à >> ¸ >> ”à >> ¸Ωà¸˙ีà’≈à’≥มà’√มีนภ>> ¥à¸¸à’√มฅà’√วà¸Ωà’•à¸§à¸ >> ¥à¸” >> - </value> >> - </property> >> <property key="WebtoolsNoEntitiesRead"> >> <value xml:lang="en">No entities read</value> >> <value xml:lang="fr">Aucune entité lue</value> >> @@ -2049,12 +2010,6 @@ >> <value xml:lang="th">ธดà¸Ωà’•à¸ >> ¥à¸·à¸ น</value> >> <value xml:lang="zh">å∂¯é•≈</value> >> </property> >> - <property key="WebtoolsOrgPartyId"> >> - <value xml:lang="en">Org Party Id</value> >> - <value xml:lang="fr">Réf. d'org.</value> >> - <value xml:lang="it">Organizzazione</value> >> - <value xml:lang="th">รหัสภ>> à¸Ωà¸≥à’‘à¸™à¸£à¸™à¸ >> ¥à¸¸à’√à¸¡à¸˛à¸’à’≈à’∞ฅà’≈</ >> value> >> - </property> >> <property key="WebtoolsOutParameters"> >> <value xml:lang="en">Out parameters</value> >> <value xml:lang="fr">Paramètres en sortie</value> >> @@ -2155,24 +2110,6 @@ >> <value xml:lang="th">นดรภ>> ‰à¸“à’•à¸˙ิà¸˙นดรธภ>> ‰à¸ªà¸ à¸˚</value> >> <value xml:lang="zh">敧è∞∏æµ—è¯</value> >> </property> >> - <property key="WebtoolsPeriodName"> >> - <value xml:lang="en">Period Name</value> >> - <value xml:lang="fr">Nom de période</value> >> - <value xml:lang="it">Nome Periodo</value> >> - <value xml:lang="th">ฅืà’√ภฅ >> à’√วà¸Ωà’•à¸§à¸¥à¸”</value> >> - </property> >> - <property key="WebtoolsPeriodNumber"> >> - <value xml:lang="en">Period Number</value> >> - <value xml:lang="fr">N° de période</value> >> - <value xml:lang="it">Numero Periodo</value> >> - <value xml:lang="th">à¸«à¸¡à¸”à¸¢à’•à¸ >> ¥à¸≠ฅà’√วà¸Ωà’•à¸§à¸¥à¸”</ >> value> >> - </property> >> - <property key="WebtoolsPeriodType"> >> - <value xml:lang="en">Period Type</value> >> - <value xml:lang="fr">Type de période</value> >> - <value xml:lang="it">Tipo Periodo</value> >> - <value xml:lang="th">à¸˝à¸£à¸°à’•à¸ >> ธฅà’√วà¸Ωà’•à¸§à¸¥à¸”</value> >> - </property> >> <property key="WebtoolsPermissionError"> >> <value xml:lang="en">Webtools Permission Error</value> >> <value xml:lang="fr">Erreur d'autorisation sur les outils >> web</value> >> @@ -2187,12 +2124,6 @@ >> <value xml:lang="it">Tu non hai il permesso di usare questa >> pagina (necessario ENTITY_MAINT)</value> >> <value >> xml:lang="th">à¸≥ุคà’≥มà’√à’≥ภ>> ‰à’≈รัà¸˚ภ>> à¸˙ุฟดà¸à’∞หà’≈à’∞ฅ >> à >> ’≈ >> à >> ¸ >> Ωà >> ¸ >> ”à >> ¸˙à’∞à¸˙หà¸˙à’≈ดà¸˙ีà’≈ >> (ENTITY_MAINT ธีà’√à¸à’≈ภ>> à¸Ωนดร)</value> >> </property> >> - <property key="WebtoolsPermissionPeriod"> >> - <value xml:lang="en">You do not have permission to use >> this page (PERIOD_MAINT needed)</value> >> - <value xml:lang="fr">Vous n'avez pas l'autorisation >> d'utiliser cette page (PERIOD_MAINT est nécessaire)</value> >> - <value xml:lang="it">Tu non hai il permesso di usare >> questa pagina (necessario PERIOD_MAINT)</value> >> - <value >> xml:lang="th">à¸≥ุคà’≥มà’√à’≥ภ>> ‰à’≈รัà¸˚ภ>> à¸˙ุฟดà¸à’∞หà’≈à’∞ฅ >> à >> ’≈ >> à >> ¸ >> Ωà >> ¸ >> ”à >> ¸˙à’∞à¸˙หà¸˙à’≈ดà¸˙ีà’≈ >> (PERIOD_MAINT ธีà’√à¸à’≈ภ>> à¸Ωนดร)</value> >> - </property> >> <property key="WebtoolsPermissionType"> >> <value xml:lang="en">Permission Type</value> >> <value xml:lang="fr">Type d'autorisation</value> >> @@ -2643,12 +2574,6 @@ >> <value xml:lang="it">Imposta Come Attuale</value> >> <value xml:lang="th">à¸à¸ >> ±à’≈à¸Ωà’•à¸˝à’Ωà¸˙à¸˝à¸ >> ±à¸√à¸√ุà¸˚ัà¸˙</value> >> </property> >> - <property key="WebtoolsShowOnlyPeriodsWithOrganization"> >> - <value xml:lang="en">Show Only Periods with Organization >> Party ID</value> >> - <value xml:lang="fr">Montrer seulement les périodes >> ayant la réf. d'acteur de l'organisation</value> >> - <value xml:lang="it">Mostra Solo Periodi con >> Organizzazioni</value> >> - <value xml:lang="th">à’™à¸ªà¸‰à¸Ωฅ >> à’√วà¸Ωà’•à¸§à¸¥à¸”à¸™à¸ >> ±à¸˚รหัสภà¸Ωà¸≥à’‘à¸™à¸ >> £à¸™à¸ >> ¥à¸¸à’√à¸¡à¸˛à¸’à’≈à’∞ฅ >> à’≈ภยà’√ดà¸Ωà’•à¸‰à¸µà¸ >> ¢à¸§</value> >> - </property> >> <property key="WebtoolsShowShowWSDL"> >> <value xml:lang="en">Show wsdl</value> >> <value xml:lang="fr">Montrer WSDL</value> >> >> Modified: ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/ >> controller.xml >> URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/controller.xml?rev=757683&r1=757682&r2=757683&view=diff >> = >> = >> = >> = >> = >> = >> = >> = >> = >> ===================================================================== >> --- ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/ >> controller.xml (original) >> +++ ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/ >> controller.xml Tue Mar 24 08:11:22 2009 >> @@ -353,30 +353,6 @@ >> <response name="error" type="view" value="ServiceList"/> >> </request-map> >> >> - <!-- CustomTimePeriod requests --> >> - <request-map uri="EditCustomTimePeriod"> >> - <security https="true" auth="true"/> >> - <response name="success" type="view" >> value="EditCustomTimePeriod"/> >> - </request-map> >> - <request-map uri="createCustomTimePeriod"> >> - <security https="true" auth="true"/> >> - <event type="service" path="" >> invoke="createCustomTimePeriod"/> >> - <response name="success" type="view" >> value="EditCustomTimePeriod"/> >> - <response name="error" type="view" >> value="EditCustomTimePeriod"/> >> - </request-map> >> - <request-map uri="updateCustomTimePeriod"> >> - <security https="true" auth="true"/> >> - <event type="service" path="" >> invoke="updateCustomTimePeriod"/> >> - <response name="success" type="view" >> value="EditCustomTimePeriod"/> >> - <response name="error" type="view" >> value="EditCustomTimePeriod"/> >> - </request-map> >> - <request-map uri="deleteCustomTimePeriod"> >> - <security https="true" auth="true"/> >> - <event type="service" path="" >> invoke="deleteCustomTimePeriod"/> >> - <response name="success" type="view" >> value="EditCustomTimePeriod"/> >> - <response name="error" type="view" >> value="EditCustomTimePeriod"/> >> - </request-map> >> - >> <!-- PerformanceTest requests --> >> <request-map uri="EntityPerformanceTest"> >> <security https="true" auth="true"/> >> @@ -620,8 +596,6 @@ >> >> <view-map name="EntityPerformanceTest" type="screen" >> page="component://webtools/widget/ >> EntityScreens.xml#EntityPerformanceTest"/> >> >> - <view-map name="EditCustomTimePeriod" type="screen" >> page="component://webtools/widget/ >> MiscScreens.xml#EditCustomTimePeriod"/> >> - >> <view-map name="ServiceLog" type="screen" page="component:// >> webtools/widget/ServiceScreens.xml#ServiceLog"/> >> <view-map name="ServiceList" type="screen" page="component:// >> webtools/widget/ServiceScreens.xml#ServiceList"/> >> <view-map name="FindJob" type="screen" page="component:// >> webtools/widget/ServiceScreens.xml#FindJob"/> >> >> Modified: ofbiz/trunk/framework/webtools/webapp/webtools/main.ftl >> URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/webtools/webapp/webtools/main.ftl?rev=757683&r1=757682&r2=757683&view=diff >> = >> = >> = >> = >> = >> = >> = >> = >> = >> ===================================================================== >> --- ofbiz/trunk/framework/webtools/webapp/webtools/main.ftl >> (original) >> +++ ofbiz/trunk/framework/webtools/webapp/webtools/main.ftl Tue Mar >> 24 08:11:22 2009 >> @@ -122,9 +122,6 @@ >> <li><a href="<@ofbizUrl>viewdatafile</@ofbizUrl>">$ >> {uiLabelMap.WebtoolsWorkWithDataFiles}</a></li> >> </#if> >> <li><h3>${uiLabelMap.WebtoolsMiscSetupTools}</h3></li> >> - <#if security.hasPermission("PERIOD_MAINT", session)> >> - <li><a href="<@ofbizUrl>EditCustomTimePeriod</ >> @ofbizUrl>">${uiLabelMap.WebtoolsEditCustomTimePeriods}</a></li> >> - </#if> >> <#if security.hasPermission("ENUM_STATUS_MAINT", session)> >> <#-- >> <li><a href="<@ofbizUrl>EditEnumerationTypes</ >> @ofbizUrl>">Edit Enumerations</a></li> >> >> Modified: ofbiz/trunk/framework/webtools/widget/MiscScreens.xml >> URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/webtools/widget/MiscScreens.xml?rev=757683&r1=757682&r2=757683&view=diff >> = >> = >> = >> = >> = >> = >> = >> = >> = >> ===================================================================== >> --- ofbiz/trunk/framework/webtools/widget/MiscScreens.xml (original) >> +++ ofbiz/trunk/framework/webtools/widget/MiscScreens.xml Tue Mar >> 24 08:11:22 2009 >> @@ -36,23 +36,6 @@ >> </section> >> </screen> >> >> - <screen name="EditCustomTimePeriod"> >> - <section> >> - <actions> >> - <set field="headerItem" value="main"/> >> - <set field="titleProperty" >> value="WebtoolsEditCustomTimePeriods"/> >> - <script location="component://webtools/webapp/ >> webtools/WEB-INF/actions/period/EditCustomTimePeriod.groovy"/> >> - </actions> >> - <widgets> >> - <decorator-screen name="main-decorator" location="$ >> {parameters.mainDecoratorLocation}"> >> - <decorator-section name="body"> >> - <platform-specific><html><html-template >> location="component://webtools/webapp/webtools/period/ >> EditCustomTimePeriod.ftl"/></html></platform-specific> >> - </decorator-section> >> - </decorator-screen> >> - </widgets> >> - </section> >> - </screen> >> - >> <screen name="viewdatafile"> >> <section> >> <actions> >> >> > |
On Mar 24, 2009, at 9:53 AM, David E Jones wrote:
> > I saw that one in the per-organization settings area and figured we > should also have one that is more globally oriented. > > Is this redundant with that? > Yes, that is what I was referring to, but I don't know if there is redundancy... but it is a minor detail that we can ignore for now; I just wanted to meke it sure you noticed that page too. Jacopo > -David > > > On Mar 24, 2009, at 2:37 AM, Jacopo Cappellato wrote: > >> David, >> >> this is fine but I am not sure if we really need the page; in fact >> some time ago we implemented a "financial time period setup" screen >> in the accounting pages specific for each division: >> >> https://localhost:8443/accounting/control/TimePeriods?organizationPartyId=Company >> >> Jacopo >> >> >> On Mar 24, 2009, at 9:11 AM, [hidden email] wrote: >> >>> Author: jonesde >>> Date: Tue Mar 24 08:11:22 2009 >>> New Revision: 757683 >>> >>> URL: http://svn.apache.org/viewvc?rev=757683&view=rev >>> Log: >>> Moved EditCustomTimePeriods page from webtools to accounting in >>> the Global GL Settings tab, plus fixed the groovy script so that >>> screen would actually work, general framework independence changes >>> >>> Added: >>> ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/ >>> actions/period/ >>> - copied from r757671, ofbiz/trunk/framework/webtools/webapp/ >>> webtools/WEB-INF/actions/period/ >>> ofbiz/trunk/applications/accounting/webapp/accounting/period/ >>> - copied from r757671, ofbiz/trunk/framework/webtools/webapp/ >>> webtools/period/ >>> ofbiz/trunk/applications/accounting/widget/PeriodScreens.xml >>> (with props) >>> Removed: >>> ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/actions/ >>> period/ >>> ofbiz/trunk/framework/webtools/webapp/webtools/period/ >>> Modified: >>> ofbiz/trunk/applications/accounting/config/AccountingUiLabels.xml >>> ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/ >>> actions/period/EditCustomTimePeriod.groovy >>> ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/ >>> controller.xml >>> ofbiz/trunk/applications/accounting/webapp/accounting/period/ >>> EditCustomTimePeriod.ftl >>> ofbiz/trunk/applications/accounting/widget/Menus.xml >>> ofbiz/trunk/framework/webtools/config/WebtoolsUiLabels.xml >>> ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/ >>> controller.xml >>> ofbiz/trunk/framework/webtools/webapp/webtools/main.ftl >>> ofbiz/trunk/framework/webtools/widget/MiscScreens.xml >>> >>> Modified: ofbiz/trunk/applications/accounting/config/ >>> AccountingUiLabels.xml >>> URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/config/AccountingUiLabels.xml?rev=757683&r1=757682&r2=757683&view=diff >>> = >>> = >>> = >>> = >>> = >>> = >>> = >>> = >>> = >>> = >>> ==================================================================== >>> --- ofbiz/trunk/applications/accounting/config/ >>> AccountingUiLabels.xml (original) >>> +++ ofbiz/trunk/applications/accounting/config/ >>> AccountingUiLabels.xml Tue Mar 24 08:11:22 2009 >>> @@ -201,6 +201,12 @@ >>> <value xml:lang="nl">Voeg categorie van GB-rekening toe</ >>> value> >>> <value xml:lang="th">à’•à¸ıภ>>> ´à’√มหมวภ>>> ‰à¸«à¸¡à¸’à’√à¸˚ัฟฅ >>> à¸µà’™à¸¢à¸™à¸˝à¸£à¸°à’•à¸ >>> ธธัà’√วà’≥à¸˝</value> >>> </property> >>> + <property key="AccountingAddCustomTimePeriod"> >>> + <value xml:lang="en">Add Custom Time Period</value> >>> + <value xml:lang="fr">Ajouter une période de temps</ >>> value> >>> + <value xml:lang="it">Aggiungi Periodi di Tempo >>> Personalizzati</value> >>> + <value xml:lang="th">à’•à¸ıภ>>> ´à’√มนดรนณหà¸˙ภ>>> ‰à¸£à¸°à¸¢à¸°à’•à¸§à¸¥à¸”</value> >>> + </property> >>> <property key="AccountingAddFinAccountTypeGlAccount"> >>> <value xml:lang="de">Finanzkonten-Art Hauptkonto >>> hinzufÃπgen</value> >>> <value xml:lang="en">Add FinAccount Type Gl Account</value> >>> @@ -1999,6 +2005,12 @@ >>> <value xml:lang="th">à’•à¸™à¸´à¸‰à¸˝à¸ >>> ±à¸Ÿà¸«à¸”à’∞à¸˙นดรà¸à¸ >>> £à¸§à¸√สภ>>> à >>> ¸ >>> ˚à¸≥วดมจฒนà¸à’≈ภ>>> à¸Ωà¸≠ภà¸Ωà¸≥ุค; นภ>>> £à¸¸à¸„à¸”à’•à¸…à’Ωà¸≥à¸˚ภ>>> ±à¸à¸£à¸≠ภà¸Ωà¸≥à¸¸à¸„à’™à¸ >>> ¥à¸°à¸£à¸«à¸ >>> ±à¸ªà¸ªà’√วà¸˙à¸à¸±à¸§à¸≠ภ>>> à¸Ωà¸≥à¸¸à¸„à’™à¸¥à¸°à¸˜à¸“à¸ >>> ีนà¸≥รัà’≈à¸Ω</value> >>> <value xml:lang="zh">棕惥ä∏ ç˚≥ä∏˙é >>> ¢ˇæ˜¶åΩºç⁄°é˜®é¢˘ïπ˝è¯·æ£•æƒ¥ä∏ >>> ç˚≥埡傑å¯∫ç >>> ™ïπ‘ç≥¶å∆⁄éΩŸè¯</value> >>> </property> >>> + <property key="AccountingCurrentCustomTimePeriod"> >>> + <value xml:lang="en">Current Custom Time Period</value> >>> + <value xml:lang="fr">Période de temps spécifique >>> courante</value> >>> + <value xml:lang="it">Periodi di Tempo Personalizzati >>> Attuale</value> >>> + <value xml:lang="th">ฅ >>> à’√วà¸Ωà’•à¸§à¸¥à¸”à¸≠ภ>>> à¸Ωภ>>> ¥à¸’นà¸≥à’≈ดà’∞à¸˙à¸˝à¸ >>> ±à¸√à¸√ุà¸˚ัà¸˙</value> >>> + </property> >>> <property key="AccountingCustNr"> >>> <value xml:lang="ar">رÙ≠Ù >>> اÙ≥ؔبÙ√Ù∫</value> >>> <value xml:lang="en">Cust.Nr</value> >>> @@ -2171,6 +2183,14 @@ >>> <value >>> xml:lang="th">à’™à¸™à’≈à’≥à¸≠à¸˚ภ>>> ±à¸à¸£à’•à¸≥รฉิà¸</value> >>> <value xml:lang="zh">çπˆè≤Œä¿¡ç‰¨åŸ¡</value> >>> </property> >>> + <property key="AccountingEditCustomTimePeriods"> >>> + <value xml:lang="en">Edit Custom Time Periods</value> >>> + <value xml:lang="fr">Modifier les périodes de temps</ >>> value> >>> + <value xml:lang="it">Aggiorna Periodi di Tempo >>> Personalizzati</value> >>> + <value xml:lang="ro">Actualizeaza Perioadele de Timp >>> Personalizate</value> >>> + <value >>> xml:lang >>> ="th">à’™à¸™à’≈à’≥à¸≠นดภ>>> £à¸™à¸“หà¸˙à¸‰à’•à¸§à¸¥à¸”</ >>> value> >>> + <value xml:lang="zh">çπˆè≤Œå®˚å√¶æ˜¶é˜ >>> ´æ®µ</value> >>> + </property> >>> <property key="AccountingEditFinAccount"> >>> <value xml:lang="en">Create/Update Financial Account</value> >>> <value xml:lang="fr">Créer/ mettre à jour un compte >>> financier</value> >>> @@ -4887,6 +4907,19 @@ >>> <value xml:lang="th">à’•à¸§à¸ >>> ¥à¸”ธีà’√นณหà¸˙ฉภ>>> ¢à¸ ฉรวมà¸≠ภà¸Ωà¸˚ภ>>> ±à¸Ÿà¸…ีà’≥มà’√มี</value> >>> <value xml:lang="zh">ä¸Ÿå ˘å˛¨è´œåŸè >>> ´œæ√·æˇ¡ä»¶ã•≠</value> >>> </property> >>> + <property key="AccountingNoChildPeriodsFound"> >>> + <value xml:lang="en">No child periods found</value> >>> + <value xml:lang="fr">Aucune période enfant trouvée</ >>> value> >>> + <value xml:lang="it">Nessun periodo figlio trovato</value> >>> + <value >>> xml:lang="th">à’≥มà’√à¸ıà¸˚ฅ >>> à’√วà¸Ωà’•à¸§à¸¥à¸”à¸ªà¸ >>> ±à’≈à¸˙ à’∫</value> >>> + </property> >>> + <property key="AccountingNoCurrentCustomTimePeriodSelected"> >>> + <value xml:lang="en">No Current Custom Time Period >>> Selected; "Children" below have no Parent Period.</value> >>> + <value xml:lang="fr">Aucune période de temps >>> sélectionnée; la période "fille" ci-dessous n'a aucune >>> période parente.</value> >>> + <value xml:lang="it">Nessun periodo di tempo >>> personalizzato selezionato; i "Periodi figli" sottostanti non >>> hanno alcun "Periodo padre".</value> >>> + <value xml:lang="th">à’≥มà’√มีภ>>> ¥à¸’นà¸≥à’≈ดà’∞à¸˙ฅ >>> à’√วà¸Ωà’•à¸§à¸ >>> ¥à¸”ธีà’√à’•à¸¥à¸·à¸ à¸™; >>> "Children" ฉà’≈ดà¸˙ภ>>> ¥ >>> à >>> ’√ >>> à >>> ¸ >>> ”à >>> ¸ >>> Ωà¸˙ีà’≈à’≥มà’√มีนภ>>> ¥à¸¸à’√มฅà’√วà¸Ωà’•à¸§à¸ >>> ¥à¸” >>> + </value> >>> + </property> >>> <property key="AccountingNoGenBilAddressFound"> >>> <value xml:lang="ar">Ù≥ا Ø’Ù∫Ù√اÙ∫ >>> ؒا٠>>> /Ù™Ù√ترة Ù >>> Ù√جÙ√د Ù≥Ù≥طرٙ</value> >>> <value xml:lang="en">No general/billing address found for >>> party:</value> >>> @@ -5148,6 +5181,9 @@ >>> <value xml:lang="th">สัà’√à¸Ωท >>> ืà’≈ภ</value> >>> <value xml:lang="zh">å®˚åŸ</value> >>> </property> >>> + <property key="AccountingOrgGlSettings"> >>> + <value xml:lang="en">Organization GL Settings</value> >>> + </property> >>> <property key="AccountingOrganizationPartyId"> >>> <value xml:lang="ar">تؒرمٙ طرٙ >>> اÙ≥Ù >>> ؤؓؓة</value> >>> <value xml:lang="de">Firmen-ID</value> >>> @@ -6010,6 +6046,42 @@ >>> <value >>> xml:lang="th">à¸≥ุคà’≥มà’√à’≥ภ>>> ‰à’≈รัà¸˚นดรภ>>> à¸˙ุฟดà¸à¸ªà¸“หรภ>>> ±à¸˚นดภ>>> £à¸˜à¸“à¸Ωดà¸˙à¸˙ีà’≈</value> >>> <value xml:lang="zh">ä∏ >>> 攡æ˛≈æ≈§è¡‘è¿˙ä¸ªå… >>> ƒè∞∏ç˚≥æˇ∞é˙∆ã•≠</value> >>> </property> >>> + <property key="AccountingPermissionPeriod"> >>> + <value xml:lang="en">You do not have permission to use >>> this page (PERIOD_MAINT needed)</value> >>> + <value xml:lang="fr">Vous n'avez pas l'autorisation >>> d'utiliser cette page (PERIOD_MAINT est nécessaire)</value> >>> + <value xml:lang="it">Tu non hai il permesso di usare >>> questa pagina (necessario PERIOD_MAINT)</value> >>> + <value >>> xml:lang="th">à¸≥ุคà’≥มà’√à’≥ภ>>> ‰à’≈รัà¸˚ภ>>> à >>> ¸˙ุฟดà¸à’∞หà’≈à’∞ฅ >>> à >>> ’≈ >>> à >>> ¸ >>> Ωà >>> ¸ >>> ”à >>> ¸˙à’∞à¸˙หà¸˙à’≈ดà¸˙ีà’≈ >>> (PERIOD_MAINT ธีà’√à¸à’≈ภ>>> à¸Ωนดร)</value> >>> + </property> >>> + <property key="AccountingOrgPartyId"> >>> + <value xml:lang="en">Org Party Id</value> >>> + <value xml:lang="fr">Réf. d'org.</value> >>> + <value xml:lang="it">Organizzazione</value> >>> + <value xml:lang="th">รหัสภ>>> à¸Ωà¸≥à’‘à¸™à¸£à¸™à¸ >>> ¥à¸¸à’√à¸¡à¸˛à¸’à’≈à’∞ฅà’≈</ >>> value> >>> + </property> >>> + <property key="AccountingChildPeriods"> >>> + <value xml:lang="en">Child Periods</value> >>> + <value xml:lang="fr">Périodes enfants</value> >>> + <value xml:lang="it">Periodi Figli</value> >>> + <value xml:lang="th">ฅ >>> à’√วà¸Ωà’•à¸§à¸¥à¸”à¸ªà¸ >>> ±à’≈à¸˙ à’∫</value> >>> + </property> >>> + <property key="AccountingPeriodName"> >>> + <value xml:lang="en">Period Name</value> >>> + <value xml:lang="fr">Nom de période</value> >>> + <value xml:lang="it">Nome Periodo</value> >>> + <value xml:lang="th">ฅืà’√ภฅ >>> à’√วà¸Ωà’•à¸§à¸¥à¸”</value> >>> + </property> >>> + <property key="AccountingPeriodNumber"> >>> + <value xml:lang="en">Period Number</value> >>> + <value xml:lang="fr">N° de période</value> >>> + <value xml:lang="it">Numero Periodo</value> >>> + <value xml:lang="th">à¸«à¸¡à¸”à¸¢à’•à¸ >>> ¥à¸≠ฅà’√วà¸Ωà’•à¸§à¸¥à¸”</ >>> value> >>> + </property> >>> + <property key="AccountingPeriodType"> >>> + <value xml:lang="en">Period Type</value> >>> + <value xml:lang="fr">Type de période</value> >>> + <value xml:lang="it">Tipo Periodo</value> >>> + <value xml:lang="th">à¸˝à¸£à¸°à’•à¸ >>> ธฅà’√วà¸Ωà’•à¸§à¸¥à¸”</value> >>> + </property> >>> <property key="AccountingPhysicalCard"> >>> <value xml:lang="de">Physikalische Karte</value> >>> <value xml:lang="en">Physical Card</value> >>> @@ -6559,6 +6631,12 @@ >>> <value xml:lang="nl">Toon alle velden</value> >>> <value xml:lang="th">à’™à¸ªà¸ >>> ‰à¸Ωนดภ>>> £à¸≥à’≈à¸˙หดฃิลภ>>> ‰à’‘</value> >>> </property> >>> + <property key="AccountingShowOnlyPeriodsWithOrganization"> >>> + <value xml:lang="en">Show Only Periods with Organization >>> Party ID</value> >>> + <value xml:lang="fr">Montrer seulement les périodes >>> ayant la réf. d'acteur de l'organisation</value> >>> + <value xml:lang="it">Mostra Solo Periodi con >>> Organizzazioni</value> >>> + <value xml:lang="th">à’™à¸ªà¸‰à¸Ωฅ >>> à’√วà¸Ωà’•à¸§à¸¥à¸”à¸™à¸ >>> ±à¸˚รหัสภ>>> à¸Ωà¸≥à’‘à¸™à¸£à¸™à¸ >>> ¥à¸¸à’√à¸¡à¸˛à¸’à’≈à’∞ฅ >>> à’≈ภยà’√ดà¸Ωà’•à¸‰à¸µà¸ >>> ¢à¸§</value> >>> + </property> >>> <property key="AccountingShowPayments"> >>> <value xml:lang="ar">ؒرض اÙ≥تؓدم >>> دات</value> >>> <value xml:lang="de">Zahlung anzeigen</value> >>> >>> Modified: ofbiz/trunk/applications/accounting/webapp/accounting/ >>> WEB-INF/actions/period/EditCustomTimePeriod.groovy >>> URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/actions/period/EditCustomTimePeriod.groovy?rev=757683&r1=757671&r2=757683&view=diff >>> = >>> = >>> = >>> = >>> = >>> = >>> = >>> = >>> = >>> = >>> ==================================================================== >>> --- ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/ >>> actions/period/EditCustomTimePeriod.groovy (original) >>> +++ ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/ >>> actions/period/EditCustomTimePeriod.groovy Tue Mar 24 08:11:22 2009 >>> @@ -43,10 +43,9 @@ >>> context.currentPeriodType = currentPeriodType; >>> } >>> >>> -findMap = [organizationPartyId : findOrganizationPartyId]; >>> -if (currentCustomTimePeriodId) { >>> - findMap.parentPeriodId = currentCustomTimePeriodId; >>> -} >>> +findMap = [ : ]; >>> +if (findOrganizationPartyId) findMap.organizationPartyId = >>> findOrganizationPartyId; >>> +if (currentCustomTimePeriodId) findMap.parentPeriodId = >>> currentCustomTimePeriodId; >>> >>> customTimePeriods = delegator.findByAnd("CustomTimePeriod", >>> findMap, ["periodTypeId", "periodNum", "fromDate"]); >>> context.customTimePeriods = customTimePeriods; >>> >>> Modified: ofbiz/trunk/applications/accounting/webapp/accounting/ >>> WEB-INF/controller.xml >>> URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/controller.xml?rev=757683&r1=757682&r2=757683&view=diff >>> = >>> = >>> = >>> = >>> = >>> = >>> = >>> = >>> = >>> = >>> ==================================================================== >>> --- ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/ >>> controller.xml (original) >>> +++ ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/ >>> controller.xml Tue Mar 24 08:11:22 2009 >>> @@ -659,6 +659,30 @@ >>> <response name="error" type="view" >>> value="EditPartyGlAccount"/> >>> </request-map> >>> >>> + <!-- CustomTimePeriod requests --> >>> + <request-map uri="EditCustomTimePeriod"> >>> + <security https="true" auth="true"/> >>> + <response name="success" type="view" >>> value="EditCustomTimePeriod"/> >>> + </request-map> >>> + <request-map uri="createCustomTimePeriod"> >>> + <security https="true" auth="true"/> >>> + <event type="service" path="" >>> invoke="createCustomTimePeriod"/> >>> + <response name="success" type="view" >>> value="EditCustomTimePeriod"/> >>> + <response name="error" type="view" >>> value="EditCustomTimePeriod"/> >>> + </request-map> >>> + <request-map uri="updateCustomTimePeriod"> >>> + <security https="true" auth="true"/> >>> + <event type="service" path="" >>> invoke="updateCustomTimePeriod"/> >>> + <response name="success" type="view" >>> value="EditCustomTimePeriod"/> >>> + <response name="error" type="view" >>> value="EditCustomTimePeriod"/> >>> + </request-map> >>> + <request-map uri="deleteCustomTimePeriod"> >>> + <security https="true" auth="true"/> >>> + <event type="service" path="" >>> invoke="deleteCustomTimePeriod"/> >>> + <response name="success" type="view" >>> value="EditCustomTimePeriod"/> >>> + <response name="error" type="view" >>> value="EditCustomTimePeriod"/> >>> + </request-map> >>> + >>> <!-- =============== Fixed Asset mapping =================--> >>> <request-map uri="ListFixedAssets"><security https="true" >>> auth="true"/><response name="success" type="view" >>> value="ListFixedAssets"/></request-map> >>> <request-map uri="FixedAssetSearchResults"><security >>> https="true" auth="false"/><response name="success" type="view" >>> value="FixedAssetSearchResults"/></request-map> >>> @@ -1979,6 +2003,8 @@ >>> <view-map name="ListAcctgTransEntries" type="screen" >>> page="component://accounting/widget/ >>> GlobalGlAccountsScreens.xml#ListAcctgTransEntries"/> >>> <view-map name="EditPartyGlAccount" type="screen" >>> page="component://accounting/widget/ >>> GlSetupScreens.xml#EditPartyGlAccount"/> >>> >>> + <view-map name="EditCustomTimePeriod" type="screen" >>> page="component://accounting/widget/ >>> PeriodScreens.xml#EditCustomTimePeriod"/> >>> + >>> <!-- FinAccount --> >>> <view-map name="FindFinAccount" type="screen" page="component:// >>> accounting/widget/FinAccountScreens.xml#FindFinAccount"/> >>> >>> >>> Modified: ofbiz/trunk/applications/accounting/webapp/accounting/ >>> period/EditCustomTimePeriod.ftl >>> URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/webapp/accounting/period/EditCustomTimePeriod.ftl?rev=757683&r1=757671&r2=757683&view=diff >>> = >>> = >>> = >>> = >>> = >>> = >>> = >>> = >>> = >>> = >>> ==================================================================== >>> --- ofbiz/trunk/applications/accounting/webapp/accounting/period/ >>> EditCustomTimePeriod.ftl (original) >>> +++ ofbiz/trunk/applications/accounting/webapp/accounting/period/ >>> EditCustomTimePeriod.ftl Tue Mar 24 08:11:22 2009 >>> @@ -17,21 +17,19 @@ >>> under the License. >>> --> >>> >>> -<#assign nowDate = >>> Static["org.ofbiz.base.util.UtilDateTime"].nowDate()> >>> - >>> -<h1>${uiLabelMap.WebtoolsEditCustomTimePeriods}</h1> >>> +<h1>${uiLabelMap.AccountingEditCustomTimePeriods}</h1> >>> <br /> >>> <#if security.hasPermission("PERIOD_MAINT", session)> >>> <div class="screenlet"> >>> <div class="screenlet-title-bar"> >>> <ul> >>> - <li class="h3">$ >>> {uiLabelMap.WebtoolsShowOnlyPeriodsWithOrganization}</li> >>> + <li class="h3">$ >>> {uiLabelMap.AccountingShowOnlyPeriodsWithOrganization}</li> >>> </ul> >>> <br class="clear"/> >>> </div> >>> <form method="post" action="<@ofbizUrl>EditCustomTimePeriod</ >>> @ofbizUrl>" name="setOrganizationPartyIdForm"> >>> <input type="hidden" name="currentCustomTimePeriodId" >>> value="${currentCustomTimePeriodId?if_exists}"> >>> - <span class="label">$ >>> {uiLabelMap.WebtoolsShowOnlyPeriodsWithOrganization}</span> >>> + <span class="label">$ >>> {uiLabelMap.AccountingShowOnlyPeriodsWithOrganization}</span> >>> <input type="text" size="20" name="findOrganizationPartyId" >>> value="${findOrganizationPartyId?if_exists}"> >>> <input type="submit" value='${uiLabelMap.CommonUpdate}'> >>> </form> >>> @@ -41,22 +39,22 @@ >>> <div class="screenlet-title-bar"> >>> <#if currentCustomTimePeriod?has_content> >>> <ul> >>> - <li class="h3">$ >>> {uiLabelMap.WebtoolsCurrentCustomTimePeriod}</li> >>> + <li class="h3">$ >>> {uiLabelMap.AccountingCurrentCustomTimePeriod}</li> >>> <li><a href="<@ofbizUrl>EditCustomTimePeriod? >>> findOrganizationPartyId=${findOrganizationPartyId?if_exists}</ >>> @ofbizUrl>">${uiLabelMap.WebtoolsClearCurrent}</a></li> >>> </ul> >>> <#else> >>> - <h3>${uiLabelMap.WebtoolsCurrentCustomTimePeriod}</h3> >>> + <h3>${uiLabelMap.AccountingCurrentCustomTimePeriod}</h3> >>> </#if> >>> </div> >>> <#if currentCustomTimePeriod?has_content> >>> <table class="basic-table" cellspacing="0"> >>> <tr class="header-row"> >>> <td>${uiLabelMap.CommonId}</td> >>> - <td>${uiLabelMap.WebtoolsParent}</td> >>> - <td>${uiLabelMap.WebtoolsOrgPartyId}</td> >>> - <td>${uiLabelMap.WebtoolsPeriodType}</td> >>> + <td>${uiLabelMap.CommonParent}</td> >>> + <td>${uiLabelMap.AccountingOrgPartyId}</td> >>> + <td>${uiLabelMap.AccountingPeriodType}</td> >>> <td>#</td> >>> - <td>${uiLabelMap.WebtoolsPeriodName}</td> >>> + <td>${uiLabelMap.AccountingPeriodName}</td> >>> <td>${uiLabelMap.CommonFromDate}</td> >>> <td>${uiLabelMap.CommonThruDate}</td> >>> <td> </td> >>> @@ -112,7 +110,7 @@ >>> <#assign hasntStarted = false> >>> <#assign compareDate = >>> currentCustomTimePeriod.getDate("fromDate")> >>> <#if compareDate?has_content> >>> - <#if nowDate.before(compareDate)><#assign >>> hasntStarted = true></#if> >>> + <#if nowTimestamp.before(compareDate)><#assign >>> hasntStarted = true></#if> >>> </#if> >>> <input type="text" size='13' name="fromDate" value="$ >>> {currentCustomTimePeriod.fromDate?string("yyyy-MM-dd")}"<#if >>> hasntStarted> class="alert"</#if>> >>> </td> >>> @@ -120,7 +118,7 @@ >>> <#assign hasExpired = false> >>> <#assign compareDate = >>> currentCustomTimePeriod.getDate("thruDate")> >>> <#if compareDate?has_content> >>> - <#if nowDate.after(compareDate)><#assign >>> hasExpired = true></#if> >>> + <#if nowTimestamp.after(compareDate)><#assign >>> hasExpired = true></#if> >>> </#if> >>> <input type="text" size='13' name="thruDate" value="$ >>> {currentCustomTimePeriod.thruDate?string("yyyy-MM-dd")}"<#if >>> hasntStarted> class="alert"</#if>> >>> </td> >>> @@ -133,22 +131,22 @@ >>> </form> >>> </table> >>> <#else> >>> - <div class="screenlet-body">$ >>> {uiLabelMap.WebtoolsNoCurrentCustomTimePeriodSelected}</div> >>> + <div class="screenlet-body">$ >>> {uiLabelMap.AccountingNoCurrentCustomTimePeriodSelected}</div> >>> </#if> >>> </div> >>> <div class="screenlet"> >>> <div class="screenlet-title-bar"> >>> - <h3>${uiLabelMap.WebtoolsChildPeriods}</h3> >>> + <h3>${uiLabelMap.AccountingChildPeriods}</h3> >>> </div> >>> <#if customTimePeriods?has_content> >>> <table class="basic-table" cellspacing="0"> >>> <tr class="header-row"> >>> <td>${uiLabelMap.CommonId}</td> >>> <td>${uiLabelMap.WebtoolsParent}</td> >>> - <td>${uiLabelMap.WebtoolsOrgPartyId}</td> >>> - <td>${uiLabelMap.WebtoolsPeriodType}</td> >>> + <td>${uiLabelMap.AccountingOrgPartyId}</td> >>> + <td>${uiLabelMap.AccountingPeriodType}</td> >>> <td>#</td> >>> - <td>${uiLabelMap.WebtoolsPeriodName}</td> >>> + <td>${uiLabelMap.AccountingPeriodName}</td> >>> <td>${uiLabelMap.CommonFromDate}</td> >>> <td>${uiLabelMap.CommonThruDate}</td> >>> <td> </td> >>> @@ -203,7 +201,7 @@ >>> <#assign hasntStarted = false> >>> <#assign compareDate = >>> customTimePeriod.getDate("fromDate")> >>> <#if compareDate?has_content> >>> - <#if nowDate.before(compareDate)><#assign >>> hasntStarted = true></#if> >>> + <#if nowTimestamp.before(compareDate)><#assign >>> hasntStarted = true></#if> >>> </#if> >>> <input type="text" size='13' name="fromDate" value="$ >>> {customTimePeriod.fromDate?if_exists}"<#if hasntStarted> >>> class="alert"</#if>> >>> </td> >>> @@ -211,7 +209,7 @@ >>> <#assign hasExpired = false> >>> <#assign compareDate = >>> customTimePeriod.getDate("thruDate")> >>> <#if compareDate?has_content> >>> - <#if nowDate.after(compareDate)><#assign >>> hasExpired = true></#if> >>> + <#if nowTimestamp.after(compareDate)><#assign >>> hasExpired = true></#if> >>> </#if> >>> <input type="text" size='13' name="thruDate" value="$ >>> {customTimePeriod.thruDate?if_exists}"<#if hasExpired> >>> class="alert"</#if>> >>> </td> >>> @@ -227,12 +225,12 @@ >>> </#list> >>> </table> >>> <#else> >>> - <div class="screenlet-body">$ >>> {uiLabelMap.WebtoolsNoChildPeriodsFound}</div> >>> + <div class="screenlet-body">$ >>> {uiLabelMap.AccountingNoChildPeriodsFound}</div> >>> </#if> >>> </div> >>> <div class="screenlet"> >>> <div class="screenlet-title-bar"> >>> - <h3>${uiLabelMap.WebtoolsAddCustomTimePeriod}</h3> >>> + <h3>${uiLabelMap.AccountingAddCustomTimePeriod}</h3> >>> </div> >>> <div class="screenlet-body"> >>> <form method="POST" action="<@ofbizUrl>createCustomTimePeriod</ >>> @ofbizUrl>" name="createCustomTimePeriodForm"> >>> @@ -240,7 +238,7 @@ >>> <input type="hidden" name="currentCustomTimePeriodId" >>> value="${currentCustomTimePeriodId?if_exists}"> >>> <input type="hidden" name="useValues" value="true"> >>> <div> >>> - <span class="label">${uiLabelMap.WebtoolsParent}</span> >>> + <span class="label">${uiLabelMap.CommonParent}</span> >>> <select name="parentPeriodId"> >>> <option value=''> </option> >>> <#list allCustomTimePeriods as allCustomTimePeriod> >>> @@ -262,9 +260,9 @@ >>> </select> >>> </div> >>> <div> >>> - <span class="label">${uiLabelMap.WebtoolsOrgPartyId}</ >>> span> >>> + <span class="label">${uiLabelMap.AccountingOrgPartyId}</ >>> span> >>> <input type="text" size='20' name='organizationPartyId'> >>> - <span class="label">${uiLabelMap.WebtoolsPeriodType}</ >>> span> >>> + <span class="label">${uiLabelMap.AccountingPeriodType}</ >>> span> >>> <select name="periodTypeId"> >>> <#list periodTypes as periodType> >>> <#assign isDefault = false> >>> @@ -276,9 +274,9 @@ >>> <option value="${periodType.periodTypeId}" <#if >>> isDefault>selected="selected"</#if>>${periodType.description} [$ >>> {periodType.periodTypeId}]</option> >>> </#list> >>> </select> >>> - <span class="label">${uiLabelMap.WebtoolsPeriodNumber}</ >>> span> >>> + <span class="label">$ >>> {uiLabelMap.AccountingPeriodNumber}</span> >>> <input type="text" size='4' name='periodNum'> >>> - <span class="label">${uiLabelMap.WebtoolsPeriodName}</ >>> span> >>> + <span class="label">${uiLabelMap.AccountingPeriodName}</ >>> span> >>> <input type="text" size='10' name='periodName'> >>> </div> >>> <div> >>> @@ -292,5 +290,5 @@ >>> </div> >>> </div> >>> <#else> >>> - <h3>${uiLabelMap.WebtoolsPermissionPeriod}.</h3> >>> + <h3>${uiLabelMap.AccountingPermissionPeriod}.</h3> >>> </#if> >>> >>> Modified: ofbiz/trunk/applications/accounting/widget/Menus.xml >>> URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/widget/Menus.xml?rev=757683&r1=757682&r2=757683&view=diff >>> = >>> = >>> = >>> = >>> = >>> = >>> = >>> = >>> = >>> = >>> ==================================================================== >>> --- ofbiz/trunk/applications/accounting/widget/Menus.xml (original) >>> +++ ofbiz/trunk/applications/accounting/widget/Menus.xml Tue Mar >>> 24 08:11:22 2009 >>> @@ -36,7 +36,7 @@ >>> <menu-item name="agreements" title="$ >>> {uiLabelMap.AccountingAgreements}"><link target="FindAgreement"/></ >>> menu-item> >>> <menu-item name="ListFixedAssets" title="$ >>> {uiLabelMap.AccountingFixedAssets}"><link target="ListFixedAssets"/ >>> ></menu-item> >>> <menu-item name="GlobalGLSettings" title="$ >>> {uiLabelMap.AccountingGlobalGLSettings}"><link >>> target="globalGLSettings"/></menu-item> >>> - <menu-item name="companies" title="$ >>> {uiLabelMap.AccountingGeneralLedger}"><link target="ListCompanies"/ >>> ></menu-item> >>> + <menu-item name="companies" title="$ >>> {uiLabelMap.AccountingOrgGlSettings}"><link target="ListCompanies"/ >>> ></menu-item> >>> </menu> >>> >>> <menu name="InvoiceTabBar" extends="CommonTabBarMenu" extends- >>> resource="component://common/widget/CommonMenus.xml"> >>> @@ -588,7 +588,11 @@ >>> default-menu-item-name="chartofaccounts"> >>> <menu-item name="Chartofaccounts" title="$ >>> {uiLabelMap.AccountingChartOfAcctsMenu}"> >>> <link target="FindGlobalGlAccount"/> >>> - </menu-item> >>> + </menu-item> >>> + <menu-item name="EditCustomTimePeriod" title="$ >>> {uiLabelMap.AccountingEditCustomTimePeriods}"> >>> + <condition><if-has-permission >>> permission="PERIOD_MAINT"/></condition> >>> + <link target="EditCustomTimePeriod"/> >>> + </menu-item> >>> <menu-item name="Costs" title="$ >>> {uiLabelMap.ManufacturingCostCalcs}"> >>> <link target="EditCostCalcs"/> >>> </menu-item> >>> >>> Added: ofbiz/trunk/applications/accounting/widget/PeriodScreens.xml >>> URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/widget/PeriodScreens.xml?rev=757683&view=auto >>> = >>> = >>> = >>> = >>> = >>> = >>> = >>> = >>> = >>> = >>> ==================================================================== >>> --- ofbiz/trunk/applications/accounting/widget/PeriodScreens.xml >>> (added) >>> +++ ofbiz/trunk/applications/accounting/widget/PeriodScreens.xml >>> Tue Mar 24 08:11:22 2009 >>> @@ -0,0 +1,40 @@ >>> +<!-- >>> +Licensed to the Apache Software Foundation (ASF) under one >>> +or more contributor license agreements. See the NOTICE file >>> +distributed with this work for additional information >>> +regarding copyright ownership. The ASF licenses this file >>> +to you under the Apache License, Version 2.0 (the >>> +"License"); you may not use this file except in compliance >>> +with the License. You may obtain a copy of the License at >>> + >>> +http://www.apache.org/licenses/LICENSE-2.0 >>> + >>> +Unless required by applicable law or agreed to in writing, >>> +software distributed under the License is distributed on an >>> +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY >>> +KIND, either express or implied. See the License for the >>> +specific language governing permissions and limitations >>> +under the License. >>> +--> >>> + >>> +<screens xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >>> + xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-screen.xsd >>> "> >>> + >>> + <screen name="EditCustomTimePeriod"> >>> + <section> >>> + <actions> >>> + <set field="headerItem" value="main"/> >>> + <set field="titleProperty" >>> value="AccountingEditCustomTimePeriods"/> >>> + <set field="tabButtonItem" >>> value="EditCustomTimePeriod"/> >>> + <script location="component://accounting/webapp/ >>> accounting/WEB-INF/actions/period/EditCustomTimePeriod.groovy"/> >>> + </actions> >>> + <widgets> >>> + <decorator-screen >>> name="GlobalGLSettingsDecorator" location="$ >>> {parameters.mainDecoratorLocation}"> >>> + <decorator-section name="body"> >>> + <platform-specific><html><html-template >>> location="component://accounting/webapp/accounting/period/ >>> EditCustomTimePeriod.ftl"/></html></platform-specific> >>> + </decorator-section> >>> + </decorator-screen> >>> + </widgets> >>> + </section> >>> + </screen> >>> +</screens> >>> >>> Propchange: ofbiz/trunk/applications/accounting/widget/ >>> PeriodScreens.xml >>> ------------------------------------------------------------------------------ >>> svn:eol-style = native >>> >>> Propchange: ofbiz/trunk/applications/accounting/widget/ >>> PeriodScreens.xml >>> ------------------------------------------------------------------------------ >>> svn:keywords = "Date Rev Author URL Id" >>> >>> Propchange: ofbiz/trunk/applications/accounting/widget/ >>> PeriodScreens.xml >>> ------------------------------------------------------------------------------ >>> svn:mime-type = text/xml >>> >>> Modified: ofbiz/trunk/framework/webtools/config/WebtoolsUiLabels.xml >>> URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/webtools/config/WebtoolsUiLabels.xml?rev=757683&r1=757682&r2=757683&view=diff >>> = >>> = >>> = >>> = >>> = >>> = >>> = >>> = >>> = >>> = >>> ==================================================================== >>> --- ofbiz/trunk/framework/webtools/config/WebtoolsUiLabels.xml >>> (original) >>> +++ ofbiz/trunk/framework/webtools/config/WebtoolsUiLabels.xml Tue >>> Mar 24 08:11:22 2009 >>> @@ -373,12 +373,6 @@ >>> <value xml:lang="it">Monitor Flussi di Lavoro Attivi</value> >>> <value xml:lang="th">à¸à¸£à¸§à¸√สภ>>> à¸˚à¸≠ัà’≈à¸˙à¸à¸ >>> à¸˙นดรธณà¸Ωดà¸˙</value> >>> </property> >>> - <property key="WebtoolsAddCustomTimePeriod"> >>> - <value xml:lang="en">Add Custom Time Period</value> >>> - <value xml:lang="fr">Ajouter une période de temps</ >>> value> >>> - <value xml:lang="it">Aggiungi Periodi di Tempo >>> Personalizzati</value> >>> - <value xml:lang="th">à’•à¸ıภ>>> ´à’√มนดรนณหà¸˙ภ>>> ‰à¸£à¸°à¸¢à¸°à’•à¸§à¸¥à¸”</value> >>> - </property> >>> <property key="WebtoolsAddLoggerFormDescription"> >>> <value xml:lang="en">This form allows you to enable a logger >>> for a specific package or class.</value> >>> <value xml:lang="fr">Cette page vous permet d'activer un >>> enregistreur (logger) pour un paquet ou une classe spécifique.</ >>> value> >>> @@ -561,12 +555,6 @@ >>> <value xml:lang="th">à¸à¸£à¸§à¸√สภ>>> à¸˚/à’•à¸˝à¸¥à¸µà’√ภ>>> ¢à¸˙à’™à¸˝à¸¥à¸Ω >>> à¸∆ดà¸˙à¸≠à’≈ภมฒล</value> >>> <value xml:lang="zh">棕惥/æ˝´æˆ°æ >>> °æŸ®åº„</value> >>> </property> >>> - <property key="WebtoolsChildPeriods"> >>> - <value xml:lang="en">Child Periods</value> >>> - <value xml:lang="fr">Périodes enfants</value> >>> - <value xml:lang="it">Periodi Figli</value> >>> - <value xml:lang="th">ฅ >>> à’√วà¸Ωà’•à¸§à¸¥à¸”à¸ªà¸ >>> ±à’≈à¸˙ à’∫</value> >>> - </property> >>> <property key="WebtoolsClearAllCaches"> >>> <value xml:lang="en">Clear All Caches</value> >>> <value xml:lang="fr">Vider tous les caches</value> >>> @@ -745,12 +733,6 @@ >>> <value xml:lang="it">Creare/Rimuovere Chiave Primaria</value> >>> <value xml:lang="th">ลà’≈ดà¸Ω/ลà¸˚ >>> Primary Keys</value> >>> </property> >>> - <property key="WebtoolsCurrentCustomTimePeriod"> >>> - <value xml:lang="en">Current Custom Time Period</value> >>> - <value xml:lang="fr">Période de temps spécifique >>> courante</value> >>> - <value xml:lang="it">Periodi di Tempo Personalizzati >>> Attuale</value> >>> - <value xml:lang="th">ฅ >>> à’√วà¸Ωà’•à¸§à¸¥à¸”à¸≠ภ>>> à¸Ωภ>>> ¥à¸’นà¸≥à’≈ดà’∞à¸˙à¸˝à¸ >>> ±à¸√à¸√ุà¸˚ัà¸˙</value> >>> - </property> >>> <property key="WebtoolsDaemon"> >>> <value xml:lang="en">Daemon</value> >>> <value xml:lang="fr">Démon</value> >>> @@ -872,14 +854,6 @@ >>> <value xml:lang="th">ฅืà’√ภDispatcher</ >>> value> >>> <value xml:lang="zh">æ≈§è¡‘稗åº∂å∆Ÿç§ >>> °</value> >>> </property> >>> - <property key="WebtoolsEditCustomTimePeriods"> >>> - <value xml:lang="en">Edit Custom Time Periods</value> >>> - <value xml:lang="fr">Modifier les périodes de temps</ >>> value> >>> - <value xml:lang="it">Aggiorna Periodi di Tempo >>> Personalizzati</value> >>> - <value xml:lang="ro">Actualizeaza Perioadele de Timp >>> Personalizate</value> >>> - <value >>> xml:lang >>> ="th">à’™à¸™à’≈à’≥à¸≠นดภ>>> £à¸™à¸“หà¸˙à¸‰à’•à¸§à¸¥à¸”</ >>> value> >>> - <value xml:lang="zh">çπˆè≤Œå®˚å√¶æ˜¶é˜ >>> ´æ®µ</value> >>> - </property> >>> <property key="WebtoolsElements"> >>> <value xml:lang="en">Elements</value> >>> <value xml:lang="fr">Elements</value> >>> @@ -1878,19 +1852,6 @@ >>> <value xml:lang="th">ฅืà’√ภหภ>>> £à¸·à¸ หà¸˙à’≈ดธีà’√</value> >>> <value xml:lang="zh">å∆Ÿç§°æ√ˆè§‚è≈”</ >>> value> >>> </property> >>> - <property key="WebtoolsNoChildPeriodsFound"> >>> - <value xml:lang="en">No child periods found</value> >>> - <value xml:lang="fr">Aucune période enfant trouvée</ >>> value> >>> - <value xml:lang="it">Nessun periodo figlio trovato</value> >>> - <value >>> xml:lang="th">à’≥มà’√à¸ıà¸˚ฅ >>> à’√วà¸Ωà’•à¸§à¸¥à¸”à¸ªà¸ >>> ±à’≈à¸˙ à’∫</value> >>> - </property> >>> - <property key="WebtoolsNoCurrentCustomTimePeriodSelected"> >>> - <value xml:lang="en">No Current Custom Time Period >>> Selected; "Children" below have no Parent Period.</value> >>> - <value xml:lang="fr">Aucune période de temps >>> sélectionnée; la période "fille" ci-dessous n'a aucune >>> période parente.</value> >>> - <value xml:lang="it">Nessun periodo di tempo >>> personalizzato selezionato; i "Periodi figli" sottostanti non >>> hanno alcun "Periodo padre".</value> >>> - <value xml:lang="th">à’≥มà’√มีภ>>> ¥à¸’นà¸≥à’≈ดà’∞à¸˙ฅ >>> à’√วà¸Ωà’•à¸§à¸ >>> ¥à¸”ธีà’√à’•à¸¥à¸·à¸ à¸™; >>> "Children" ฉà’≈ดà¸˙ภ>>> ¥ >>> à >>> ’√ >>> à >>> ¸ >>> ”à >>> ¸ >>> Ωà¸˙ีà’≈à’≥มà’√มีนภ>>> ¥à¸¸à’√มฅà’√วà¸Ωà’•à¸§à¸ >>> ¥à¸” >>> - </value> >>> - </property> >>> <property key="WebtoolsNoEntitiesRead"> >>> <value xml:lang="en">No entities read</value> >>> <value xml:lang="fr">Aucune entité lue</value> >>> @@ -2049,12 +2010,6 @@ >>> <value xml:lang="th">ธดà¸Ωà’•à¸ >>> ¥à¸·à¸ น</value> >>> <value xml:lang="zh">å∂¯é•≈</value> >>> </property> >>> - <property key="WebtoolsOrgPartyId"> >>> - <value xml:lang="en">Org Party Id</value> >>> - <value xml:lang="fr">Réf. d'org.</value> >>> - <value xml:lang="it">Organizzazione</value> >>> - <value xml:lang="th">รหัสภ>>> à¸Ωà¸≥à’‘à¸™à¸£à¸™à¸ >>> ¥à¸¸à’√à¸¡à¸˛à¸’à’≈à’∞ฅà’≈</ >>> value> >>> - </property> >>> <property key="WebtoolsOutParameters"> >>> <value xml:lang="en">Out parameters</value> >>> <value xml:lang="fr">Paramètres en sortie</value> >>> @@ -2155,24 +2110,6 @@ >>> <value xml:lang="th">นดรภ>>> ‰à¸“à’•à¸˙ิà¸˙นดรธภ>>> ‰à¸ªà¸ à¸˚</value> >>> <value xml:lang="zh">敧è∞∏æµ—è¯</value> >>> </property> >>> - <property key="WebtoolsPeriodName"> >>> - <value xml:lang="en">Period Name</value> >>> - <value xml:lang="fr">Nom de période</value> >>> - <value xml:lang="it">Nome Periodo</value> >>> - <value xml:lang="th">ฅืà’√ภฅ >>> à’√วà¸Ωà’•à¸§à¸¥à¸”</value> >>> - </property> >>> - <property key="WebtoolsPeriodNumber"> >>> - <value xml:lang="en">Period Number</value> >>> - <value xml:lang="fr">N° de période</value> >>> - <value xml:lang="it">Numero Periodo</value> >>> - <value xml:lang="th">à¸«à¸¡à¸”à¸¢à’•à¸ >>> ¥à¸≠ฅà’√วà¸Ωà’•à¸§à¸¥à¸”</ >>> value> >>> - </property> >>> - <property key="WebtoolsPeriodType"> >>> - <value xml:lang="en">Period Type</value> >>> - <value xml:lang="fr">Type de période</value> >>> - <value xml:lang="it">Tipo Periodo</value> >>> - <value xml:lang="th">à¸˝à¸£à¸°à’•à¸ >>> ธฅà’√วà¸Ωà’•à¸§à¸¥à¸”</value> >>> - </property> >>> <property key="WebtoolsPermissionError"> >>> <value xml:lang="en">Webtools Permission Error</value> >>> <value xml:lang="fr">Erreur d'autorisation sur les outils >>> web</value> >>> @@ -2187,12 +2124,6 @@ >>> <value xml:lang="it">Tu non hai il permesso di usare questa >>> pagina (necessario ENTITY_MAINT)</value> >>> <value >>> xml:lang="th">à¸≥ุคà’≥มà’√à’≥ภ>>> ‰à’≈รัà¸˚ภ>>> à >>> ¸˙ุฟดà¸à’∞หà’≈à’∞ฅ >>> à >>> ’≈ >>> à >>> ¸ >>> Ωà >>> ¸ >>> ”à >>> ¸˙à’∞à¸˙หà¸˙à’≈ดà¸˙ีà’≈ >>> (ENTITY_MAINT ธีà’√à¸à’≈ภ>>> à¸Ωนดร)</value> >>> </property> >>> - <property key="WebtoolsPermissionPeriod"> >>> - <value xml:lang="en">You do not have permission to use >>> this page (PERIOD_MAINT needed)</value> >>> - <value xml:lang="fr">Vous n'avez pas l'autorisation >>> d'utiliser cette page (PERIOD_MAINT est nécessaire)</value> >>> - <value xml:lang="it">Tu non hai il permesso di usare >>> questa pagina (necessario PERIOD_MAINT)</value> >>> - <value >>> xml:lang="th">à¸≥ุคà’≥มà’√à’≥ภ>>> ‰à’≈รัà¸˚ภ>>> à >>> ¸˙ุฟดà¸à’∞หà’≈à’∞ฅ >>> à >>> ’≈ >>> à >>> ¸ >>> Ωà >>> ¸ >>> ”à >>> ¸˙à’∞à¸˙หà¸˙à’≈ดà¸˙ีà’≈ >>> (PERIOD_MAINT ธีà’√à¸à’≈ภ>>> à¸Ωนดร)</value> >>> - </property> >>> <property key="WebtoolsPermissionType"> >>> <value xml:lang="en">Permission Type</value> >>> <value xml:lang="fr">Type d'autorisation</value> >>> @@ -2643,12 +2574,6 @@ >>> <value xml:lang="it">Imposta Come Attuale</value> >>> <value xml:lang="th">à¸à¸ >>> ±à’≈à¸Ωà’•à¸˝à’Ωà¸˙à¸˝à¸ >>> ±à¸√à¸√ุà¸˚ัà¸˙</value> >>> </property> >>> - <property key="WebtoolsShowOnlyPeriodsWithOrganization"> >>> - <value xml:lang="en">Show Only Periods with Organization >>> Party ID</value> >>> - <value xml:lang="fr">Montrer seulement les périodes >>> ayant la réf. d'acteur de l'organisation</value> >>> - <value xml:lang="it">Mostra Solo Periodi con >>> Organizzazioni</value> >>> - <value xml:lang="th">à’™à¸ªà¸‰à¸Ωฅ >>> à’√วà¸Ωà’•à¸§à¸¥à¸”à¸™à¸ >>> ±à¸˚รหัสภ>>> à¸Ωà¸≥à’‘à¸™à¸£à¸™à¸ >>> ¥à¸¸à’√à¸¡à¸˛à¸’à’≈à’∞ฅ >>> à’≈ภยà’√ดà¸Ωà’•à¸‰à¸µà¸ >>> ¢à¸§</value> >>> - </property> >>> <property key="WebtoolsShowShowWSDL"> >>> <value xml:lang="en">Show wsdl</value> >>> <value xml:lang="fr">Montrer WSDL</value> >>> >>> Modified: ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/ >>> controller.xml >>> URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/controller.xml?rev=757683&r1=757682&r2=757683&view=diff >>> = >>> = >>> = >>> = >>> = >>> = >>> = >>> = >>> = >>> = >>> ==================================================================== >>> --- ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/ >>> controller.xml (original) >>> +++ ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/ >>> controller.xml Tue Mar 24 08:11:22 2009 >>> @@ -353,30 +353,6 @@ >>> <response name="error" type="view" value="ServiceList"/> >>> </request-map> >>> >>> - <!-- CustomTimePeriod requests --> >>> - <request-map uri="EditCustomTimePeriod"> >>> - <security https="true" auth="true"/> >>> - <response name="success" type="view" >>> value="EditCustomTimePeriod"/> >>> - </request-map> >>> - <request-map uri="createCustomTimePeriod"> >>> - <security https="true" auth="true"/> >>> - <event type="service" path="" >>> invoke="createCustomTimePeriod"/> >>> - <response name="success" type="view" >>> value="EditCustomTimePeriod"/> >>> - <response name="error" type="view" >>> value="EditCustomTimePeriod"/> >>> - </request-map> >>> - <request-map uri="updateCustomTimePeriod"> >>> - <security https="true" auth="true"/> >>> - <event type="service" path="" >>> invoke="updateCustomTimePeriod"/> >>> - <response name="success" type="view" >>> value="EditCustomTimePeriod"/> >>> - <response name="error" type="view" >>> value="EditCustomTimePeriod"/> >>> - </request-map> >>> - <request-map uri="deleteCustomTimePeriod"> >>> - <security https="true" auth="true"/> >>> - <event type="service" path="" >>> invoke="deleteCustomTimePeriod"/> >>> - <response name="success" type="view" >>> value="EditCustomTimePeriod"/> >>> - <response name="error" type="view" >>> value="EditCustomTimePeriod"/> >>> - </request-map> >>> - >>> <!-- PerformanceTest requests --> >>> <request-map uri="EntityPerformanceTest"> >>> <security https="true" auth="true"/> >>> @@ -620,8 +596,6 @@ >>> >>> <view-map name="EntityPerformanceTest" type="screen" >>> page="component://webtools/widget/ >>> EntityScreens.xml#EntityPerformanceTest"/> >>> >>> - <view-map name="EditCustomTimePeriod" type="screen" >>> page="component://webtools/widget/ >>> MiscScreens.xml#EditCustomTimePeriod"/> >>> - >>> <view-map name="ServiceLog" type="screen" page="component:// >>> webtools/widget/ServiceScreens.xml#ServiceLog"/> >>> <view-map name="ServiceList" type="screen" page="component:// >>> webtools/widget/ServiceScreens.xml#ServiceList"/> >>> <view-map name="FindJob" type="screen" page="component:// >>> webtools/widget/ServiceScreens.xml#FindJob"/> >>> >>> Modified: ofbiz/trunk/framework/webtools/webapp/webtools/main.ftl >>> URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/webtools/webapp/webtools/main.ftl?rev=757683&r1=757682&r2=757683&view=diff >>> = >>> = >>> = >>> = >>> = >>> = >>> = >>> = >>> = >>> = >>> ==================================================================== >>> --- ofbiz/trunk/framework/webtools/webapp/webtools/main.ftl >>> (original) >>> +++ ofbiz/trunk/framework/webtools/webapp/webtools/main.ftl Tue >>> Mar 24 08:11:22 2009 >>> @@ -122,9 +122,6 @@ >>> <li><a href="<@ofbizUrl>viewdatafile</@ofbizUrl>">$ >>> {uiLabelMap.WebtoolsWorkWithDataFiles}</a></li> >>> </#if> >>> <li><h3>${uiLabelMap.WebtoolsMiscSetupTools}</h3></li> >>> - <#if security.hasPermission("PERIOD_MAINT", session)> >>> - <li><a href="<@ofbizUrl>EditCustomTimePeriod</ >>> @ofbizUrl>">${uiLabelMap.WebtoolsEditCustomTimePeriods}</a></li> >>> - </#if> >>> <#if security.hasPermission("ENUM_STATUS_MAINT", session)> >>> <#-- >>> <li><a href="<@ofbizUrl>EditEnumerationTypes</ >>> @ofbizUrl>">Edit Enumerations</a></li> >>> >>> Modified: ofbiz/trunk/framework/webtools/widget/MiscScreens.xml >>> URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/webtools/widget/MiscScreens.xml?rev=757683&r1=757682&r2=757683&view=diff >>> = >>> = >>> = >>> = >>> = >>> = >>> = >>> = >>> = >>> = >>> ==================================================================== >>> --- ofbiz/trunk/framework/webtools/widget/MiscScreens.xml (original) >>> +++ ofbiz/trunk/framework/webtools/widget/MiscScreens.xml Tue Mar >>> 24 08:11:22 2009 >>> @@ -36,23 +36,6 @@ >>> </section> >>> </screen> >>> >>> - <screen name="EditCustomTimePeriod"> >>> - <section> >>> - <actions> >>> - <set field="headerItem" value="main"/> >>> - <set field="titleProperty" >>> value="WebtoolsEditCustomTimePeriods"/> >>> - <script location="component://webtools/webapp/ >>> webtools/WEB-INF/actions/period/EditCustomTimePeriod.groovy"/> >>> - </actions> >>> - <widgets> >>> - <decorator-screen name="main-decorator" >>> location="${parameters.mainDecoratorLocation}"> >>> - <decorator-section name="body"> >>> - <platform-specific><html><html-template >>> location="component://webtools/webapp/webtools/period/ >>> EditCustomTimePeriod.ftl"/></html></platform-specific> >>> - </decorator-section> >>> - </decorator-screen> >>> - </widgets> >>> - </section> >>> - </screen> >>> - >>> <screen name="viewdatafile"> >>> <section> >>> <actions> >>> >>> >> > smime.p7s (3K) Download Attachment |
Free forum by Nabble | Edit this page |