I am trying to create thank you letters grouping the transactions by contact.
I am creating a table to display the contribution information but I am running into a problem with Transaction ID. since not every contribution has one, it doesn't align properly in the table. I tried using the 'line break' and 'verticle table cell' but the
or is not printing for when the token is empty.
I tried to work around it by printing N/A when if the token is empty but I can't seem to get this working either {capture assign=temp}{contribution.trxn_id}{/capture}{if $temp ne ""}{$temp}{else}N/A{/if}
UPDATE: I tried @RayWright's suggestion and it worked for individual thank you letters perfectly. However, when grouping the contribution records by contact, the same code will only print the transaction ID when there is one and will not print NA when there isn't one...