Ankush Menat
de9ac89748
style: re-format with ruff
2024-02-05 18:53:33 +05:30
Hussain Nagaria
8d2137c265
docs: consistent doc strings
2023-12-18 18:27:39 +05:30
barredterra
b553ed98d8
refactor: inline immediately returned variable
...
Inline a variable to a return in the case when the
variable being declared is immediately returned
2023-08-08 18:09:49 +02:00
Raffael Meyer
920606f10e
fix: handle "No Letterhead" in new print format builder ( #18990 )
...
[skip ci]
2022-11-24 10:54:46 +05:30
Daizy Modi
62c4a3c020
fix: check permission before print or download document ( #18757 )
2022-11-06 19:59:59 +05:30
Suraj Shetty
c0c5b2ebdd
style: format all python files using black ( #16453 )
...
Co-authored-by: Frappe Bot <developers@frappe.io>
2022-04-12 10:59:25 +05:30
Faris Ansari
4e39f85e29
fix: lazy import weasyprint
2021-11-16 10:58:45 +05:30
Ankush Menat
50eb39eb5e
fix(dx): error message for missing system deps
2021-10-27 10:15:11 +05:30
Faris Ansari
c1053bea93
fix: Field rendering of every field
2021-10-22 19:20:42 +05:30
Suraj Shetty
04374de9eb
fix: Update licence text
...
Co-authored-by: gavin <gavin18d@gmail.com>
2021-10-22 09:22:52 +05:30
Faris Ansari
5f5f0e8bba
fix: Include print style and print format css
2021-10-20 19:18:35 +05:30
Faris Ansari
239ec49612
style: formatting
2021-10-20 19:06:16 +05:30
Faris Ansari
76b5ee8b9e
feat: Field Templates
...
- standard field templates for rendering custom templates for fields for e.g., taxes in invoice
- ability to create user defined reusable templates that show up in print format builder
2021-10-19 19:12:15 +05:30
Faris Ansari
f4bd62c010
feat: More features
...
- Letterhead editing
- Edit Header and Footer
- Margin Text
- PrintFormatGenerator class handles generation of HTML and PDF and repeating of Header/Footer
- Simplify /printpreview
- Separate renderer files for each fieldtype
2021-09-15 18:50:41 +05:30
Faris Ansari
dd03ce8053
fix: Ability to set font via Google Font
2021-09-07 10:45:09 +05:30
Faris Ansari
0928c4c172
feat: Use weasyprint to generate PDF
...
- /printpreview route to preview HTML template
2021-09-06 16:57:37 +05:30