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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

akashjain
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-plugins.git


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

commit 21e4a7299dd8ad4cd7dc20c370a843950747f032
Author: akash <[hidden email]>
AuthorDate: Sat Feb 22 16:48:26 2020 +0530

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

diff --git a/assetmaint/widget/FacilityScreens.xml b/assetmaint/widget/FacilityScreens.xml
index 3efc269..7f7844b 100644
--- a/assetmaint/widget/FacilityScreens.xml
+++ b/assetmaint/widget/FacilityScreens.xml
@@ -60,8 +60,8 @@
                             <!--<link target="ViewFacilityInventoryByProductSimple" text="${uiLabelMap.CommonPrint}" style="buttontext">
                                 <parameter param-name="facilityId" from-field="facilityId"/>
                             </link>-->
-                            <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}2" style="buttontext" target-window="_blank"/>
+                            <link target="ViewFacilityInventoryByProductExport?${searchParameterString}" text="${uiLabelMap.CommonExport}2" style="buttontext" target-window="_blank"/>
                         </container>
 
                         <include-form name="FindFacilityInventoryByProduct" location="component://product/widget/facility/FacilityForms.xml"/>
diff --git a/birt/widget/facility/FacilityScreens.xml b/birt/widget/facility/FacilityScreens.xml
index 7c41647..5ef1968 100644
--- a/birt/widget/facility/FacilityScreens.xml
+++ b/birt/widget/facility/FacilityScreens.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"/>
                             <link target="ViewFacilityInventoryHistoryReport?${searchParameterString}" text="${uiLabelMap.BirtFacilityReportInventoryHistoryReport}" style="buttontext"/>
                         </container>
                         <screenlet title="${uiLabelMap.PageTitleFindFacilityInventoryItemsByProduct}">
@@ -86,8 +86,8 @@ under the License.
                             <label style="h1" text="${uiLabelMap.ProductInventoryByProduct} ${uiLabelMap.CommonFor} ${facility.facilityName}"/>
                         </container>
                         <container>
-                            <link target="ViewFacilityInventoryByProductReport?facilityId=${parameters.facilityId}" text="${uiLabelMap.CommonPrint}" style="buttontext"/>
-                            <link target="ViewFacilityInventoryByProductExport?facilityId=${parameters.facilityId}" text="${uiLabelMap.CommonExport}" style="buttontext"/>
+                            <link target="ViewFacilityInventoryByProductReport?facilityId=${parameters.facilityId}" text="${uiLabelMap.CommonPrint}" style="buttontext" target-window="_blank"/>
+                            <link target="ViewFacilityInventoryByProductExport?facilityId=${parameters.facilityId}" text="${uiLabelMap.CommonExport}" style="buttontext" target-window="_blank"/>
                             <link target="ViewFacilityInventoryHistoryReport?facilityId=${parameters.facilityId}" text="${uiLabelMap.BirtFacilityReportInventoryHistoryReport}" style="buttontext"/>
                         </container>
                         <screenlet title="${uiLabelMap.BirtFacilityReportInventoryHistoryReport}">