I am using Thank You letter template to generate donation receipt. After using Find Contributions, I then choose All Records and from Actions I choose Thank You Letters.
I can then add smarty logic and am able to show the contacts name and address as well as some things like date of contribution ($contribution.receive_date) and the total amount of contribution ($contribution.total_amount) and also the ID of the Financial Type ($contribution.financial_type_id)
But I am not able to figure out how to get the following:
- Financial Type Name ($contribution.financial_type_id.name does not work.. always returns 1)
- Contribution Source ($contribution.source does not work.. always returns blank)
- Financial Type Is Deductible ($contribution.financial_type_id.is_deductible does not work.. always returns 1)
I am basing what I am doing from this answer by Iowa Boy How to print USA tax receipt to individuals?