Commit graph

17 commits

Author SHA1 Message Date
barredterra
834c31aa52 fix: get PDF from printview
Clicking "Get PDF" in printview should result in the same view being converted to PDF. So far, we didn't pass the print format and letterhead, sometimes resulting in an entirely different PDF.
2024-11-13 11:22:59 +01:00
marination
29e761671d feat: Letterhead scripts
- feat: Allow script injection into header/footer.html to allow manipulation of styles using page numbers/args received by wkhtmltopdf
- misc: also validate letterhead scripts
- Include scripts in printview as well as pdf
- Add helper instructions & re-arrange fields
2023-12-21 17:25:19 +01:00
Shariq Ansari
69a96ad565
fix: strip html the printview's key value (#23606)
* fix: strip html the printview's key value

* fix: escape instead of strip html
2023-12-05 15:49:46 +05:30
Suraj Shetty
121fb49fb5 refactor: Remove unnecessary code 2022-06-01 18:10:30 +05:30
Suraj Shetty
7bd91f7bfe fix: Style of document web view 2022-05-30 13:23:33 +05:30
Suraj Shetty
af67849928 feat: Option to Print or download PDF in print view 2022-02-18 14:26:33 +05:30
Suraj Shetty
4aab56edfc refactor: Permission validation for print view
- Show UI based on the status of the key/permission
- Respond with proper http_code according to the permission validation
2022-01-19 12:38:37 +05:30
Suraj Shetty
f0ebd13c84 fix: Logic to show link expired message 2022-01-13 12:16:36 +05:30
Suraj Shetty
4ee99ce7e1 feat: Set expiry to document link 2022-01-13 11:45:45 +05:30
Suraj Shetty
6960a19208 fix: RTL for print views 2021-06-28 12:03:31 +05:30
Suraj Shetty
40dd522796 feat: Auto generate RTL styles using rtlcss
https://github.com/MohammadYounes/rtlcss
2021-06-25 13:06:09 +05:30
Faris Ansari
e72bb135e1 fix: Asset URLs
Helpers to get asset path
Python: frappe.utils.jinja_globals.bundled_asset
JS: frappe.assets.bundled_asset
2021-04-29 14:47:52 +05:30
Faris Ansari
34c6d099b1 fix: Update all /assets urls with new urls 2021-04-24 16:24:08 +05:30
Rushabh Mehta
9c4e1eea5c fix(print): semantic nested lists for text editor 2019-05-20 18:58:32 +05:30
Faris Ansari
1cef6890e3 Show footer in Full Page printview 2018-05-03 16:12:16 +05:30
rohitwaghchaure
13f0f19f75 [Fix] RTL for document print (#5244) 2018-03-22 11:15:01 +05:30
Rushabh Mehta
62f0480117 [rename] frappe.www.print to frappe.www.printview 2017-05-03 15:59:24 +05:30
Renamed from frappe/www/print.html (Browse further)