Files
ofbiz-framework/applications/accounting/widget/PaymentGroupScreens.xml
T
Ashish Vijaywargiya 5d3c45637d Applied patch from jira issue OFBIZ-2699 - Create Payment Batches for Ar Payment
Following things are covered in this patch:
--Generated DepositSlip for payment group(Batch)
--The Deposit link will only be visible for PaymentGroups of type "BATCH_PAYMENT".

Thanks Awdesh & Rishi for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@792595 13f79535-47bb-0310-9956-ffa450edef68
2009-07-09 16:14:24 +00:00

147 lines
7.6 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="FindPaymentGroup">
<section>
<actions>
<set field="titleProperty" value="AccountingFindPaymentGroup"/>
<set field="headerItem" value="PaymentGroup"/>
<set field="tabButtonItem" value="Find"/>
</actions>
<widgets>
<decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<section>
<widgets>
<decorator-screen name="FindScreenDecorator" location="component://common/widget/CommonScreens.xml">
<decorator-section name="menu-bar">
<container style="button-bar">
<link target="EditPaymentGroup" text="${uiLabelMap.AccountingCreateNewPaymentGroup}" style="buttontext"/>
</container>
</decorator-section>
<decorator-section name="search-options">
<include-form name="FindPaymentGroup" location="component://accounting/widget/PaymentGroupForms.xml"/>
</decorator-section>
<decorator-section name="search-results">
<include-form name="ListPaymentGroup" location="component://accounting/widget/PaymentGroupForms.xml"/>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="EditPaymentGroup">
<section>
<actions>
<set field="titleProperty" value="AccountingEditPaymentGroup"/>
<set field="tabButtonItem" value="EditPaymentGroup"/>
<set field="paymentGroupId" from-field="parameters.paymentGroupId"/>
<entity-one entity-name="PaymentGroup" value-field="paymentGroup"/>
</actions>
<widgets>
<decorator-screen name="CommonPaymentGroupDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<include-form name="EditPaymentGroup" location="component://accounting/widget/PaymentGroupForms.xml"/>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="EditPaymentGroupMember">
<section>
<actions>
<set field="titleProperty" value="AccountingEditPaymentGroupMember"/>
<set field="tabButtonItem" value="EditPaymentGroupMember"/>
<set field="paymentGroupId" from-field="parameters.paymentGroupId"/>
<entity-and entity-name="PaymentGroupMember" list="paymentGroupMembers">
<field-map field-name="paymentGroupId"/>
</entity-and>
</actions>
<widgets>
<decorator-screen name="CommonPaymentGroupDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<include-form name="ListPaymentGroupMember" location="component://accounting/widget/PaymentGroupForms.xml"/>
<include-form name="AddPaymentGroupMember" location="component://accounting/widget/PaymentGroupForms.xml"/>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="PaymentGroupOverview">
<section>
<actions>
<set field="titleProperty" value="AccountingPaymentGroupOverview"/>
<set field="tabButtonItem" value="PaymentGroupOverview"/>
<set field="paymentGroupId" from-field="parameters.paymentGroupId"/>
<set field="display" type="Boolean" value="true"/>
<entity-one entity-name="PaymentGroup" value-field="paymentGroup"/>
<entity-and entity-name="PaymentGroupMember" list="paymentGroupMembers">
<field-map field-name="paymentGroupId"/>
</entity-and>
</actions>
<widgets>
<decorator-screen name="CommonPaymentGroupDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<section>
<widgets>
<screenlet title="${uiLabelMap.AccountingPaymentGroupOverview}">
<include-form name="EditPaymentGroup" location="component://accounting/widget/PaymentGroupForms.xml"/>
</screenlet>
<screenlet title="${uiLabelMap.AccountingPayment} ${uiLabelMap.AccountingPaymentGroupMember}">
<include-form name="PaymentGroupMembers" location="component://accounting/widget/PaymentGroupForms.xml"/>
</screenlet>
</widgets>
</section>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="DepositSlipPdf">
<section>
<actions>
<property-map resource="CommonUiLabels" map-name="uiLabelMap" global="true"/>
<property-map resource="AccountingUiLabels" map-name="uiLabelMap" global="true"/>
<set field="paymentGroupId" from-field="parameters.paymentGroupId"/>
<entity-one entity-name="PaymentGroup" value-field="paymentGroup"/>
<entity-and entity-name="PaymentGroupMember" list="paymentGroupMembers" filter-by-date="true">
<field-map field-name="paymentGroupId"/>
</entity-and>
</actions>
<widgets>
<decorator-screen name="SimpleDecorator" location="component://common/widget/CommonScreens.xml">
<decorator-section name="body">
<platform-specific>
<xsl-fo><html-template location="component://accounting/webapp/accounting/reports/DepositSlip.fo.ftl"/></xsl-fo>
</platform-specific>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
</screens>