| <?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="CheckInits"> |
| <section> |
| <actions> |
| <set field="titleProperty" value="PageTitleOrderInits"/> |
| <set field="headerItem" value="orderentry"/> |
| <set field="helpAnchor" value="_order_entry"/> |
| <script location="component://order/src/main/groovy/org/apache/ofbiz/order/entry/CheckInits.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/CheckInits.ftl"/></html></platform-specific> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| <screen name="OrderAgreements"> |
| <section> |
| <actions> |
| <set field="titleProperty" value="PageTitleOrderAgreements"/> |
| <set field="headerItem" value="orderentry"/> |
| <set field="helpAnchor" value="_order_currency_agreements_and_ship_dates"/> |
| <script location="component://order/src/main/groovy/org/apache/ofbiz/order/entry/OrderAgreements.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/OrderAgreements.ftl"/></html></platform-specific> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| |
| <screen name="RequirementsForSupplier"> |
| <section> |
| <actions> |
| <set field="title" from-field="uiLabelMap.OrderFindRequirementsForSupplier"/> |
| <set field="entityName" value="Requirement"/> |
| <set field="viewIndex" from-field="parameters.VIEW_INDEX" type="Integer"/> |
| <set field="viewSizeDefaultValue" value="${groovy: modelTheme.getDefaultViewSize()}" type="Integer"/> |
| <set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer" default-value="${viewSizeDefaultValue}"/> |
| <script location="component://order/src/main/groovy/org/apache/ofbiz/order/entry/SetShoppingCart.groovy"/> |
| </actions> |
| <widgets> |
| <decorator-screen name="CommonOrderCatalogDecorator" location="component://order/widget/ordermgr/OrderEntryCommonScreens.xml"> |
| <decorator-section name="body"> |
| <container> |
| <label style="h1" text="${uiLabelMap.OrderRequirements}"/> |
| </container> |
| <container> |
| <label style="h2" text="${uiLabelMap.OrderFindRequirements}"/> |
| </container> |
| <include-form name="FindRequirements" location="component://order/widget/ordermgr/OrderEntryForms.xml"/> |
| <section> |
| <condition> |
| <not><if-empty field="parameters.showList"/></not> |
| </condition> |
| <widgets> |
| <container> |
| <label style="h2" text="${uiLabelMap.OrderRequirementsList}"/> |
| </container> |
| <include-form name="RequirementsList" location="component://order/widget/ordermgr/OrderEntryForms.xml"/> |
| </widgets> |
| </section> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| |
| <!-- list all assets in a tabular format --> |
| <screen name="FindQuoteForCart"> |
| <section> |
| <actions> |
| <set field="title" from-field="uiLabelMap.OrderFindQuotes"/> |
| <set field="viewIndex" from-field="parameters.VIEW_INDEX" type="Integer"/> |
| <set field="viewSizeDefaultValue" value="${groovy: modelTheme.getDefaultViewSize()}" type="Integer"/> |
| <set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer" default-value="${viewSizeDefaultValue}"/> |
| |
| <set field="requestParameters.statusId" to-scope="screen" default-value="QUO_APPROVED"/> |
| <script location="component://order/src/main/groovy/org/apache/ofbiz/order/entry/SetShoppingCart.groovy"/> |
| <set field="requestParameters.currencyUomId" to-scope="screen" from-field="currencyUomId"/> |
| </actions> |
| <widgets> |
| <decorator-screen name="CommonOrderCatalogDecorator" location="component://order/widget/ordermgr/OrderEntryCommonScreens.xml"> |
| <decorator-section name="body"> |
| <container> |
| <label style="h1">${uiLabelMap.OrderOrderQuotes}</label> |
| </container> |
| <include-form name="FindQuotes" location="component://order/widget/ordermgr/OrderEntryForms.xml"/> |
| <include-form name="ListQuotes" location="component://order/widget/ordermgr/OrderEntryForms.xml"/> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| |
| <!-- display all shopping lists for a party --> |
| <screen name="ViewShoppingLists"> |
| <section> |
| <actions> |
| <set field="title" from-field="uiLabelMap.PageTitleShoppingList"/> |
| <set field="partyId" from-field="requestParameters.partyId"/> |
| <entity-and entity-name="ShoppingList" list="customershoppinglists"> |
| <field-map field-name="partyId" from-field="partyId"/> |
| </entity-and> |
| </actions> |
| <widgets> |
| <decorator-screen name="CommonOrderEntryDecorator" location="component://order/widget/ordermgr/OrderEntryCommonScreens.xml"> |
| <decorator-section name="body"> |
| <include-form name="ViewShoppingLists" location="component://order/widget/ordermgr/OrderEntryForms.xml"/> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| |
| <!-- display shopping list items in a shopping list --> |
| <screen name="AddFromShoppingList"> |
| <section> |
| <actions> |
| <set field="title" from-field="uiLabelMap.PageTitleShoppingListItem"/> |
| <set field="shoppingListId" from-field="requestParameters.shoppingListId"/> |
| <entity-and entity-name="ShoppingListItem" list="shoppinglistitems"> |
| <field-map field-name="shoppingListId" from-field="shoppingListId"/> |
| </entity-and> |
| </actions> |
| <widgets> |
| <decorator-screen name="CommonOrderEntryDecorator" location="component://order/widget/ordermgr/OrderEntryCommonScreens.xml"> |
| <decorator-section name="body"> |
| <include-form name="AddFromShoppingList" location="component://order/widget/ordermgr/OrderEntryForms.xml"/> |
| <include-form name="AddFromShoppingListAll" location="component://order/widget/ordermgr/OrderEntryForms.xml"/> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| |
| </screens> |