It would be great to implement a feature which allows us to determine the name of the Pdf file both for Print to PDF and Send in Email (Sales Pack).
For Print to PDF I currently have implemented this by changing /application/Espo/EntryPoints/Pdf.php which results in a Pdf filename containing one of our custom fields.
For Send in Email I have changed /custom/Espo/Modules/Sales/Tools/Quote/EmailService.php with the same result.
Using the already available Placeholders in PDF Templates would be perfect. Might be even worth it to also allow the same placeholders for the PDF Title (currently only {$name} is allowed).
For Print to PDF I currently have implemented this by changing /application/Espo/EntryPoints/Pdf.php which results in a Pdf filename containing one of our custom fields.
For Send in Email I have changed /custom/Espo/Modules/Sales/Tools/Quote/EmailService.php with the same result.
Using the already available Placeholders in PDF Templates would be perfect. Might be even worth it to also allow the same placeholders for the PDF Title (currently only {$name} is allowed).
Comment