You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Arun Patidar (Jira)" <ji...@apache.org> on 2026/09/16 07:33:00 UTC

[jira] [Updated] (OFBIZ-13598) Open combined PDF in browser from Find Orders View (PDF) action

     [ https://issues.apache.org/jira/browse/OFBIZ-13598?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Arun Patidar updated OFBIZ-13598:
---------------------------------
    Summary: Open combined PDF in browser from Find Orders View (PDF) action  (was: Open combined PDF in browser from Find Orders Print (PDF) action when no printer is selected)

> Open combined PDF in browser from Find Orders View (PDF) action
> ---------------------------------------------------------------
>
>                 Key: OFBIZ-13598
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-13598
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: order
>    Affects Versions: Upcoming Branch
>            Reporter: Arun Patidar
>            Assignee: Arun Patidar
>            Priority: Minor
>             Fix For: Upcoming Branch
>
>
> *Current behavior*
> On Find Orders (ordermgr), the mass actions for PDF output are "Print (PDF)", which
> sends one print job per selected order to a printer, and "Create File", which writes
> one PDF per selected order on the server under \{{runtime/output/}}. There is no way
> to view the PDFs of the selected orders in the browser.
> *Improvement*
> Add a new "View PDF" action to the Find Orders mass action dropdown that opens one
> combined PDF containing all selected orders in a new browser tab. The existing
> "Print (PDF)" and "Create File" actions remain unchanged.
> *Proposed fix*
> # Add a request-map \{{orders.pdf}} in the ordermgr controller, backed by a Java event
>   that loops the selected orderIdList, renders the existing
>   \{{OrderPrintScreens.xml#OrderPDF}} screen per order through the existing
>   ScreenRenderer + FOP pipeline, merges the results with PDFBox \{{PDFMergerUtility}}
>   (already an OFBiz dependency), and streams the combined PDF inline as
>   \{{application/pdf}}.
> # Add a "View PDF" option to the mass action dropdown in \{{FindOrders.ftl}}, opening
>   the PDF in a new browser tab.
> # Add a new \{{OrderViewOrdersPdf}} label.
> *Notes*
> - Depends on OFBIZ-13505, which fixes the rendering defects in the underlying
>   screen/services.
> - Existing printing and file creation behavior is unchanged.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)