Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-8278

Make PDF attachment to receipt an optional, global setting

    Details

    • Type: Improvement
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.4.2
    • Fix Version/s: 3.4.3
    • Component/s: None
    • Labels:
      None

      Description

      1. Create a new form setting in q=civicrm/admin/setting/misc&reset=1, called doNotAttachPDFReceipt, default value is true.
      Field Label = "Attach PDF copy to recipts"

      2. In CRM/Core/BAO/MessageTemplates.php, check for this value and if false, skip PDF attachment

      ---- original post -----
      ::: Add "attach PDF to contribution receipt" as an optional, global configuration under the "administer" section.

      Related note (with the code that must be made conditional) is listed here:
      http://forum.civicrm.org/index.php?topic=19624.0

        Attachments

          Activity

            People

            • Assignee:
              ashwini Ashwini Poharkar
              Reporter:
              stoob Stoob
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1 hour
                1h
                Remaining:
                Remaining Estimate - 1 hour
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified