That is something I’m not sure about and need to wait until I’m back in the 
office (Tuesday) and have access to a printer. *fingers crossed*

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> On 
Behalf Of Terran McCanna via Evergreen-general
Sent: Friday, July 29, 2022 1:35 PM
To: Evergreen Discussion Group <evergreen-general@list.evergreen-ils.org>
Cc: Terran McCanna <tmcca...@georgialibraries.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. ****
________________________________
Does the " | json" trick display everything that's actually available at run 
time, or does it only display the fields that are in the print preview scope 
data? Or does that depend on whether you're previewing or printing?

I've noticed differences here and there between what is available in the 
preview scope data defined in 
/var/web/js/ui/default/staff/admin/workstation/app.js and what is actually 
available during printing.


[https://lh6.googleusercontent.com/fJoF6o0xl9XByQZmykva1sv2n_cKGUXL_BH4crkpJgSqDu-yU7-5jIypuXBsEuoXCCBAAUQ2jUztJlZDNUVOlwl1bWZIL1W4wmFuEEzCLVMxUyhzdkV7jkcRcdZZni2z8OPz4xJA]

Terran McCanna, PINES Program Manager

________________________________

Georgia Public Library Service | University System of Georgia

2872 Woodcock Blvd, Suite 250 l Atlanta, GA 30341

(404) 235-7138 | 
tmcca...@georgialibraries.org<mailto:tmcca...@georgialibraries.org>


http://help.georgialibraries.org<https://protect2.fireeye.com/v1/url?k=31323334-50bba2bf-31367a34-4544474f5631-d7e884baa02aea10&q=1&e=1c95983d-bdb2-498b-b751-5e5f08d629cc&u=http%3A%2F%2Fhelp.georgialibraries.org%2F>
 | h...@georgialibraries.org<mailto:h...@georgialibraries.org>



[https://lh4.googleusercontent.com/77DYzuoZ-zqC0pyQuYNKCrWaPuOANHsYTJze0JxE_iK4yW2sCswywdPCC8hCHOIyhO7KKIO-L6dlN1wIqdHFcyJmTa1fuc5Ok34dR8FQTtZHawpgNmovGxjg9RS0-WI74dFDHw0_]<https://protect2.fireeye.com/v1/url?k=31323334-50bba2bf-31367a34-4544474f5631-182506972c487026&q=1&e=1c95983d-bdb2-498b-b751-5e5f08d629cc&u=https%3A%2F%2Fwww.facebook.com%2Fgeorgialibraries>[https://lh4.googleusercontent.com/1bKX66xWgHe-v5FD5l-hYX4FrZDXi1Y2aKr0DZLDA_oEHy7s01WVqgVilQcwGBzRQZAg3yOePmZncGwtiYGSgavOkb0T5Tj3c46iUJ7ZE7h-MUEhVwXQs7Oc3cahIYMN2SGlk_6b]<https://protect2.fireeye.com/v1/url?k=31323334-50bba2bf-31367a34-4544474f5631-50a85ecebced0abe&q=1&e=1c95983d-bdb2-498b-b751-5e5f08d629cc&u=https%3A%2F%2Fwww.twitter.com%2Fgeorgialibs>[https://lh3.googleusercontent.com/U7PH5YIQnuRvbeMnGOlJAEPAre7Zqx_I6IDJAtJVwUDCp1-TmjSwP_x21qKx8ApsbcaILIuSpL3Pzau2Rz-phR_4IPcLR4LrIha_JMDHqombNtsfa1uhXcYS02QWTAyYqSf3ES_n]<https://www.instagram.com/georgialibraries/>

Join our email 
list<https://protect2.fireeye.com/v1/url?k=31323334-50bba2bf-31367a34-4544474f5631-0f926b504be84a09&q=1&e=1c95983d-bdb2-498b-b751-5e5f08d629cc&u=http%3A%2F%2Fgeorgialibraries.org%2F>
 for stories of Georgia libraries making an impact in our communities.



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=1c95983d-bdb2-498b-b751-5e5f08d629cc&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=1c95983d-bdb2-498b-b751-5e5f08d629cc&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=1c95983d-bdb2-498b-b751-5e5f08d629cc&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

Reply via email to