PDF Receipt Template Input Fields - replacement_receipt - Conditional?

Options
I'm currently trying to write a conditional regarding the output of this field.


I assume this field name calls a function that determines whether or not the current receipt is a replacement, and outputs the label from the Message Catalog Editor called:


payment:receipt_replacement_text


if and only if the receipt is a replacement receipt, in addition to replacing {0} with the new receipt number.


My question is, is there a way to determine whether or not the receipt is a replacement receipt with a s-tag or template tag?


From this post, Kent mentions the field names of orig_receipt_number and replacement_receipt_number, if there's a way to output the replacement receipt number with a tag, that would also work.


Thank you!
Tagged:

Categories