One of the things that we have incorporated is a ternary operator for preferred names.  If there is a preferred name, it is printed, otherwise the primary name is printed.

 

Following Andrew’s example it would be set up something like this:

 

<h1>{{patron.pref_family_name ? patron.pref_family_name : patron.family_name}}, {{patron.pref_first_given_name ? patron.pref_first_given_name : patron.first_given_name}}</h1>

 

To limit to 4 characters:

 

{{patron.pref_family_name ? patron.pref_family_name : patron.family_name | limitTo:4}}

 

 

 

From: Terran McCanna
Sent: Friday, October 2, 2020 12:37 PM
To: Evergreen Discussion Group
Subject: Re: [Evergreen-general] Receipts

 

This is what we use for our hold shelf slip:

 

 

If you don't want to show the entire name, you can use the limitTo filter, like this:

 

{{patron.family_name|limitTo:4}}

 

 

 

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 | [email protected]

http://help.georgialibraries.org | [email protected]

 

Join our email list for stories of Georgia libraries making an impact in our communities.

 

 

 

On Fri, Oct 2, 2020 at 12:20 PM Terri Moser <[email protected]> wrote:

Has anyone already created a HOLD receipt where the patrons name is in a larger font across the top of the slip? And would you share your template?

MOSE,T

Like this but in a much larger font.

Thank you 

Terri Moser

Circulation Supervisor

Neosho Newton County Library

               "Never let a problem to be solved become more important than a person to be loved."

                                   -Thomas S. Monson

_______________________________________________
Evergreen-general mailing list
[email protected]
http://list.evergreen-ils.org/cgi-bin/mailman/listinfo/evergreen-general

 

_______________________________________________
Evergreen-general mailing list
[email protected]
http://list.evergreen-ils.org/cgi-bin/mailman/listinfo/evergreen-general

Reply via email to