Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • C CDNTaxReceipts
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 31
    • Issues 31
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 5
    • Merge requests 5
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Extensions
  • CDNTaxReceipts
  • Merge requests
  • !73

Optional archive email

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed KarinG requested to merge github/fork/eruraindil/optional-archive-email into master Oct 12, 2017
  • Overview 2
  • Commits 4
  • Pipelines 0
  • Changes 7

Created by: waddyvic

This branch makes archive email optional, as my organization do not want to archive the tax receipt email if it can be regenerated.

Change log:

CRM/Cdntaxreceipts/Form/Settings.php: remove rule for archive email to make it optional

CRM/Cdntaxreceipts/Form/ViewTaxReceipt.php: if tax receipt PDF file is expired (not found), and no archive email specified, instruct user to reissue tax receipt.

cdntaxreceipts.functions.inc:

  • Update comments in multiple places showing archive email is optional
  • Do not send email to archive email if not specified
  • Change logic for "if" statement when sending receipt email to donor to account for optional archive email
  • Change logic for "if" statement when logging tax receipt

cdntaxreceipts.php: do not check email status when attaching tax receipt to core workflow msg. Since archive email is optional, calling "cdntaxreceipts_issueTaxReceipt()" function with CDNTAXRECEIPTS_MODE_WORKFLOW doesn't always send email.

templates/CRM/Cdntaxreceipts/Task/IssueAggregateTaxReceipts.tpl: update text to show a copy of the tax receipt will send to the archive email if specified.

templates/CRM/Cdntaxreceipts/Task/IssueAnnualTaxReceipts.tpl: update text to show a copy of the tax receipt will send to the archive email if specified.

templates/CRM/Cdntaxreceipts/Task/IssueSingleTaxReceipts.tpl: update text to show a copy of the tax receipt will send to the archive email if specified.

Edited Nov 26, 2021 by KarinG
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/eruraindil/optional-archive-email