From: Tim Otten Date: Wed, 12 Apr 2017 21:25:11 +0000 (-0700) Subject: CRM-20420 - Display `recordGeneratedLetters` setting in GUI X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=4a53006c64eaf2368fb2d59f260c83c51eb17e10;p=civicrm-core.git CRM-20420 - Display `recordGeneratedLetters` setting in GUI --- diff --git a/CRM/Admin/Form/Setting/Miscellaneous.php b/CRM/Admin/Form/Setting/Miscellaneous.php index acc2280763..6f9b6457e4 100644 --- a/CRM/Admin/Form/Setting/Miscellaneous.php +++ b/CRM/Admin/Form/Setting/Miscellaneous.php @@ -43,6 +43,7 @@ class CRM_Admin_Form_Setting_Miscellaneous extends CRM_Admin_Form_Setting { 'logging' => CRM_Core_BAO_Setting::SYSTEM_PREFERENCES_NAME, 'maxFileSize' => CRM_Core_BAO_Setting::SYSTEM_PREFERENCES_NAME, 'doNotAttachPDFReceipt' => CRM_Core_BAO_Setting::SYSTEM_PREFERENCES_NAME, + 'recordGeneratedLetters' => CRM_Core_BAO_Setting::SYSTEM_PREFERENCES_NAME, 'secondDegRelPermissions' => CRM_Core_BAO_Setting::SYSTEM_PREFERENCES_NAME, 'checksum_timeout' => CRM_Core_BAO_Setting::SYSTEM_PREFERENCES_NAME, 'recaptchaOptions' => CRM_Core_BAO_Setting::SYSTEM_PREFERENCES_NAME, diff --git a/templates/CRM/Admin/Form/Setting/Miscellaneous.tpl b/templates/CRM/Admin/Form/Setting/Miscellaneous.tpl index 1646f2accd..f58f79590c 100644 --- a/templates/CRM/Admin/Form/Setting/Miscellaneous.tpl +++ b/templates/CRM/Admin/Form/Setting/Miscellaneous.tpl @@ -59,6 +59,12 @@

{ts}If enabled, CiviCRM sends PDF receipt as an attachment during event signup or online contribution.{/ts}

+ + {$form.recordGeneratedLetters.label} + {$form.recordGeneratedLetters.html}
+

{ts}When generating a letter (PDF/Word) via mail-merge, how should the letter be recorded?{/ts}

+ + {$form.wkhtmltopdfPath.label} {$form.wkhtmltopdfPath.html}