[Evergreen-general] Conditional Statement in Receipt Template

Chauncey Montgomery chauncey at yourcl.org
Wed Nov 20 15:28:18 EST 2024


We are trying to create a conditional statement within the receipt templates that will display a user's preferred name, if that condition is true; otherwise, the given name will be displayed on the receipt.

How would I go about creating a conditional statement that checks if there is a value in the patron.pref_first_given_name field?

Many thanks.
CM
--
Chauncey Montgomery
Community Library
44 Burrer Dr | Sunbury, OH 43074
740-965-3901 | https://www.yourcl.org


More information about the Evergreen-general mailing list