Feat(Gotenberg): Opt-in alternative pdf generation for modern CSS (#184)

* WIP(gotenberg): add pdf generation abstraction and UI

* feat(pdf): settings validate(clien+server) & save

* fix(gotenberg): Use correct default papersize
chore(gotengberg): Remove unused GOTENBERG_MARGINS env from .env

* style(gotenberg): fix linter/styling issues

* fix(pdf): use pdf config policy

* fix: revert accidental capitalization in mail config vue

* Update composer, remove whitespace typo

* Fix small typos

* fix cookie/env issue

* Add gotenberg to .dev, move admin menu item up
This commit is contained in:
Tim van Osch
2025-05-04 02:10:15 +02:00
committed by GitHub
parent 8a9392e400
commit bf40f792c2
27 changed files with 1512 additions and 597 deletions

View File

@@ -852,7 +852,8 @@
"payment_modes": "Payment Modes",
"notes": "Notes",
"exchange_rate": "Exchange Rate",
"address_information": "Address Information"
"address_information": "Address Information",
"pdf_generation": "PDF Generation"
},
"address_information": {
"section_description": " You can update Your Address information using form below."
@@ -905,7 +906,15 @@
"pdf": {
"title": "PDF Setting",
"footer_text": "Footer Text",
"pdf_layout": "PDF Layout"
"pdf_layout": "PDF Layout",
"pdf_configuration": "PDF Generation Settings",
"section_description": "Change the way PDFs are generated",
"driver": "PDF Driver to use",
"papersize": "Papersize",
"papersize_hint": "Papersize in width and height (ex. \"210mm 297mm\")",
"gotenberg_host": "Gotenberg service host",
"pdf_variables_save_successfully": "PDF configuration saved successfully",
"pdf_variables_save_error": "PDF configuration could not be saved"
},
"company_info": {
"company_info": "Company info",