<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Verdana;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">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. *<b>fingers crossed</b>*<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:#385623">Ruth Frasur (she/they)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#385623">Coordinator<o:p></o:p></span></p>
<p class="MsoNormal"><i><span style="color:#385623">Evergreen Indiana Library Consortium<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="color:#385623">Evergreen Community Development Initiative<o:p></o:p></span></i></p>
<p class="MsoNormal">Indiana State Library<o:p></o:p></p>
<p class="MsoNormal">140 N. Senate Ave. <o:p></o:p></p>
<p class="MsoNormal">Indianapolis, IN 46204<o:p></o:p></p>
<p class="MsoNormal">(317) 232-3691<o:p></o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> Evergreen-general <evergreen-general-bounces@list.evergreen-ils.org>
<b>On Behalf Of </b>Terran McCanna via Evergreen-general<br>
<b>Sent:</b> Friday, July 29, 2022 1:35 PM<br>
<b>To:</b> Evergreen Discussion Group <evergreen-general@list.evergreen-ils.org><br>
<b>Cc:</b> Terran McCanna <tmccanna@georgialibraries.org><br>
<b>Subject:</b> Re: [Evergreen-general] One more receipt template question w/ a scoop of gratitude<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:red">**** This is an EXTERNAL email. Exercise caution. DO NOT open attachments or click links from unknown senders or unexpected email. ****</span>
<o:p></o:p></p>
<div class="MsoNormal" align="center" style="text-align:center">
<hr size="2" width="100%" align="center">
</div>
<div>
<div>
<div>
<p class="MsoNormal">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?
<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">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.<o:p></o:p></p>
</div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" style="border-collapse:collapse">
<tbody>
<tr style="height:123.0pt">
<td valign="top" style="padding:5.0pt 5.0pt 5.0pt 5.0pt;height:123.0pt">
<p style="margin:0in"><span style="font-family:"Arial",sans-serif;color:black;border:none windowtext 1.0pt;padding:0in"><img width="75" height="75" style="width:.7833in;height:.7833in" id="_x0000_i1031" src="https://lh6.googleusercontent.com/fJoF6o0xl9XByQZmykva1sv2n_cKGUXL_BH4crkpJgSqDu-yU7-5jIypuXBsEuoXCCBAAUQ2jUztJlZDNUVOlwl1bWZIL1W4wmFuEEzCLVMxUyhzdkV7jkcRcdZZni2z8OPz4xJA"></span><o:p></o:p></p>
</td>
<td valign="top" style="padding:5.0pt 5.0pt 5.0pt 5.0pt;height:123.0pt">
<p style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:0in;margin-left:9.0pt">
<b><span style="font-family:"Verdana",sans-serif;color:#1E439B">Terran McCanna, PINES Program Manager</span></b><o:p></o:p></p>
<div class="MsoNormal" align="center" style="text-align:center">
<hr size="2" width="100%" align="center">
</div>
<p style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:0in;margin-left:9.0pt">
<b><span style="font-size:9.0pt;font-family:"Verdana",sans-serif;color:#1E439B">Georgia Public Library Service | University System of Georgia</span></b><o:p></o:p></p>
<p style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:0in;margin-left:9.0pt">
<span style="font-size:9.0pt;font-family:"Verdana",sans-serif;color:#1E439B">2872 Woodcock Blvd, Suite 250 l Atlanta, GA 30341</span><o:p></o:p></p>
<p style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:0in;margin-left:9.0pt">
<span style="font-size:9.0pt;font-family:"Verdana",sans-serif;color:#1E439B;background:white">(404) 235-7138</span><span style="font-size:9.0pt;font-family:"Verdana",sans-serif;color:#1E439B"> |
<a href="mailto:tmccanna@georgialibraries.org" target="_blank">tmccanna@georgialibraries.org</a>
<br>
<br>
</span><o:p></o:p></p>
<p style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:0in;margin-left:9.0pt">
<span style="font-size:9.0pt;font-family:"Verdana",sans-serif;color:#1E439B"><a href="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" target="_blank">http://help.georgialibraries.org</a>
| <a href="mailto:help@georgialibraries.org" target="_blank">help@georgialibraries.org</a><br>
<br>
</span><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:0in;margin-left:9.0pt">
<a href="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" target="_blank"><span style="font-size:9.0pt;font-family:"Verdana",sans-serif;color:#1155CC;border:none windowtext 1.0pt;padding:0in;text-decoration:none"><img border="0" width="36" height="36" style="width:.375in;height:.375in" id="_x0000_i1030" src="https://lh4.googleusercontent.com/77DYzuoZ-zqC0pyQuYNKCrWaPuOANHsYTJze0JxE_iK4yW2sCswywdPCC8hCHOIyhO7KKIO-L6dlN1wIqdHFcyJmTa1fuc5Ok34dR8FQTtZHawpgNmovGxjg9RS0-WI74dFDHw0_"></span></a><a href="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" target="_blank"><span style="font-size:10.0pt;font-family:"Verdana",sans-serif;color:#1155CC;border:none windowtext 1.0pt;padding:0in;text-decoration:none"><img border="0" width="35" height="35" style="width:.3666in;height:.3666in" id="_x0000_i1029" src="https://lh4.googleusercontent.com/1bKX66xWgHe-v5FD5l-hYX4FrZDXi1Y2aKr0DZLDA_oEHy7s01WVqgVilQcwGBzRQZAg3yOePmZncGwtiYGSgavOkb0T5Tj3c46iUJ7ZE7h-MUEhVwXQs7Oc3cahIYMN2SGlk_6b"></span></a><a href="https://www.instagram.com/georgialibraries/" target="_blank"><b><span style="font-family:"Verdana",sans-serif;color:#1155CC;border:none windowtext 1.0pt;padding:0in;text-decoration:none"><img border="0" width="34" height="34" style="width:.35in;height:.35in" id="_x0000_i1028" src="https://lh3.googleusercontent.com/U7PH5YIQnuRvbeMnGOlJAEPAre7Zqx_I6IDJAtJVwUDCp1-TmjSwP_x21qKx8ApsbcaILIuSpL3Pzau2Rz-phR_4IPcLR4LrIha_JMDHqombNtsfa1uhXcYS02QWTAyYqSf3ES_n"></span></b></a><o:p></o:p></p>
</td>
</tr>
<tr style="height:21.0pt">
<td colspan="2" valign="top" style="padding:5.0pt 5.0pt 5.0pt 5.0pt;height:21.0pt">
<p align="center" style="margin:0in;text-align:center"><a href="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" target="_blank"><i><span style="font-size:10.0pt;font-family:"Verdana",sans-serif;color:#1155CC;background:white">Join
our email list</span></i></a><i><span style="font-size:10.0pt;font-family:"Verdana",sans-serif;color:black;background:white">
</span></i><i><span style="font-size:10.0pt;font-family:"Verdana",sans-serif;color:#434343;background:white">for stories of Georgia libraries making an impact in our communities.</span></i><o:p></o:p></p>
</td>
</tr>
</tbody>
</table>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">On Fri, Jul 29, 2022 at 11:14 AM Dan Briem via Evergreen-general <<a href="mailto:evergreen-general@list.evergreen-ils.org">evergreen-general@list.evergreen-ils.org</a>> wrote:<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<p class="MsoNormal">Something like this might work:<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal"><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>
<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">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).<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">On Fri, Jul 29, 2022 at 10:32 AM Frasur, Ruth via Evergreen-general <<a href="mailto:evergreen-general@list.evergreen-ils.org" target="_blank">evergreen-general@list.evergreen-ils.org</a>> wrote:<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Hello all,<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">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.<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:12.0pt;color:#385623">Ruth Frasur (she/they)</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="color:#385623">Coordinator</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><i><span style="color:#385623">Evergreen Indiana Library Consortium</span></i><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><i><span style="color:#385623">Evergreen Community Development Initiative</span></i><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Indiana State Library<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">140 N. Senate Ave.
<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Indianapolis, IN 46204<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">(317) 232-3691<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
</div>
<p class="MsoNormal">_______________________________________________<br>
Evergreen-general mailing list<br>
<a href="mailto:Evergreen-general@list.evergreen-ils.org" target="_blank">Evergreen-general@list.evergreen-ils.org</a><br>
<a href="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" target="_blank">http://list.evergreen-ils.org/cgi-bin/mailman/listinfo/evergreen-general</a><o:p></o:p></p>
</blockquote>
</div>
<p class="MsoNormal"><br clear="all">
<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal">-- <o:p></o:p></p>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal">Dan Briem<br>
Harrison Public Library<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">2 Bruce Ave. Harrison, NY 10528<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">(914) 835-0324<o:p></o:p></p>
<div>
<p class="MsoNormal"><a href="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" target="_blank">harrisonpl.org</a><o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal">_______________________________________________<br>
Evergreen-general mailing list<br>
<a href="mailto:Evergreen-general@list.evergreen-ils.org" target="_blank">Evergreen-general@list.evergreen-ils.org</a><br>
<a href="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" target="_blank">http://list.evergreen-ils.org/cgi-bin/mailman/listinfo/evergreen-general</a><o:p></o:p></p>
</blockquote>
</div>
</div>
</div>
</body>
</html>