CRM-20420 - Display `recordGeneratedLetters` setting in GUI
authorTim Otten <totten@civicrm.org>
Wed, 12 Apr 2017 21:25:11 +0000 (14:25 -0700)
committerTim Otten <totten@civicrm.org>
Wed, 12 Apr 2017 21:28:19 +0000 (14:28 -0700)
CRM/Admin/Form/Setting/Miscellaneous.php
templates/CRM/Admin/Form/Setting/Miscellaneous.tpl

index acc22807638e929d5272bdb7f65a5b39dba7c0ec..6f9b6457e465b9f6742664f9d9f8afcca47d54b3 100644 (file)
@@ -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,
index 1646f2accd60419e50ff9177c7203cec21ec4856..f58f79590c0ddfe96336b522bc2ea66d3a115357 100644 (file)
                 <p class="description">{ts}If enabled, CiviCRM sends PDF receipt as an attachment during event signup or online contribution.{/ts}</p>
             </td>
         </tr>
+        <tr class="crm-miscellaneous-form-block-recordGeneratedLetters">
+            <td class="label">{$form.recordGeneratedLetters.label}</td>
+            <td>{$form.recordGeneratedLetters.html}<br />
+                <p class="description">{ts}When generating a letter (PDF/Word) via mail-merge, how should the letter be recorded?{/ts}</p>
+            </td>
+        </tr>
         <tr class="crm-miscellaneous-form-block-wkhtmltopdfPath">
             <td class="label">{$form.wkhtmltopdfPath.label}</td>
             <td>{$form.wkhtmltopdfPath.html}<br />