git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@764195 13f79535-47bb-0310-9956-ffa450edef68
223 lines
13 KiB
XML
223 lines
13 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.
|
|
-->
|
|
|
|
<forms xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-form.xsd">
|
|
|
|
<form name="FindFinAccounts" type="single" target="FindFinAccount"
|
|
header-row-style="header-row" default-table-style="basic-table">
|
|
<auto-fields-entity entity-name="FinAccount" default-field-type="find"/>
|
|
<field name="finAccountId"><text-find default-option="contains" ignore-case="true"/></field>
|
|
<field name="finAccountTypeId">
|
|
<drop-down allow-empty="true">
|
|
<entity-options description="${description}" entity-name="FinAccountType">
|
|
<entity-order-by field-name="description"/>
|
|
</entity-options>
|
|
</drop-down>
|
|
</field>
|
|
<field name="finAccountCode"><text-find default-option="contains" ignore-case="true"/></field>
|
|
<field name="fromDate"><date-time/></field>
|
|
<field name="thruDate"><date-time/></field>
|
|
<field name="noConditionFind"><hidden value="Y"/><!-- if this isn't there then with all fields empty no query will be done --></field>
|
|
<field name="searchButton" widget-style="smallSubmit"><submit button-type="button"/></field>
|
|
</form>
|
|
<form name="ListFinAccounts" type="list" separate-columns="true" default-entity-name="FinAccount" list-name="listIt" paginate-target="FindFinAccount" paginate="true"
|
|
odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
|
|
<actions>
|
|
<service service-name="performFind" result-map="result" result-map-list="listIt">
|
|
<field-map field-name="inputFields" from-field="parameters"/>
|
|
<field-map field-name="entityName" value="FinAccount"/>
|
|
<field-map field-name="orderBy" value="fromDate"/>
|
|
</service>
|
|
</actions>
|
|
<auto-fields-entity entity-name="FinAccount" default-field-type="display"/>
|
|
<field name="finAccountId">
|
|
<hyperlink description="${finAccountId}" target="EditFinAccount">
|
|
<parameter param-name="finAccountId"/>
|
|
</hyperlink>
|
|
</field>
|
|
<field name="finAccountTypeId"><display-entity entity-name="FinAccountType" description="${description}"/></field>
|
|
<field name="deleteLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext">
|
|
<hyperlink target="deleteFinAccount" description="${uiLabelMap.CommonDelete}" also-hidden="false">
|
|
<parameter param-name="finAccountId"/>
|
|
</hyperlink>
|
|
</field>
|
|
</form>
|
|
|
|
<form name="EditFinAccount" type="single" target="updateFinAccount" default-map-name="finAccount"
|
|
header-row-style="header-row" default-table-style="basic-table">
|
|
<actions>
|
|
<entity-one entity-name="StatusItem" value-field="currentStatus" auto-field-map="false">
|
|
<field-map field-name="statusId" from-field="finAccount.statusId"/>
|
|
</entity-one>
|
|
</actions>
|
|
<alt-target use-when="finAccount==null" target="createFinAccount"/>
|
|
<auto-fields-service service-name="updateFinAccount"/>
|
|
|
|
<field name="finAccountId" use-when="finAccountId!=null" tooltip="${uiLabelMap.CommonNotModifRecreat}"><display/></field>
|
|
<field name="finAccountId" use-when="finAccount==null&&finAccountId==null"><ignored/></field>
|
|
<field name="finAccountId" use-when="finAccount==null&&finAccountId!=null" tooltip="${uiLabelMap.CommonCannotBeFound}: [${finAccountId}]"><display also-hidden="false"/></field>
|
|
|
|
<field name="finAccountCode"><text size="20"/></field>
|
|
<field name="finAccountPin"><text size="10"/></field>
|
|
<field name="finAccountTypeId">
|
|
<drop-down no-current-selected-key="DEPOSIT_ACCOUNT">
|
|
<entity-options description="${description}" entity-name="FinAccountType">
|
|
<entity-order-by field-name="description"/>
|
|
</entity-options>
|
|
</drop-down>
|
|
</field>
|
|
<field name="currencyUomId" title="${uiLabelMap.CommonCurrency}">
|
|
<drop-down no-current-selected-key="${defaultCurrencyUomId}">
|
|
<entity-options key-field-name="uomId" description="${abbreviation} - ${description}" entity-name="Uom">
|
|
<entity-constraint name="uomTypeId" operator="equals" value="CURRENCY_MEASURE"/>
|
|
<entity-order-by field-name="abbreviation"/>
|
|
</entity-options>
|
|
</drop-down>
|
|
</field>
|
|
<field name="organizationPartyId"><lookup target-form-name="LookupPartyName"/></field>
|
|
<field name="ownerPartyId"><lookup target-form-name="LookupPartyName"/></field>
|
|
<field name="postToGlAccountId"><lookup target-form-name="LookupGlAccount"/></field>
|
|
<field name="statusId" use-when="finAccount==null" title="${uiLabelMap.CommonStatus}">
|
|
<drop-down allow-empty="false">
|
|
<entity-options entity-name="StatusItem" description="${description}">
|
|
<entity-constraint name="statusTypeId" value="FINACCT_STATUS"/>
|
|
|
|
</entity-options>
|
|
</drop-down>
|
|
</field>
|
|
<field name="statusId" use-when="finAccount!=null" title="${uiLabelMap.CommonStatus}">
|
|
<drop-down allow-empty="false" current-description="${currentStatus.description}">
|
|
<entity-options entity-name="StatusValidChangeToDetail" key-field-name="statusIdTo" description="${transitionName} (${description})">
|
|
<entity-constraint name="statusId" env-name="finAccount.statusId"/>
|
|
<entity-order-by field-name="sequenceId"/>
|
|
</entity-options>
|
|
</drop-down>
|
|
</field>
|
|
<field name="isRefundable">
|
|
<drop-down no-current-selected-key="Y"><option key="Y" description="${uiLabelMap.CommonY}"/><option key="N" description="${uiLabelMap.CommonN}"/></drop-down>
|
|
</field>
|
|
<field name="submitButton" title="${uiLabelMap.CommonUpdate}" widget-style="smallSubmit"><submit button-type="button"/></field>
|
|
<field name="actualBalance"><display/></field>
|
|
<field name="availableBalance"><display/></field>
|
|
</form>
|
|
|
|
<form name="ListFinAccountRoles" type="list" list-name="finAccountRoles" target="updateFinAccountRole" separate-columns="true"
|
|
odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar">
|
|
<actions>
|
|
<entity-condition entity-name="FinAccountRole">
|
|
<condition-expr field-name="finAccountId" from-field="finAccountId"/>
|
|
<order-by field-name="finAccountId"/>
|
|
</entity-condition>
|
|
</actions>
|
|
<field name="finAccountId"><hidden/></field>
|
|
<field name="roleTypeId"><display/></field>
|
|
<field name="partyId"> <display/></field>
|
|
<field name="fromDate"><display/></field>
|
|
<field name="thruDate"><date-time/></field>
|
|
<field name="submitButton" title="${uiLabelMap.CommonUpdate}" widget-style="smallSubmit"><submit button-type="button"/></field>
|
|
<field name="deleteLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext">
|
|
<hyperlink target="deleteFinAccountRole" description="${uiLabelMap.CommonDelete}" also-hidden="false">
|
|
<parameter param-name="finAccountId"/>
|
|
<parameter param-name="partyId"/>
|
|
<parameter param-name="roleTypeId"/>
|
|
<parameter param-name="fromDate"/>
|
|
</hyperlink>
|
|
</field>
|
|
</form>
|
|
<form name="AddFinAccountRole" type="single" target="createFinAccountRole"
|
|
header-row-style="header-row" default-table-style="basic-table">
|
|
<auto-fields-service service-name="createFinAccountRole"/>
|
|
<field name="finAccountId"><hidden/></field>
|
|
<field name="partyId"> <lookup target-form-name="LookupPartyName"/></field>
|
|
<field name="roleTypeId">
|
|
<drop-down allow-empty="true">
|
|
<entity-options description="${description}" entity-name="RoleType">
|
|
<entity-order-by field-name="description"/>
|
|
</entity-options>
|
|
</drop-down>
|
|
</field>
|
|
<field name="fromDate"><date-time/></field>
|
|
<field name="thruDate"><date-time/></field>
|
|
<field name="submitButton" title="${uiLabelMap.CommonAdd}" widget-style="smallSubmit"><submit button-type="button"/></field>
|
|
</form>
|
|
|
|
<form name="ListFinAccountTransactions" type="list" list-name="finAccountTransactions" separate-columns="true"
|
|
odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar">
|
|
<actions>
|
|
<entity-condition entity-name="FinAccountTrans">
|
|
<condition-expr field-name="finAccountId" from-field="finAccountId"/>
|
|
</entity-condition>
|
|
</actions>
|
|
<auto-fields-entity entity-name="FinAccountTrans" default-field-type="display"/>
|
|
<field name="finAccountId"><hidden/></field>
|
|
<field name="finAccountTransId"><display/></field>
|
|
<field name="finAccountTransTypeId"><display-entity entity-name="FinAccountTransType" description="${description}"/></field>
|
|
</form>
|
|
<form name="AddFinAccountTrans" type="single" target="createFinAccountTrans"
|
|
header-row-style="header-row" default-table-style="basic-table">
|
|
<auto-fields-service service-name="createFinAccountTrans"/>
|
|
<field name="finAccountId"><hidden/></field>
|
|
<field name="finAccountTransId"><hidden/></field>
|
|
<field name="finAccountTransTypeId">
|
|
<drop-down no-current-selected-key="ADJUSTMENT">
|
|
<entity-options description="${description}" entity-name="FinAccountTransType">
|
|
<entity-order-by field-name="description"/>
|
|
</entity-options>
|
|
</drop-down>
|
|
</field>
|
|
<field name="partyId"><lookup target-form-name="LookupPartyName"/></field>
|
|
<field name="transactionDate"> <date-time/> </field>
|
|
<field name="entryDate"><date-time/></field>
|
|
<field name="paymentId"><lookup target-form-name="LookupPayment"/></field>
|
|
<field name="orderId"><lookup target-form-name="LookupOrderHeader"/></field>
|
|
<field name="submitButton" title="${uiLabelMap.CommonAdd}" widget-style="smallSubmit"><submit button-type="button"/></field>
|
|
</form>
|
|
|
|
<form name="ListFinAccountAuths" type="list" list-name="finAccountauths" target="expireFinAccountAuth" separate-columns="true"
|
|
odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar">
|
|
<actions>
|
|
<entity-condition entity-name="FinAccountAuth">
|
|
<condition-expr field-name="finAccountId" from-field="finAccountId"/>
|
|
<order-by field-name="finAccountAuthId"/>
|
|
</entity-condition>
|
|
</actions>
|
|
<auto-fields-entity entity-name="FinAccountAuth" default-field-type="display"/>
|
|
<field name="finAccountAuthId"><display/></field>
|
|
<field name="finAccountId"><hidden/></field>
|
|
<field name="expireLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext">
|
|
<hyperlink target="expireFinAccountAuth" description="${uiLabelMap.CommonExpire}" also-hidden="false">
|
|
<parameter param-name="finAccountId"/>
|
|
<parameter param-name="finAccountAuthId"/>
|
|
</hyperlink>
|
|
</field>
|
|
</form>
|
|
<form name="AddFinAccountAuth" type="single" target="createFinAccountAuth"
|
|
header-row-style="header-row" default-table-style="basic-table">
|
|
<auto-fields-service service-name="createFinAccountAuth"/>
|
|
<field name="finAccountId"><hidden/></field>
|
|
<field name="finAccountAuthId"><hidden/></field>
|
|
<field name="amount"><text/></field>
|
|
<field name="authorizationDate"><date-time/></field>
|
|
<field name="fromDate"><date-time/></field>
|
|
<field name="thruDate"><date-time/></field>
|
|
<field name="submitButton" title="${uiLabelMap.CommonAdd}" widget-style="smallSubmit"><submit button-type="button"/></field>
|
|
</form>
|
|
</forms> |