You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ap...@apache.org on 2009/10/22 05:00:12 UTC

svn commit: r828285 - /ofbiz/trunk/applications/accounting/widget/CommonScreens.xml

Author: apatel
Date: Thu Oct 22 03:00:12 2009
New Revision: 828285

URL: http://svn.apache.org/viewvc?rev=828285&view=rev
Log:
Removing CommonTaxAuthorityDecorator from CommonScreens.xml because now it exists in TaxAuthorityScreens.xml file.Missed this file in my commit r826954. 

Modified:
    ofbiz/trunk/applications/accounting/widget/CommonScreens.xml

Modified: ofbiz/trunk/applications/accounting/widget/CommonScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/widget/CommonScreens.xml?rev=828285&r1=828284&r2=828285&view=diff
==============================================================================
--- ofbiz/trunk/applications/accounting/widget/CommonScreens.xml (original)
+++ ofbiz/trunk/applications/accounting/widget/CommonScreens.xml Thu Oct 22 03:00:12 2009
@@ -105,53 +105,6 @@
         </section>
     </screen>
 
-    <screen name="CommonTaxAuthorityDecorator">
-        <section>
-            <actions>
-                <set field="headerItem" value="TaxAuthorities"/>
-
-                <set field="taxAuthPartyId" from-field="parameters.taxAuthPartyId"/>
-                <set field="taxAuthGeoId" from-field="parameters.taxAuthGeoId"/>
-                <entity-one entity-name="TaxAuthority" value-field="taxAuthority"/>
-                <entity-one entity-name="PartyNameView" value-field="taxAuthPartyName" auto-field-map="false">
-                    <field-map field-name="partyId" from-field="taxAuthority.taxAuthPartyId"/>
-                </entity-one>
-                <get-related-one value-field="taxAuthority" relation-name="TaxAuthGeo" to-value-field="taxAuthGeo" use-cache="true"/>
-            </actions>
-            <widgets>
-                <decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
-                    <decorator-section name="body">
-                        <section>
-                            <!-- do check for ACCOUNTING, _VIEW permission -->
-                            <condition>
-                                <if-has-permission permission="ACCOUNTING" action="_VIEW"/>
-                            </condition>
-                            <widgets>
-                                <section>
-                                    <condition>
-                                        <and>
-                                            <not><if-empty field="taxAuthPartyId"/></not>
-                                            <not><if-empty field="taxAuthGeoId"/></not>
-                                        </and>
-                                    </condition>
-                                    <widgets>
-                                        <include-menu name="TaxAuthorityTabBar" location="component://accounting/widget/TaxAuthorityMenus.xml"/>
-                                        <container><link target="EditTaxAuthority" text="${uiLabelMap.AccountingNewTaxAuthority}" style="buttontext"/></container>
-                                        <label style="h1" text="${uiLabelMap[labelTitleProperty]} ${uiLabelMap.CommonFor}: ${uiLabelMap.AccountingTaxAuthorityParty} &quot;${taxAuthPartyName.firstName} ${taxAuthPartyName.lastName} ${taxAuthPartyName.groupName}&quot; [${uiLabelMap.CommonId}:${taxAuthPartyId}], ${uiLabelMap.CommonGeo} &quot;${taxAuthGeo.geoName}&quot; [${uiLabelMap.CommonId}:${taxAuthGeoId}] ${${extraFunctionName}}"/>
-                                    </widgets>
-                                </section>
-                            </widgets>
-                            <fail-widgets>
-                                <label style="h3">${uiLabelMap.AccountingViewPermissionError}</label>
-                            </fail-widgets>
-                        </section>
-                        <decorator-section-include name="body"/>
-                    </decorator-section>
-                </decorator-screen>
-            </widgets>
-        </section>
-    </screen>
-
     <screen name="CommonPartyDecorator">
         <section>
             <actions>