Oooh, even better. Ruth Frasur (she/they) Coordinator Evergreen Indiana Library Consortium Evergreen Community Development Initiative Indiana State Library 140 N. Senate Ave. Indianapolis, IN 46204 (317) 232-3691
From: Morgan, Michele <mmor...@noblenet.org> Sent: Friday, July 29, 2022 11:29 AM To: Evergreen Discussion Group <evergreen-general@list.evergreen-ils.org> Cc: Frasur, Ruth <rfra...@library.in.gov> Subject: Re: [Evergreen-general] One more receipt template question w/ a scoop of gratitude **** This is an EXTERNAL email. Exercise caution. DO NOT open attachments or click links from unknown senders or unexpected email. **** ________________________________ Hi Ruth, This description in this bug: https://bugs.launchpad.net/evergreen/+bug/1843339 includes some conditional code for the patron preferred name shared by John Amundson. You should be able to handle the staff user's name the same way. Hope this helps you, and also brings attention to the bug! Michele -- Michele M. Morgan, Technical Support Analyst North of Boston Library Exchange, Danvers Massachusetts mmor...@noblenet.org<mailto:mmor...@noblenet.org> On Fri, Jul 29, 2022 at 11:22 AM Frasur, Ruth via Evergreen-general <evergreen-general@list.evergreen-ils.org<mailto:evergreen-general@list.evergreen-ils.org>> wrote: This is really great Dan! Thank you. Experimenting begins. Ruth Frasur (she/they) Coordinator Evergreen Indiana Library Consortium Evergreen Community Development Initiative Indiana State Library 140 N. Senate Ave. Indianapolis, IN 46204 (317) 232-3691 From: Evergreen-general <evergreen-general-boun...@list.evergreen-ils.org<mailto:evergreen-general-boun...@list.evergreen-ils.org>> On Behalf Of Shula Link via Evergreen-general Sent: Friday, July 29, 2022 11:20 AM To: Evergreen Discussion Group <evergreen-general@list.evergreen-ils.org<mailto:evergreen-general@list.evergreen-ils.org>> Cc: Shula Link <sl...@gchrl.org<mailto:sl...@gchrl.org>> Subject: Re: [Evergreen-general] One more receipt template question w/ a scoop of gratitude **** This is an EXTERNAL email. Exercise caution. DO NOT open attachments or click links from unknown senders or unexpected email. **** ________________________________ That JSON filter is really useful to know about. Thanks for the tip! Shula Link (she/her) Systems Services Librarian Greater Clarks Hill Regional Library sl...@columbiacountyga.gov<mailto:sl...@columbiacountyga.gov> | sl...@gchrl.org<mailto:sl...@gchrl.org> 706-447-6702 On Fri, Jul 29, 2022 at 11:14 AM Dan Briem via Evergreen-general <evergreen-general@list.evergreen-ils.org<mailto:evergreen-general@list.evergreen-ils.org>> wrote: Something like this might work: <span ng-show="staff.pref_first_given_name">{{staff.pref_first_given_name}}</span><span ng-hide="staff.pref_first_given_name">{{staff.first_given_name}}</span> If you were looking for a different staff attribute, you can see what's available by temporarily putting {{staff | json}} into the template somewhere and it should output everything available in the preview (obviously you want to remember to remove it when you're done). On Fri, Jul 29, 2022 at 10:32 AM Frasur, Ruth via Evergreen-general <evergreen-general@list.evergreen-ils.org<mailto:evergreen-general@list.evergreen-ils.org>> wrote: Hello all, I come to you again asking for your knowledge. Thank you to everyone who provided code snippets and links to code snippets for adding “You saved…” information to receipt templates. Another request has come through that is a little more complex. An EI member library is asking about any way to conditionally include, in a receipt template, a preferred staff (user) name if it exists in lieu of the “proper” staff name. Ruth Frasur (she/they) Coordinator Evergreen Indiana Library Consortium Evergreen Community Development Initiative Indiana State Library 140 N. Senate Ave. Indianapolis, IN 46204 (317) 232-3691 _______________________________________________ Evergreen-general mailing list Evergreen-general@list.evergreen-ils.org<mailto:Evergreen-general@list.evergreen-ils.org> http://list.evergreen-ils.org/cgi-bin/mailman/listinfo/evergreen-general<https://protect2.fireeye.com/v1/url?k=31323334-50bba2bf-31367a34-4544474f5631-2865476d45623b25&q=1&e=73db7d3b-2cf8-46da-9c86-8685e9e31bf6&u=http%3A%2F%2Flist.evergreen-ils.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fevergreen-general> -- Dan Briem Harrison Public Library 2 Bruce Ave. Harrison, NY 10528 (914) 835-0324 harrisonpl.org<https://protect2.fireeye.com/v1/url?k=31323334-50bba2bf-31367a34-4544474f5631-6fbc72ac970e3074&q=1&e=73db7d3b-2cf8-46da-9c86-8685e9e31bf6&u=https%3A%2F%2Fwww.harrisonpl.org%2F> _______________________________________________ Evergreen-general mailing list Evergreen-general@list.evergreen-ils.org<mailto:Evergreen-general@list.evergreen-ils.org> http://list.evergreen-ils.org/cgi-bin/mailman/listinfo/evergreen-general<https://protect2.fireeye.com/v1/url?k=31323334-50bba2bf-31367a34-4544474f5631-2865476d45623b25&q=1&e=73db7d3b-2cf8-46da-9c86-8685e9e31bf6&u=http%3A%2F%2Flist.evergreen-ils.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fevergreen-general> _______________________________________________ Evergreen-general mailing list Evergreen-general@list.evergreen-ils.org<mailto:Evergreen-general@list.evergreen-ils.org> http://list.evergreen-ils.org/cgi-bin/mailman/listinfo/evergreen-general<https://protect2.fireeye.com/v1/url?k=31323334-50bba2bf-31367a34-4544474f5631-2865476d45623b25&q=1&e=2c6a46ab-6013-4bc4-81ab-07093fccc420&u=http%3A%2F%2Flist.evergreen-ils.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fevergreen-general>
_______________________________________________ Evergreen-general mailing list Evergreen-general@list.evergreen-ils.org http://list.evergreen-ils.org/cgi-bin/mailman/listinfo/evergreen-general