[ \t]+$ => "" (empty) Should be easier to review when committing changes with trailing spaces removed automatically by anyedit or such tool (please refer to http://docs.ofbiz.org/x/mg) Of course this effort to remove trailing spaces has no functional implications. Actually, I was doing a 1st commit and as it's long to upload, I got conflicts with r763135 In the meantime I did some refactoring also in *.java and *.groovy files : ){ => ) { if( => if ( while( => while ( }else => } else else{ => else { switch( => switch ( try{ => try { }catch => } catch catch( => catch ( }finally{ => } finally { So these changes are also in this commit, should not be a problem anyway. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@763175 13f79535-47bb-0310-9956-ffa450edef68
587 lines
32 KiB
XML
587 lines
32 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
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="CommonFixedAssetDecorator">
|
|
<section>
|
|
<actions>
|
|
<set field="headerItem" value="ListFixedAssets"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="pre-body">
|
|
<section>
|
|
<condition>
|
|
<not><if-empty field="fixedAssetId"/></not>
|
|
</condition>
|
|
<widgets>
|
|
<include-menu name="FixedAssetTabBar" location="component://accounting/widget/Menus.xml"/>
|
|
</widgets>
|
|
</section>
|
|
<decorator-section-include name="pre-body"/>
|
|
</decorator-section>
|
|
<decorator-section name="body">
|
|
<section>
|
|
<condition>
|
|
<if-service-permission service-name="fixedAssetPermissionCheck" main-action="VIEW"/>
|
|
</condition>
|
|
<widgets>
|
|
<section>
|
|
<condition>
|
|
<not><if-empty field="fixedAssetId"/></not>
|
|
</condition>
|
|
<widgets>
|
|
<container style="h1"><label text="${uiLabelMap[titleProperty]} ${uiLabelMap.CommonFor} ${fixedAsset.fixedAssetName} [${fixedAssetId}] ${${extraFunctionName}}"/></container>
|
|
</widgets>
|
|
<fail-widgets>
|
|
<container style="h1"><label text="${uiLabelMap[titleProperty]}"/></container>
|
|
</fail-widgets>
|
|
</section>
|
|
<decorator-section-include name="body"/>
|
|
</widgets>
|
|
<fail-widgets>
|
|
<label style="h3" text="${uiLabelMap.AccountingViewPermissionError}"/>
|
|
</fail-widgets>
|
|
</section>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<!-- list all assets in a tabular format -->
|
|
<screen name="ListFixedAssets">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="AccountingFindFixedAssets"/>
|
|
<set field="headerItem" value="ListFixedAssets"/>
|
|
<set field="tabButtonItem" value="ListFixedAssets"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<decorator-screen name="FindScreenDecorator" location="component://common/widget/CommonScreens.xml">
|
|
<decorator-section name="menu-bar">
|
|
<section>
|
|
<condition>
|
|
<if-service-permission service-name="fixedAssetPermissionCheck" main-action="CREATE"/>
|
|
</condition>
|
|
<widgets>
|
|
<container style="button-bar"><link target="EditFixedAsset" text="${uiLabelMap.AccountingNewFixedAsset}" style="buttontext"/></container>
|
|
</widgets>
|
|
</section>
|
|
</decorator-section>
|
|
<decorator-section name="search-options">
|
|
<include-form name="FindFixedAssetOptions" location="component://accounting/webapp/accounting/fixedasset/FixedAssetForms.xml"/>
|
|
</decorator-section>
|
|
<decorator-section name="search-results">
|
|
<include-screen name="FixedAssetSearchResults"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<screen name="FixedAssetSearchResults">
|
|
<section>
|
|
<condition>
|
|
<if-service-permission service-name="fixedAssetPermissionCheck" main-action="VIEW"/>
|
|
</condition>
|
|
<actions>
|
|
<property-map resource="AccountingUiLabels" map-name="uiLabelMap" global="true"/>
|
|
<property-map resource="CommonUiLabels" map-name="uiLabelMap" global="true"/>
|
|
</actions>
|
|
<widgets>
|
|
<include-form name="ListFixedAssets" location="component://accounting/webapp/accounting/fixedasset/FixedAssetForms.xml"/>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<!-- create and/or update a fixed asset -->
|
|
<screen name="EditFixedAsset">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleEditFixedAsset"/>
|
|
<set field="tabButtonItem" value="EditFixedAsset"/>
|
|
<set field="fixedAssetId" from-field="parameters.fixedAssetId"/>
|
|
<entity-one entity-name="FixedAsset" value-field="fixedAsset"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonFixedAssetDecorator" location="${parameters.fixedAssetDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<section>
|
|
<condition>
|
|
<if-service-permission service-name="fixedAssetPermissionCheck" main-action="CREATE"/>
|
|
</condition>
|
|
<widgets>
|
|
<container style="button-bar"><link target="EditFixedAsset" text="${uiLabelMap.AccountingNewFixedAsset}" style="buttontext"/></container>
|
|
</widgets>
|
|
</section>
|
|
<include-form name="EditFixedAsset" location="component://accounting/webapp/accounting/fixedasset/FixedAssetForms.xml"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<!-- provide a list and allow additions -->
|
|
<screen name="ListFixedAssetProducts">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleListFixedAssetProducts"/>
|
|
<set field="tabButtonItem" value="ListFixedAssetProducts"/>
|
|
<set field="labelTitleProperty" value="AccountingFixedAssetProducts"/>
|
|
|
|
<set field="fixedAssetId" from-field="parameters.fixedAssetId"/>
|
|
<entity-one entity-name="FixedAsset" value-field="fixedAsset"/>
|
|
<entity-condition entity-name="FixedAssetProduct" list="fixedAssetProducts" >
|
|
<condition-expr field-name="fixedAssetId" from-field="fixedAssetId"/>
|
|
<order-by field-name="productId"/>
|
|
<order-by field-name="fixedAssetProductTypeId"/>
|
|
<order-by field-name="fromDate"/>
|
|
</entity-condition>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonFixedAssetDecorator" location="${parameters.fixedAssetDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<screenlet id="add-fixedasset-product" title="${uiLabelMap.AccountingFixedAssetProductAdd}" collapsible="true">
|
|
<include-form name="AddFixedAssetProduct" location="component://accounting/webapp/accounting/fixedasset/FixedAssetForms.xml"/>
|
|
</screenlet>
|
|
<include-form name="ListFixedAssetProducts" location="component://accounting/webapp/accounting/fixedasset/FixedAssetForms.xml"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<!-- provide a calendar to show occupation-->
|
|
<screen name="CommonCalendarDecorator">
|
|
<section>
|
|
<actions>
|
|
<set field="tabButtonItem" value="ListFixedAssetCalendar"/>
|
|
<script location="component://accounting/webapp/accounting/WEB-INF/actions/fixedasset/ViewCalendar.groovy"/>
|
|
<entity-one entity-name="FixedAsset" value-field="fixedAsset"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonFixedAssetDecorator" location="${parameters.fixedAssetDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<include-menu name="FixedAssetCalendarTabBar" location="component://accounting/widget/Menus.xml"/>
|
|
<decorator-section-include name="body"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<screen name="CalendarDay">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleCalendarDay"/>
|
|
<set field="parameters.viewMode" value="D"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonCalendarDecorator">
|
|
<decorator-section name="body">
|
|
<platform-specific>
|
|
<html><html-template location="component://workeffort/webapp/workeffort/calendar/day.ftl"/></html>
|
|
</platform-specific>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<screen name="CalendarWeek">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleCalendarWeek"/>
|
|
<set field="parameters.viewMode" value="W"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonCalendarDecorator">
|
|
<decorator-section name="body">
|
|
<platform-specific>
|
|
<html><html-template location="component://workeffort/webapp/workeffort/calendar/week.ftl"/></html>
|
|
</platform-specific>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<screen name="CalendarMonth">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleCalendarMonth"/>
|
|
<set field="parameters.viewMode" value="M"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonCalendarDecorator">
|
|
<decorator-section name="body">
|
|
<platform-specific>
|
|
<html><html-template location="component://workeffort/webapp/workeffort/calendar/month.ftl"/></html>
|
|
</platform-specific>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<screen name="WorkEffortSummary">
|
|
<section>
|
|
<actions>
|
|
<set field="tabButtonItem" value="ListFixedAssetCalendar"/>
|
|
<set field="titleProperty" value="PageTitleWorkEffortRelatedSummary"/>
|
|
<entity-one entity-name="WorkEffort" value-field="workEffort"/>
|
|
<set field="fixedAssetId" from-field="workEffort.fixedAssetId"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonFixedAssetDecorator" location="${parameters.fixedAssetDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<include-form name="WorkEffortSummary" location="component://accounting/webapp/accounting/fixedasset/FixedAssetForms.xml"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<screen name="EditFixedAssetStdCosts">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleEditFixedAssetStdCosts"/>
|
|
<set field="tabButtonItem" value="EditFixedAssetStdCosts"/>
|
|
<set field="labelTitleProperty" value="PageTitleEditFixedAssetStdCosts"/>
|
|
<set field="fixedAssetId" from-field="parameters.fixedAssetId"/>
|
|
|
|
<property-to-field field="defaultCurrencyUomId" resource="general" property="currency.uom.id.default" default="USD"/>
|
|
<entity-one entity-name="FixedAsset" value-field="fixedAsset" auto-field-map="true"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonFixedAssetDecorator" location="${parameters.fixedAssetDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<screenlet id="add-fixed-asset-std-cost" title="${uiLabelMap.AccountingAddFixedAssetStdCost}" collapsible="true">
|
|
<include-form name="EditFixedAssetStdCost" location="component://accounting/webapp/accounting/fixedasset/FixedAssetForms.xml"/>
|
|
</screenlet>
|
|
<include-form name="ListFixedAssetStdCosts" location="component://accounting/webapp/accounting/fixedasset/FixedAssetForms.xml"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<!-- Fixed Asset Idents -->
|
|
<screen name="EditFixedAssetIdents">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleEditFixedAssetIdents"/>
|
|
<set field="tabButtonItem" value="EditFixedAssetIdents"/>
|
|
<set field="labelTitleProperty" value="PageTitleEditFixedAssetIdents"/>
|
|
<set field="fixedAssetId" from-field="parameters.fixedAssetId"/>
|
|
<set field="fixedAssetIdentTypeId" from-field="parameters.fixedAssetIdentTypeId"/>
|
|
<entity-one entity-name="FixedAsset" value-field="fixedAsset"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonFixedAssetDecorator" location="${parameters.fixedAssetDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<screenlet id="edit-fixed-asset-idents" title="${uiLabelMap.AccountingAddFixedAssetIdent}" collapsible="true">
|
|
<include-form name="AddFixedAssetIdent" location="component://accounting/webapp/accounting/fixedasset/FixedAssetForms.xml"/>
|
|
</screenlet>
|
|
<include-form name="ListFixedAssetIdents" location="component://accounting/webapp/accounting/fixedasset/FixedAssetForms.xml"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<!-- Fixed Asset Registrations -->
|
|
<screen name="EditFixedAssetRegistrations">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleEditFixedAssetRegistrations"/>
|
|
<set field="tabButtonItem" value="EditFixedAssetRegistrations"/>
|
|
<set field="labelTitleProperty" value="PageTitleEditFixedAssetRegistrations"/>
|
|
<set field="fixedAssetId" from-field="parameters.fixedAssetId"/>
|
|
<set field="fromDate" from-field="parameters.fromDate"/>
|
|
<entity-one entity-name="FixedAsset" value-field="fixedAsset"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonFixedAssetDecorator" location="${parameters.fixedAssetDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<screenlet id="add-fixed-asset-registration" title="${uiLabelMap.AccountingAddFixedAssetRegistration}" collapsible="true">
|
|
<include-form name="AddFixedAssetRegistration" location="component://accounting/webapp/accounting/fixedasset/FixedAssetForms.xml"/>
|
|
</screenlet>
|
|
<include-form name="ListFixedAssetRegistrations" location="component://accounting/webapp/accounting/fixedasset/FixedAssetForms.xml"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<!-- Fixed Asset Maintenance -->
|
|
<screen name="CommonFixedAssetMaintDecorator">
|
|
<section>
|
|
<actions>
|
|
<set field="headerItem" value="ListFixedAssetMaints"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonFixedAssetDecorator" location="${parameters.fixedAssetDecoratorLocation}">
|
|
<decorator-section name="pre-body">
|
|
<section>
|
|
<condition><not><if-empty field="maintHistSeqId"/></not></condition>
|
|
<widgets>
|
|
<include-menu name="FixedAssetMaintTabBar" location="component://accounting/widget/Menus.xml"/>
|
|
</widgets>
|
|
</section>
|
|
</decorator-section>
|
|
<decorator-section name="body">
|
|
<decorator-section-include name="body"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="ListFixedAssetMaints">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleListFixedAssetMaints"/>
|
|
<set field="tabButtonItem" value="ListFixedAssetMaints"/>
|
|
<set field="labelTitleProperty" value="PageTitleListFixedAssetMaints"/>
|
|
<set field="fixedAssetId" from-field="parameters.fixedAssetId"/>
|
|
<set field="fromDate" from-field="parameters.fromDate"/>
|
|
<entity-one entity-name="FixedAsset" value-field="fixedAsset"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonFixedAssetDecorator" location="${parameters.fixedAssetDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<container style="button-bar">
|
|
<link target="EditFixedAssetMaint" text="${uiLabelMap.AccountingNewFixedAssetMaint}" style="buttontext">
|
|
<parameter param-name="fixedAssetId"/>
|
|
</link>
|
|
</container>
|
|
<include-form name="ListFixedAssetMaints" location="component://accounting/webapp/accounting/fixedasset/FixedAssetForms.xml"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="EditFixedAssetMaint">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleEditFixedAssetMaintenance"/>
|
|
<set field="tabButtonItem" value="ListFixedAssetMaints"/>
|
|
<set field="tabButtonItemFixedAssetMaint" value="EditFixedAssetMaint"/>
|
|
<set field="labelTitleProperty" value="PageTitleEditFixedAssetMaintenance"/>
|
|
<set field="fixedAssetId" from-field="parameters.fixedAssetId"/>
|
|
<set field="maintHistSeqId" from-field="parameters.maintHistSeqId"/>
|
|
<entity-one entity-name="FixedAsset" value-field="fixedAsset"/>
|
|
<entity-one entity-name="FixedAssetMaint" value-field="fixedAssetMaint"/>
|
|
</actions>
|
|
<widgets>
|
|
<section>
|
|
<condition><if-empty field="maintHistSeqId"/></condition>
|
|
<actions><set field="titleProperty" value="AccountingAddFixedAssetMaintenance"/></actions>
|
|
<widgets/>
|
|
</section>
|
|
<decorator-screen name="CommonFixedAssetMaintDecorator" location="${parameters.fixedAssetMaintDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<section>
|
|
<condition>
|
|
<and>
|
|
<not><if-empty field="maintHistSeqId"/></not>
|
|
<if-service-permission service-name="fixedAssetPermissionCheck" main-action="CREATE"/>
|
|
</and>
|
|
</condition>
|
|
<widgets>
|
|
<container style="button-bar">
|
|
<link target="EditFixedAssetMaint" text="${uiLabelMap.AccountingNewFixedAssetMaint}" style="buttontext">
|
|
<parameter param-name="fixedAssetId"/>
|
|
</link>
|
|
</container>
|
|
</widgets>
|
|
</section>
|
|
<include-form name="EditFixedAssetMaint" location="component://accounting/webapp/accounting/fixedasset/FixedAssetForms.xml"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<!-- Fixed Asset Meter -->
|
|
<screen name="EditFixedAssetMeters">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleEditFixedAssetMeters"/>
|
|
<set field="tabButtonItem" value="EditFixedAssetMeters"/>
|
|
<set field="tabButtonItemFixedAssetMaint" value="EditFixedAssetMeters"/>
|
|
<set field="labelTitleProperty" value="PageTitleEditFixedAssetMaintenance"/>
|
|
<set field="fixedAssetId" from-field="parameters.fixedAssetId"/>
|
|
<set field="maintHistSeqId" from-field="parameters.maintHistSeqId"/>
|
|
<entity-one entity-name="FixedAsset" value-field="fixedAsset"/>
|
|
<entity-one entity-name="FixedAssetMaint" value-field="fixedAssetMaint"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonFixedAssetMaintDecorator" location="${parameters.fixedAssetMaintDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<screenlet id="add-fixedasset-meter" title="${uiLabelMap.AccountingAddFixedAssetMeter}" collapsible="true">
|
|
<include-form name="AddFixedAssetMeter" location="component://accounting/webapp/accounting/fixedasset/FixedAssetForms.xml"/>
|
|
</screenlet>
|
|
<include-form name="ListFixedAssetMeters" location="component://accounting/webapp/accounting/fixedasset/FixedAssetForms.xml"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<!-- Fixed Asset Children -->
|
|
<screen name="FixedAssetChildren">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleListFixedAssetChildren"/>
|
|
<set field="tabButtonItem" value="FixedAssetChildren"/>
|
|
<set field="labelTitleProperty" value="PageTitleListFixedAssetChildren"/>
|
|
<set field="fixedAssetId" from-field="parameters.fixedAssetId"/>
|
|
<set field="trail" from-field="parameters.trail" default-value="${parameters.fixedAssetId}"/>
|
|
<set field="fixedAssetId" from-field="parameters.trail"/>
|
|
<entity-one entity-name="FixedAsset" value-field="fixedAsset"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonFixedAssetDecorator" location="${parameters.fixedAssetDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<include-tree name="TreeFixedAsset" location="component://accounting/widget/AccountingTrees.xml"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<!-- Fixed Asset Maint Order -->
|
|
<screen name="EditFixedAssetMaintOrders">
|
|
<section>
|
|
<actions>
|
|
<property-map resource="OrderUiLabels" map-name="uiLabelMap"/>
|
|
<set field="titleProperty" value="PageTitleEditFixedAssetMaintOrders"/>
|
|
<set field="tabButtonItem" value="ListFixedAssetMaints"/>
|
|
<set field="tabButtonItemFixedAssetMaint" value="EditFixedAssetMaintOrders"/>
|
|
<set field="labelTitleProperty" value="PageTitleEditFixedAssetMaintenance"/>
|
|
<set field="fixedAssetId" from-field="parameters.fixedAssetId"/>
|
|
<set field="maintHistSeqId" from-field="parameters.maintHistSeqId"/>
|
|
<set field="orderId" from-field="parameters.orderId"/>
|
|
<set field="orderItemSeqId" from-field="parameters.orderItemSeqId"/>
|
|
<entity-one entity-name="FixedAsset" value-field="fixedAsset"/>
|
|
<entity-one entity-name="FixedAssetMaint" value-field="fixedAssetMaint"/>
|
|
<entity-one entity-name="FixedAssetMaintOrder" value-field="fixedAssetMaintOrder"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonFixedAssetMaintDecorator" location="${parameters.fixedAssetMaintDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<screenlet id="add-fixedasset-maint-order" title="${uiLabelMap.AccountingAddFixedAssetMaintOrder}" collapsible="true">
|
|
<include-form name="AddFixedAssetMaintOrder" location="component://accounting/webapp/accounting/fixedasset/FixedAssetForms.xml"/>
|
|
</screenlet>
|
|
<include-form name="ListFixedAssetMaintOrders" location="component://accounting/webapp/accounting/fixedasset/FixedAssetForms.xml"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<!-- ===========Party Fixed Asset Assignment Screen========== -->
|
|
<screen name="EditPartyFixedAssetAssignments">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleEditPartyFixedAssetAssignments"/>
|
|
<set field="tabButtonItem" value="EditPartyFixedAssetAssignments"/>
|
|
<set field="labelTitleProperty" value="PageTitleEditPartyFixedAssetAssignments"/>
|
|
<set field="fixedAssetId" from-field="parameters.fixedAssetId"/>
|
|
<set field="partyId" from-field="parameters.partyId"/>
|
|
<set field="roleTypeId" from-field="parameters.roleTypeId"/>
|
|
<set field="fromDate" from-field="parameters.fromDate"/>
|
|
<entity-one entity-name="FixedAsset" value-field="fixedAsset"/>
|
|
<entity-one entity-name="PartyFixedAssetAssignment" value-field="partyFixedAssetAssignment"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonFixedAssetDecorator" location="${parameters.fixedAssetDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<screenlet id="add-party-fixedasset-assignments" title="${uiLabelMap.AccountingAddFixedAssetPartyAssignment}" collapsible="true">
|
|
<include-form name="AddPartyFixedAssetAssignment" location="component://accounting/webapp/accounting/fixedasset/FixedAssetForms.xml"/>
|
|
</screenlet>
|
|
<include-form name="ListPartyFixedAssetAssignments" location="component://accounting/webapp/accounting/fixedasset/FixedAssetForms.xml"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<!-- ===========Fixed Asset Depreciation Screen========== -->
|
|
<screen name="ShowFixedAssetDepreciation">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleFixedAssetDepreciationReport"/>
|
|
<set field="tabButtonItem" value="FixedAssetDepreciation"/>
|
|
<set field="labelTitleProperty" value="PageTitleFixedAssetDepreciationReport"/>
|
|
<set field="fixedAssetId" from-field="parameters.fixedAssetId"/>
|
|
<set field="assetDepreciationTillDate" from-field="parameters.assetDepreciationTillDate"/>
|
|
<set field="assetNBVAfterDepreciation" from-field="parameters.assetNBVAfterDepreciation"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonFixedAssetDecorator" location="${parameters.fixedAssetDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<section>
|
|
<widgets>
|
|
<container style="screenlet">
|
|
<container style="screenlet-title-bar">
|
|
<container style="h3">
|
|
<label text="${uiLabelMap.PageTitleFixedAssetDepreciationReport}"/>
|
|
</container>
|
|
</container>
|
|
<container style="screenlet-body">
|
|
<section>
|
|
<widgets>
|
|
<platform-specific>
|
|
<html><html-template location="component://accounting/webapp/accounting/fixedasset/DepreciationReport.ftl"/></html>
|
|
</platform-specific>
|
|
</widgets>
|
|
</section>
|
|
</container>
|
|
</container>
|
|
</widgets>
|
|
</section>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<screen name="FixedAssetGeoLocation">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleFixedAssetGeoLocation"/>
|
|
<script location="component://accounting/webapp/accounting/WEB-INF/actions/fixedasset/FixedAssetGeoLocation.groovy"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonFixedAssetDecorator" location="${parameters.fixedAssetDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<platform-specific>
|
|
<html><html-template location="component://accounting/webapp/accounting/fixedasset/FixedAssetGeoLocation.ftl"/></html>
|
|
</platform-specific>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
</screens>
|