Closed MarcMichalsky closed 1 year ago
@bjendres I'm not sure whether this should go into a 2.2 point release or a new 2.3 minor one. Would this silently introduce a change for people only using the default template (which might be very few, but still ...)?
Here's my two cents: people should know that they need to read the release notes before upgrading.
Here's my two cents: people should know that they need to read the release notes before upgrading.
Yes....but they don't :)
Would this silently introduce a change for people only using the default template (which might be very few, but still ...)?
This is actually not a problem as Donation Receipts profiles don't use "real" message templates anymore, so an update to the default template will not affect existing profiles.
As discussed here, the
issued_on
field should not be overwritten when copying a donation receipt. This ensures that a copy bears the correct and original date of its issuance.Apart from preserving the original
issued_on
date this PR also adjusts the default template to use the$issued_on
variable instead of$today
. Otherwise the change wouldn't have any effect.fix #169