blob: 92db7920ae82a1d334f48099fef58e42a2e586f2 [file] [log] [blame]
<?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="FindShipment">
<section>
<actions>
<set field="titleProperty" value="ProductFindShipment"/>
<set field="headerItem" value="shipment"/>
<script location="component://product/webapp/facility/WEB-INF/actions/shipment/FindShipment.groovy"/>
</actions>
<widgets>
<decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<platform-specific>
<html><html-template location="component://product/webapp/facility/shipment/FindShipment.ftl"/></html>
</platform-specific>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="CommonShipmentDecorator">
<section>
<actions>
<set field="shipmentId" from-field="parameters.shipmentId"/>
<entity-one entity-name="Shipment" value-field="shipment"/>
</actions>
<widgets>
<decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<section>
<condition>
<if-has-permission permission="FACILITY" action="_VIEW"/>
</condition>
<widgets>
<platform-specific>
<html><html-template location="component://product/webapp/facility/shipment/ShipmentTabBar.ftl"/></html>
</platform-specific>
<decorator-section-include name="body"/>
</widgets>
<fail-widgets>
<label style="h3">${uiLabelMap.ProductFacilityViewPermissionError}</label>
</fail-widgets>
</section>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="ViewShipment">
<section>
<actions>
<set field="titleProperty" value="PageTitleViewShipment"/>
<set field="headerItem" value="shipment"/>
<set field="tabButtonItem" value="ViewShipment"/>
<script location="component://product/webapp/facility/WEB-INF/actions/shipment/ViewShipment.groovy"/>
<script location="component://product/webapp/facility/WEB-INF/actions/shipment/EditShipmentItems.groovy"/>
<script location="component://product/webapp/facility/WEB-INF/actions/shipment/EditShipmentPackages.groovy"/>
<script location="component://product/webapp/facility/WEB-INF/actions/shipment/EditShipmentRouteSegments.groovy"/>
</actions>
<widgets>
<section>
<condition>
<not>
<if-empty field="shipment"/>
</not>
</condition>
<widgets>
<decorator-screen name="CommonShipmentDecorator">
<decorator-section name="body">
<container>
<link style="buttontext" text="${uiLabelMap.ProductGenerateShipmentManifestReport}" target="ShipmentManifest.pdf">
<parameter param-name="shipmentId" from-field="shipment.shipmentId"/>
</link>
</container>
<platform-specific>
<html><html-template location="component://product/webapp/facility/shipment/ViewShipmentInfo.ftl"/></html>
</platform-specific>
<platform-specific>
<html><html-template location="component://product/webapp/facility/shipment/ViewShipmentItemInfo.ftl"/></html>
</platform-specific>
<platform-specific>
<html><html-template location="component://product/webapp/facility/shipment/ViewShipmentPackageInfo.ftl"/></html>
</platform-specific>
<platform-specific>
<html><html-template location="component://product/webapp/facility/shipment/ViewShipmentRouteInfo.ftl"/></html>
</platform-specific>
</decorator-section>
</decorator-screen>
</widgets>
<fail-widgets>
<include-screen name="FindShipment"/>
</fail-widgets>
</section>
</widgets>
</section>
</screen>
<screen name="EditShipment">
<section>
<actions>
<set field="titleProperty" value="ProductEditShipment"/>
<set field="headerItem" value="shipment"/>
<set field="tabButtonItem" value="EditShipment"/>
<set field="shipmentTypeId" from-field="parameters.shipmentTypeId"/>
<script location="component://product/webapp/facility/WEB-INF/actions/shipment/EditShipment.groovy"/>
</actions>
<widgets>
<decorator-screen name="CommonShipmentDecorator">
<decorator-section name="body">
<platform-specific>
<html><html-template location="component://product/webapp/facility/shipment/EditShipment.ftl"/></html>
</platform-specific>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="EditShipmentItems">
<section>
<actions>
<set field="titleProperty" value="PageTitleEditShipmentItems"/>
<set field="headerItem" value="shipment"/>
<set field="tabButtonItem" value="EditShipmentItems"/>
<script location="component://product/webapp/facility/WEB-INF/actions/shipment/EditShipmentItems.groovy"/>
</actions>
<widgets>
<decorator-screen name="CommonShipmentDecorator">
<decorator-section name="body">
<platform-specific>
<html><html-template location="component://product/webapp/facility/shipment/EditShipmentItems.ftl"/></html>
</platform-specific>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="EditShipmentPlan">
<section>
<actions>
<set field="titleProperty" value="PageTitleEditShipmentPlan"/>
<set field="headerItem" value="shipment"/>
<set field="tabButtonItem" value="EditShipmentPlan"/>
<script location="component://product/webapp/facility/WEB-INF/actions/shipment/EditShipmentPlan.groovy"/>
</actions>
<widgets>
<decorator-screen name="CommonShipmentDecorator">
<decorator-section name="body">
<platform-specific>
<html><html-template location="component://product/webapp/facility/shipment/EditShipmentPlan.ftl"/></html>
</platform-specific>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="EditShipmentPackages">
<section>
<actions>
<set field="titleProperty" value="PageTitleEditShipmentPackages"/>
<set field="headerItem" value="shipment"/>
<set field="tabButtonItem" value="EditShipmentPackages"/>
<script location="component://product/webapp/facility/WEB-INF/actions/shipment/EditShipmentPackages.groovy"/>
</actions>
<widgets>
<decorator-screen name="CommonShipmentDecorator">
<decorator-section name="body">
<platform-specific>
<html><html-template location="component://product/webapp/facility/shipment/EditShipmentPackages.ftl"/></html>
</platform-specific>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="EditShipmentRouteSegments">
<section>
<actions>
<set field="titleProperty" value="PageTitleEditShipmentRouteSegments"/>
<set field="headerItem" value="shipment"/>
<set field="tabButtonItem" value="EditShipmentRouteSegments"/>
<script location="component://product/webapp/facility/WEB-INF/actions/shipment/EditShipmentRouteSegments.groovy"/>
</actions>
<widgets>
<decorator-screen name="CommonShipmentDecorator">
<decorator-section name="body">
<platform-specific>
<html><html-template location="component://product/webapp/facility/shipment/EditShipmentRouteSegments.ftl"/></html>
</platform-specific>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="AddItemsFromOrder">
<section>
<actions>
<set field="titleProperty" value="PageTitleAddItemsFromOrder"/>
<set field="headerItem" value="shipment"/>
<set field="tabButtonItem" value="AddItemsFromOrder"/>
<script location="component://product/webapp/facility/WEB-INF/actions/shipment/AddItemsFromOrder.groovy"/>
</actions>
<widgets>
<decorator-screen name="CommonShipmentDecorator">
<decorator-section name="body">
<platform-specific>
<html><html-template location="component://product/webapp/facility/shipment/AddItemsFromOrder.ftl"/></html>
</platform-specific>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="QuickShipOrder">
<section>
<actions>
<set field="titleProperty" value="ProductQuickShipOrder"/>
<set field="headerItem" value="shipment"/>
<script location="component://product/webapp/facility/WEB-INF/actions/shipment/QuickShipOrder.groovy"/>
<script location="component://product/webapp/facility/WEB-INF/actions/shipment/EditShipmentItems.groovy"/>
<script location="component://product/webapp/facility/WEB-INF/actions/shipment/EditShipmentPackages.groovy"/>
<script location="component://product/webapp/facility/WEB-INF/actions/shipment/EditShipmentRouteSegments.groovy"/>
</actions>
<widgets>
<decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<platform-specific>
<html><html-template location="component://product/webapp/facility/shipment/QuickShipOrder.ftl"/></html>
</platform-specific>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="VerifyPick">
<section>
<actions>
<set field="titleProperty" value="ProductVerifyPick"/>
<set field="headerItem" value="shipment"/>
<script location="component://product/webapp/facility/WEB-INF/actions/shipment/VerifyPick.groovy"/>
</actions>
<widgets>
<decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<platform-specific>
<html><html-template location="component://product/webapp/facility/shipment/VerifyPick.ftl"/></html>
</platform-specific>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="PackOrder">
<section>
<actions>
<set field="titleProperty" value="ProductPackOrder"/>
<set field="headerItem" value="shipment"/>
<script location="component://product/webapp/facility/WEB-INF/actions/shipment/PackOrder.groovy"/>
</actions>
<widgets>
<decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<platform-specific>
<html><html-template location="component://product/webapp/facility/shipment/PackOrder.ftl"/></html>
</platform-specific>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="WeightPackageOnly">
<section>
<actions>
<set field="titleProperty" value="ProductWeightPackageOnly"/>
<set field="headerItem" value="shipment"/>
<script location="component://product/webapp/facility/WEB-INF/actions/shipment/WeightPackage.groovy"/>
</actions>
<widgets>
<decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<platform-specific>
<html><html-template location="component://product/webapp/facility/shipment/WeightPackage.ftl"/></html>
</platform-specific>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="PackingSlip.fo">
<section>
<actions>
<!-- base/top/specific map first, then more common map added for shared labels -->
<property-map resource="OrderUiLabels" map-name="uiLabelMap" global="true"/>
<property-map resource="ProductUiLabels" map-name="uiLabelMap" global="true"/>
<property-map resource="CommonUiLabels" map-name="uiLabelMap" global="true"/>
<set field="shipmentId" from-field="parameters.shipmentId"/>
<script location="component://product/webapp/facility/WEB-INF/actions/shipment/ViewShipment.groovy"/>
<script location="component://product/webapp/facility/WEB-INF/actions/shipment/PackingSlip.groovy"/>
</actions>
<widgets>
<decorator-screen name="FoReportDecorator" location="component://common/widget/CommonScreens.xml">
<!-- at the top left of every page we put the logo and company information -->
<decorator-section name="topLeft">
<section>
<widgets>
<include-screen name="CompanyLogo" location="component://order/widget/ordermgr/OrderPrintScreens.xml"/>
</widgets>
</section>
</decorator-section>
<!-- at the top right of every page we put the order information -->
<decorator-section name="topRight">
<section>
<widgets>
<platform-specific>
<xsl-fo><html-template location="component://product/webapp/facility/shipment/PackingSlipShipmentBarCode.fo.ftl"/></xsl-fo>
</platform-specific>
</widgets>
</section>
</decorator-section>
<decorator-section name="body">
<section>
<widgets>
<platform-specific>
<xsl-fo><html-template location="component://product/webapp/facility/shipment/PackingSlip.fo.ftl"/></xsl-fo>
</platform-specific>
</widgets>
</section>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="ShipmentBarCode.fo">
<section>
<actions>
<!-- base/top/specific map first, then more common map added for shared labels -->
<property-map resource="ProductUiLabels" map-name="uiLabelMap" global="true"/>
<property-map resource="CommonUiLabels" map-name="uiLabelMap" global="true"/>
<set field="shipmentId" from-field="parameters.shipmentId"/>
</actions>
<widgets>
<platform-specific>
<xsl-fo><html-template location="component://product/webapp/facility/shipment/ShipmentBarCode.fo.ftl"/></xsl-fo>
</platform-specific>
</widgets>
</section>
</screen>
<screen name="ShipmentManifest.fo">
<section>
<actions>
<property-map resource="ProductUiLabels" map-name="uiLabelMap" global="true"/>
<property-map resource="CommonUiLabels" map-name="uiLabelMap" global="true"/>
<set field="shipmentId" from-field="parameters.shipmentId"/>
<script location="component://product/webapp/facility/WEB-INF/actions/shipment/ViewShipment.groovy"/>
<script location="component://product/webapp/facility/WEB-INF/actions/shipment/ShipmentManifest.groovy"/>
</actions>
<widgets>
<decorator-screen name="FoReportDecorator" location="component://common/widget/CommonScreens.xml">
<!-- at the top left of every page we put the logo and company information -->
<decorator-section name="topLeft">
<section>
<widgets>
<include-screen name="CompanyLogo" location="component://order/widget/ordermgr/OrderPrintScreens.xml"/>
</widgets>
</section>
</decorator-section>
<!-- at the top right of every page we put the order information -->
<decorator-section name="topRight">
<section>
<widgets>
<platform-specific>
<xsl-fo><html-template location="component://product/webapp/facility/shipment/PackingSlipShipmentBarCode.fo.ftl"/></xsl-fo>
</platform-specific>
</widgets>
</section>
</decorator-section>
<decorator-section name="body">
<section>
<widgets>
<platform-specific>
<xsl-fo><html-template location="component://product/webapp/facility/shipment/ShipmentManifest.fo.ftl"/></xsl-fo>
</platform-specific>
</widgets>
</section>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="ReceiveInventoryAgainstPurchaseOrder">
<section>
<actions>
<property-map resource="ProductEntityLabels" map-name="uiLabelMap" global="true"/>
<set field="titleProperty" value="ProductReceiveInventoryAgainstPurchaseOrder"/>
<set field="headerItem" value="shipment"/>
<set field="tabButtonItem" value="ProductReceiveInventoryAgainstPO"/>
<property-map resource="OrderUiLabels" map-name="uiLabelMap" global="true"/>
<script location="component://product/webapp/facility/WEB-INF/actions/shipment/ReceiveInventoryAgainstPurchaseOrder.groovy"/>
</actions>
<widgets>
<decorator-screen name="CommonShipmentDecorator">
<decorator-section name="body">
<platform-specific>
<html><html-template location="component://product/webapp/facility/shipment/ReceiveInventoryAgainstPurchaseOrder.ftl"/></html>
</platform-specific>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="AddItemsFromInventory">
<section>
<actions>
<property-map resource="OrderUiLabels" map-name="uiLabelMap" global="true"/>
<property-map resource="ManufacturingUiLabels" map-name="uiLabelMap" global="true"/>
<set field="titleProperty" value="ProductAddItemsFromInventory"/>
<set field="headerItem" value="shipment"/>
<set field="tabButtonItem" value="AddItemsFromInventory"/>
<script location="component://product/webapp/facility/WEB-INF/actions/shipment/AddItemsFromInventory.groovy"/>
</actions>
<widgets>
<decorator-screen name="CommonShipmentDecorator">
<decorator-section name="body">
<platform-specific>
<html><html-template location="component://product/webapp/facility/shipment/AddItemsFromInventory.ftl"/></html>
</platform-specific>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
</screens>