377 lines
19 KiB
XML
377 lines
19 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"
|
|
xmlns="http://ofbiz.apache.org/Widget-Screen" xsi:schemaLocation="http://ofbiz.apache.org/Widget-Screen http://ofbiz.apache.org/dtds/widget-screen.xsd">
|
|
|
|
<screen name="CommonOrderCheckoutDecorator">
|
|
<section>
|
|
<actions>
|
|
<set field="headerItem" value="orderentry"/>
|
|
<script location="component://order/groovyScripts/entry/SetShoppingCart.groovy"/>
|
|
<script location="component://order/groovyScripts/entry/SetCheckOutTabBar.groovy"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<section>
|
|
<widgets>
|
|
<platform-specific>
|
|
<html><html-template location="component://order/template/entry/OrderEntryCheckOutTabBar.ftl"/></html>
|
|
</platform-specific>
|
|
<decorator-section-include name="body"/>
|
|
</widgets>
|
|
</section>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<screen name="quickFinalizeOrder">
|
|
<section>
|
|
<actions>
|
|
<set field="headerItem" value="orderentry"/>
|
|
<set field="titleProperty" value="PageTitleCheckoutOptions"/>
|
|
<script location="component://order/groovyScripts/entry/CheckoutPayment.groovy"/>
|
|
<script location="component://order/groovyScripts/entry/CheckoutOptions.groovy"/>
|
|
<script location="component://order/groovyScripts/entry/StorePaymentOptions.groovy"/>
|
|
<property-to-field resource="order" property="orderPreference.giftEnable" field="giftEnable" default="Y"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<container>
|
|
<label style="h1" text="${uiLabelMap.OrderQuickFinalizeOrder}"/>
|
|
</container>
|
|
<platform-specific><html><html-template multi-block="true" location="component://order/template/entry/CheckoutOptions.ftl"/></html></platform-specific>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<screen name="CustSettings">
|
|
<section>
|
|
<actions>
|
|
<set field="stepLabelId" value="PartyParties"/>
|
|
<script location="component://order/groovyScripts/entry/ShipSettings.groovy"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonOrderCheckoutDecorator">
|
|
<decorator-section name="body">
|
|
<platform-specific>
|
|
<html><html-template location="component://order/template/entry/CustSettings.ftl"/></html>
|
|
</platform-specific>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="ShipSettings">
|
|
<section>
|
|
<actions>
|
|
<set field="stepTitleId" value="OrderOrderEntryShipToSettings"/>
|
|
<set field="stepLabelId" value="FacilityShipping"/>
|
|
<script location="component://order/groovyScripts/entry/ShipSettings.groovy"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonOrderCheckoutDecorator">
|
|
<decorator-section name="body">
|
|
<platform-specific>
|
|
<html><html-template multi-block="true" location="component://order/template/entry/ShipSettings.ftl"/></html>
|
|
</platform-specific>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="EditShipAddress">
|
|
<section>
|
|
<actions>
|
|
<set field="dependentForm" value="checkoutsetupform"/>
|
|
<set field="mainId" value="countryGeoId"/>
|
|
<set field="paramKey" value="countryGeoId"/>
|
|
<set field="dependentId" value="stateProvinceGeoId"/>
|
|
<set field="requestName" value="getAssociatedStateList"/>
|
|
<set field="responseName" value="stateList"/>
|
|
<set field="dependentKeyName" value="geoId"/>
|
|
<set field="descName" value="geoName"/>
|
|
<set field="selectedDependentOption" default-value="_none_"/>
|
|
<set field="stepTitleId" value="OrderOrderEntryShipToSettings"/>
|
|
<set field="stepLabelId" value="FacilityShipping"/>
|
|
<script location="component://order/groovyScripts/entry/ShipSettings.groovy"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonOrderCheckoutDecorator">
|
|
<decorator-section name="body">
|
|
<platform-specific><html><html-template multi-block="true" location="component://common-theme/template/includes/SetDependentDropdownValuesJs.ftl"/></html></platform-specific>
|
|
<platform-specific>
|
|
<html><html-template location="component://order/template/entry/EditShipAddress.ftl"/></html>
|
|
</platform-specific>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="SetItemShipGroups">
|
|
<section>
|
|
<actions>
|
|
<set field="stepTitleId" value="SetItemShipGroups"/>
|
|
<set field="stepLabelId" value="OrderShipGroups"/>
|
|
<script location="component://order/groovyScripts/entry/SetShoppingCart.groovy"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonOrderCheckoutDecorator">
|
|
<decorator-section name="body">
|
|
<platform-specific>
|
|
<html><html-template location="component://order/template/entry/SetItemShipGroups.ftl"/></html>
|
|
</platform-specific>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="OptionSettings">
|
|
<section>
|
|
<actions>
|
|
<set field="stepTitleId" value="OrderOrderOptionSettings"/>
|
|
<set field="stepLabelId" value="CommonOptions"/>
|
|
<script location="component://order/groovyScripts/entry/OptionSettings.groovy"/>
|
|
<property-to-field resource="order" property="orderPreference.giftEnable" field="giftEnable" default="Y"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonOrderCheckoutDecorator">
|
|
<decorator-section name="body">
|
|
<platform-specific>
|
|
<html><html-template location="component://order/template/entry/OptionSettings.ftl"/></html>
|
|
</platform-specific>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="BillSettings">
|
|
<section>
|
|
<actions>
|
|
<set field="dependentForm" value="checkoutsetupform"/>
|
|
<set field="mainId" value="countryGeoId"/>
|
|
<set field="paramKey" value="countryGeoId"/>
|
|
<set field="dependentId" value="stateProvinceGeoId"/>
|
|
<set field="requestName" value="getAssociatedStateList"/>
|
|
<set field="responseName" value="stateList"/>
|
|
<set field="dependentKeyName" value="geoId"/>
|
|
<set field="descName" value="geoName"/>
|
|
<set field="selectedDependentOption" default-value="_none_"/>
|
|
<set field="stepTitleId" value="OrderOrderEntryPaymentSettings"/>
|
|
<set field="stepLabelId" value="AccountingPayment"/>
|
|
<script location="component://order/groovyScripts/entry/BillSettings.groovy"/>
|
|
<script location="component://order/groovyScripts/entry/StorePaymentOptions.groovy"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonOrderCheckoutDecorator">
|
|
<decorator-section name="body">
|
|
<platform-specific><html><html-template multi-block="true" location="component://common-theme/template/includes/SetDependentDropdownValuesJs.ftl"/></html></platform-specific>
|
|
<platform-specific>
|
|
<html><html-template multi-block="true" location="component://order/template/entry/BillSettings.ftl"/></html>
|
|
</platform-specific>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="SetAdditionalParty">
|
|
<section>
|
|
<actions>
|
|
<set field="stepTitleId" value="PartyAdditionalPartyEntry"/>
|
|
<set field="stepLabelId" value="PartyParties"/>
|
|
<script location="component://order/groovyScripts/entry/SetAdditionalParty.groovy"/>
|
|
<script location="component://order/groovyScripts/entry/AdditionalPartyListing.groovy"/>
|
|
|
|
<!-- asmselect parameters, must be prefixed by asm_ for SetMultipleSelectJs.ftl -->
|
|
<!--set field="asm_multipleSelectForm" value="addAdditionalPartyForm"/>
|
|
<set field="asm_multipleSelect" value="additionalRoleTypeId"/>
|
|
<set field="asm_formSize" value="700"/>
|
|
<set field="asm_asmListItemPercentOfForm" value="95"/>
|
|
<set field="asm_sortable" value="false"/>
|
|
<property-map resource="OrderUiLabels" map-name="uiLabelMap" global="true"/>
|
|
<set field="asm_title" value="${uiLabelMap.OrderPartySelectRoleForParty}"/-->
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonOrderCheckoutDecorator">
|
|
<decorator-section name="body">
|
|
<platform-specific><html><html-template multi-block="true" location="component://common-theme/template/includes/SetMultipleSelectJs.ftl"/></html></platform-specific>
|
|
<platform-specific>
|
|
<html><html-template location="component://order/template/entry/SetAdditionalParty.ftl"/></html>
|
|
</platform-specific>
|
|
<platform-specific>
|
|
<html><html-template location="component://order/template/entry/AdditionalPartyListing.ftl"/></html>
|
|
</platform-specific>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="OrderTerms">
|
|
<section>
|
|
<actions>
|
|
<set field="stepTitleId" value="OrderOrderEntryOrderTerms"/>
|
|
<set field="stepLabelId" value="OrderOrderTerms"/>
|
|
<script location="component://order/groovyScripts/entry/OrderTerms.groovy"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonOrderCheckoutDecorator">
|
|
<decorator-section name="body">
|
|
<platform-specific>
|
|
<html><html-template location="component://order/template/entry/OrderTerms.ftl"/></html>
|
|
</platform-specific>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="ConfirmOrder">
|
|
<section>
|
|
<actions>
|
|
<set field="stepTitleId" value="OrderOrderConfirmation"/>
|
|
<set field="stepLabelId" value="OrderReviewOrder"/>
|
|
<property-to-field resource="order" property="orderPreference.giftEnable" field="giftEnable" default="Y"/>
|
|
<script location="component://order/groovyScripts/entry/CheckoutReview.groovy"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonOrderCheckoutDecorator">
|
|
<decorator-section name="body">
|
|
<platform-specific>
|
|
<html><html-template location="component://order/template/entry/order/OrderHeaderInfo.ftl"/></html>
|
|
</platform-specific>
|
|
<platform-specific>
|
|
<html><html-template location="component://order/template/entry/order/OrderPaymentInfo.ftl"/></html>
|
|
</platform-specific>
|
|
<platform-specific>
|
|
<html><html-template location="component://order/template/entry/order/ShipGroupConfirmSummary.ftl"/></html>
|
|
</platform-specific>
|
|
<platform-specific>
|
|
<html><html-template location="component://order/template/entry/order/OrderItems.ftl"/></html>
|
|
</platform-specific>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="checkoutshippingaddress">
|
|
<section>
|
|
<actions>
|
|
<set field="rightbarScreenName" value="rightbar"/>
|
|
<set field="MainColumnStyle" value="rightonly"/>
|
|
|
|
<set field="titleProperty" value="PageTitleCheckoutOptions"/>
|
|
<script location="component://order/groovyScripts/entry/CheckoutShippingAddress.groovy"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<platform-specific><html><html-template location="component://order/template/entry/CheckoutShippingAddress.ftl"/></html></platform-specific>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="checkoutpayment">
|
|
<section>
|
|
<actions>
|
|
<set field="rightbarScreenName" value="rightbar"/>
|
|
<set field="MainColumnStyle" value="rightonly"/>
|
|
|
|
<set field="titleProperty" value="PageTitleCheckoutOptions"/>
|
|
<script location="component://order/groovyScripts/entry/CheckoutPayment.groovy"/>
|
|
<script location="component://order/groovyScripts/entry/StorePaymentOptions.groovy"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<platform-specific><html><html-template multi-block="true" location="component://order/template/entry/CheckoutPayment.ftl"/></html></platform-specific>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="customertaxinfo">
|
|
<!-- meant to be included, generally through a screens.render type of thing -->
|
|
<section>
|
|
<actions>
|
|
<set field="partyId" from-field="userLogin.partyId"/>
|
|
<entity-condition entity-name="PartyTaxAuthInfoAndDetail" list="partyTaxAuthInfoAndDetailList">
|
|
<condition-expr field-name="partyId" from-field="partyId"/>
|
|
<order-by field-name="geoCode"/>
|
|
<order-by field-name="groupName"/>
|
|
</entity-condition>
|
|
<entity-condition entity-name="TaxAuthorityAndDetail" list="taxAuthorityAndDetailList">
|
|
<order-by field-name="geoCode"/>
|
|
<order-by field-name="groupName"/>
|
|
</entity-condition>
|
|
</actions>
|
|
<widgets>
|
|
<platform-specific><html><html-template location="component://order/template/entry/CustomerTaxInfo.ftl"/></html></platform-specific>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="LookupBulkAddSupplierProductsInApprovedOrder">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleLookupBulkAddSupplierProduct"/>
|
|
<script location="component://order/groovyScripts/entry/cart/LookupBulkAddSupplierProducts.groovy"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<section>
|
|
<widgets>
|
|
<container style="screenlet">
|
|
<platform-specific>
|
|
<html><html-template location="component://order/template/entry/OrderEntryCatalogTabBar.ftl"/></html>
|
|
</platform-specific>
|
|
<container style="screenlet-body">
|
|
<include-form location="component://order/widget/ordermgr/OrderForms.xml" name="LookupBulkAddSupplierProductsInApprovedOrder"></include-form>
|
|
</container>
|
|
</container>
|
|
</widgets>
|
|
</section>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="splitship">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleSplitItemsForShipping"/>
|
|
<script location="component://order/groovyScripts/entry/SplitShip.groovy"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<platform-specific><html><html-template multi-block="true" location="component://order/template/entry/SplitShip.ftl"/></html></platform-specific>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
</screens>
|