git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@556105 13f79535-47bb-0310-9956-ffa450edef68
140 lines
7.8 KiB
XML
140 lines
7.8 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="FindFinAccount">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleFinAccount"/>
|
|
<set field="headerItem" value="FindFinAccount"/>
|
|
<set field="viewIndex" from-field="parameters.VIEW_INDEX" type="Integer" default-value="0"/>
|
|
<set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer" default-value="20"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<container><link target="EditFinAccount" text="${uiLabelMap.CommonCreateNew} ${uiLabelMap.AccountingFinAccount}" style="buttontext"/></container>
|
|
<container><label style="head1" text="${uiLabelMap.AccountingFindFinAccount}"/></container>
|
|
<include-form name="FindFinAccounts" location="component://accounting/widget/FinAccountForms.xml"/>
|
|
<include-form name="ListFinAccounts" location="component://accounting/widget/FinAccountForms.xml"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<screen name="EditFinAccount">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleEditFinAccount"/>
|
|
<set field="tabButtonItem" value="EditFinAccount"/>
|
|
<set field="finAccountId" from-field="parameters.finAccountId"/>
|
|
<property-to-field field="defaultCurrencyUomId" resource="general" property="currency.uom.id.default" default="USD" />
|
|
<entity-one entity-name="FinAccount" value-name="finAccount"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonFinAccountDecorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<section>
|
|
<widgets>
|
|
<label style="head1" text="${uiLabelMap.AccountingEditFinAccount}"/>
|
|
<container><link target="EditFinAccount" text="${uiLabelMap.CommonCreateNew} ${uiLabelMap.AccountingFinAccount}" style="buttontext"/></container>
|
|
<include-form name="EditFinAccount" location="component://accounting/widget/FinAccountForms.xml"/>
|
|
</widgets>
|
|
</section>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<screen name="EditFinAccountRoles">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleEditFinAccountRole"/>
|
|
<set field="tabButtonItem" value="EditFinAccountRoles"/>
|
|
<set field="labelTitleProperty" value="PageTitleEditFinAccountRole"/>
|
|
|
|
<set field="finAccountId" from-field="parameters.finAccountId"/>
|
|
<entity-one entity-name="FinAccount" value-name="finAccount"/>
|
|
<set field="partyId" from-field="parameters.partyId"/>
|
|
<set field="roleTypeId" from-field="parameters.roleTypeId"/>
|
|
<set field="fromDate" from-field="parameters.fromDate"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonFinAccountDecorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<container><link target="EditFinAccount" text="${uiLabelMap.CommonCreateNew} ${uiLabelMap.AccountingFinAccount}" style="buttontext"/></container>
|
|
<include-form name="ListFinAccountRoles" location="component://accounting/widget/FinAccountForms.xml"/>
|
|
<include-form name="AddFinAccountRole" location="component://accounting/widget/FinAccountForms.xml"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<screen name="EditFinAccountTrans">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleEditFinAccountTrans"/>
|
|
<set field="tabButtonItem" value="EditFinAccountTrans"/>
|
|
<set field="labelTitleProperty" value="PageTitleEditFinAccountTrans"/>
|
|
<set field="finAccountId" from-field="parameters.finAccountId"/>
|
|
<entity-one entity-name="FinAccount" value-name="finAccount"/>
|
|
<set field="finAccountTransId" from-field="parameters.finAccountTransId"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonFinAccountDecorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<container><link target="EditFinAccount" text="${uiLabelMap.CommonCreateNew} ${uiLabelMap.AccountingFinAccount}" style="buttontext"/></container>
|
|
<include-form name="ListFinAccountTransactions" location="component://accounting/widget/FinAccountForms.xml"/>
|
|
<include-form name="AddFinAccountTrans" location="component://accounting/widget/FinAccountForms.xml"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<screen name="EditFinAccountAuths">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleEditFinAccountAuths"/>
|
|
<set field="tabButtonItem" value="EditFinAccountAuths"/>
|
|
<set field="labelTitleProperty" value="PageTitleEditFinAccountAuths"/>
|
|
<set field="finAccountId" from-field="parameters.finAccountId"/>
|
|
<entity-one entity-name="FinAccount" value-name="finAccount"/>
|
|
<set field="finAccountAuthId" from-field="parameters.finAccountAuthId"/>
|
|
<property-to-field field="defaultCurrencyUomId" resource="general" property="currency.uom.id.default" default="USD" />
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonFinAccountDecorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<container><link target="EditFinAccount" text="${uiLabelMap.CommonCreateNew} ${uiLabelMap.AccountingFinAccount}" style="buttontext"/></container>
|
|
<include-form name="ListFinAccountAuths" location="component://accounting/widget/FinAccountForms.xml"/>
|
|
<include-form name="AddFinAccountAuth" location="component://accounting/widget/FinAccountForms.xml"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
</screens> |