Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Minor
-
Resolution: Fixed/Completed
-
Affects Version/s: 3.0, 3.0.1
-
Fix Version/s: 3.0.2
-
Component/s: Core CiviCRM
-
Labels:None
Description
This task uses the same function as the CiviReport PDFs - and the page layout is currently hardcoded to 'landscape' (since that's appropriate for report pages). However, expected orientation for letters is 'portrait'.
Add a parameter to CRM_Utils_PDF_Utils::html2pdf to allow override of page layout (default can still be 'landscape'). Then modify CRM_Contact_Form_Task_PDFLetterCommon to specify 'portrait' layout (line 198).