eileenmcnaughton / nz.co.fuzion.civitoken

Fuzion Token extension for CiviCRM
Other
11 stars 28 forks source link

Latest Curernt Membership ID and Latest Membership ID return the same {latestcurrentmembership.membership_id} #67

Open yurg opened 6 months ago

yurg commented 6 months ago

I've got a note from someone that in case of multiple memberships per contact, the membership receipt and/or scheduled reminder emails pick the latest membership only. After some tests it looks like the Latest Curernt Membership ID and Latest Membership ID return the same token {latestcurrentmembership.membership_id}. Moreover, the "{latestcurrentmembership.alltype}" returns an empty string for a contact with known multiple active relationships. Would this be a bug or..?

Latest membership: {latestcurrentmembership.membership_id} {latestcurrentmembership.type} Membership {latestcurrentmembership.membership_id} {latestcurrentmembership.alltype}