Unplowed Posted February 7, 2022 Share Posted February 7, 2022 Hello, In back office, when you want to view an invoice/delivery slip/... you need to download it. There is a way to show it online instead of to download it ? I've tried this solution (for PS 1.6) but it doesn't work, obviously. Thanks for help. Link to comment Share on other sites More sharing options...
foxnetwork Posted November 1, 2023 Share Posted November 1, 2023 did you ever find a solution for this Link to comment Share on other sites More sharing options...
Sashok Posted November 6, 2023 Share Posted November 6, 2023 for PDF I changed in /controllers/front/AttachmentController.php header('Content-Disposition: attachment; filename="' . utf8_decode($attachment->file_name) . '"'); to: header('Content-Disposition: inline; filename="' . utf8_decode($attachment->file_name) . '"'); Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now