You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ak...@apache.org on 2020/02/22 11:15:42 UTC

[ofbiz-framework] branch trunk updated: Improvement: Print and Export of ViewFacilityInventoryByProduct report into new window (OFBIZ-10526)

This is an automated email from the ASF dual-hosted git repository.

akashjain pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git


The following commit(s) were added to refs/heads/trunk by this push:
     new ca67764  Improvement: Print and Export of ViewFacilityInventoryByProduct report into new window (OFBIZ-10526)
ca67764 is described below

commit ca677644ba51b9f33d6cc80fb6383da473a1f018
Author: akash <ak...@hotwaxsystems.com>
AuthorDate: Sat Feb 22 16:45:50 2020 +0530

    Improvement: Print and Export of ViewFacilityInventoryByProduct report into new window
    (OFBIZ-10526)
    
    Thanks, Sourabh Punyani and Pierre Smits for your contribution.
---
 applications/product/widget/facility/FacilityMenus.xml | 4 ++--
 applications/product/widget/facility/ReportScreens.xml | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/applications/product/widget/facility/FacilityMenus.xml b/applications/product/widget/facility/FacilityMenus.xml
index 45941f1..51ad326 100644
--- a/applications/product/widget/facility/FacilityMenus.xml
+++ b/applications/product/widget/facility/FacilityMenus.xml
@@ -246,10 +246,10 @@ under the License.
             </link>
         </menu-item> -->
         <menu-item name="ViewFacilityInventoryByProductReportTab" title="${uiLabelMap.CommonPrint}">
-            <link target="ViewFacilityInventoryByProductReport?${searchParameterString}"/>
+            <link target="ViewFacilityInventoryByProductReport?${searchParameterString}" target-window="_blank"/>
         </menu-item>
         <menu-item name="ViewFacilityInventoryByProductExportTab" title="${uiLabelMap.CommonExport}">
-            <link target="ViewFacilityInventoryByProductExport?${searchParameterString}"/>
+            <link target="ViewFacilityInventoryByProductExport?${searchParameterString}" target-window="_blank"/>
         </menu-item>
         <menu-item name="InventoryItemTotalsTab" title="${uiLabelMap.ProductInventoryItemTotals}">
             <link target="InventoryItemTotals">
diff --git a/applications/product/widget/facility/ReportScreens.xml b/applications/product/widget/facility/ReportScreens.xml
index 74b04f5..f3a3fec 100644
--- a/applications/product/widget/facility/ReportScreens.xml
+++ b/applications/product/widget/facility/ReportScreens.xml
@@ -55,8 +55,8 @@ under the License.
                             <label style="h1" text="${uiLabelMap.ProductInventoryByProduct} ${uiLabelMap.CommonFor} ${facility.facilityName}"/>
                         </container>
                         <container>
-                            <link target="ViewFacilityInventoryByProductReport?${searchParameterString}" text="${uiLabelMap.CommonPrint}" style="buttontext"/>
-                            <link target="ViewFacilityInventoryByProductExport?${searchParameterString}" text="${uiLabelMap.CommonExport}" style="buttontext"/>
+                            <link target="ViewFacilityInventoryByProductReport?${searchParameterString}" text="${uiLabelMap.CommonPrint}" style="buttontext" target-window="_blank"/>
+                            <link target="ViewFacilityInventoryByProductExport?${searchParameterString}" text="${uiLabelMap.CommonExport}" style="buttontext" target-window="_blank"/>
                         </container>
                         <screenlet title="${uiLabelMap.PageTitleFindFacilityInventoryItemsByProduct}">
                             <include-form name="FindFacilityInventoryByProduct" location="component://product/widget/facility/FacilityForms.xml"/>