Hi Eva,

If you need to be able to use html, you could just add some logic to the 
templates with the address information.  Of course the number of locations that 
you have may render this solution impractical.

<div ng-if="current_location.shortname == 'BR1'">
22 Main Street<br>
Big City, TX
<div ng-if="current_location.shortname == 'BR2'">
22 Oak Street<br>
Little City, TX


From: John Amundson
Sent: Wednesday, July 31, 2019 2:30 PM
To: Evergreen Discussion Group
Subject: Re: [OPEN-ILS-GENERAL] Organizational unit address in receipttemplates

I filed a bug a while back regarding the HTML-less nature of these library 
settings in the web client. It can be found here: 

This is also almost possible in the print templates themselves, but I don't 
think all the necessary fields are exposed currently. For example,
{{current_location.billing_address}} gets me the ID associated with the 
workstation library's billing address. However, if I try things like 
{{current_location.billing_address.street1}} or 
{{current_location.billing_address.city}}, it does not work. I tested in the 
Bills, Current template, so I can't say this will be true for all templates.

The library's name can be displayed with {{current_location.name}}.


John Amundson | Library Applications Supervisor | CW MARS
jamund...@cwmars.org | 508-755-3323 x322

On Wed, Jul 31, 2019 at 12:47 PM Terran McCanna <tmcca...@georgialibraries.org> 
Ah, I forgot that HTML didn't work with the web client includes. I've updated 
my notes.

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 
http://help.georgialibraries.org | h...@help.georgialibraries.org

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

On Wed, Jul 31, 2019 at 12:11 PM Lynn Floyd <lfl...@andersonlibrary.org> wrote:
An include statement is the best way to do this currently.  I would also add an 
wish list item to LaunchPad to include this information for use in the 
Just a note of warning, the includes cannot include any HTML, just your basic 
text currently.  
Lynn Floyd
Anderson County Library
Anderson, SC
From: Open-ils-general <open-ils-general-boun...@list.georgialibraries.org> On 
Behalf Of Terran McCanna
Sent: Wednesday, July 31, 2019 8:31 AM
To: cerninak...@jabok.cz; Group, Evergreen 
Subject: Re: [OPEN-ILS-GENERAL] Organizational unit address in receipt templates
Hi Eva - you can still use the library settings to add standard text blocks. I 
have instructions in the PINES docs here: 
On Wed, Jul 31, 2019, 8:03 AM Cerninakova Eva <cer...@jabok.cz> wrote:
I am trying to set up web staff client print templates for our consortium  (in 
Evergreen 3.3.2).  We would like to use the same print templates for the whole 
consortium and avoid the necessity to save the templates locally. We need 
include  "current" library address (i.e., address of the library, where the 
receipt is printed)  in some receipt. However, I have not found and opportunity 
to add the library addres data to receipt templates. It is only possible to add 
library code and name.
In the XUL client, we used the opportunity to set up the receipts header and 
footer for the particular library in the Library Setting Editor. The setting is 
present in the web client too, but I suppose  it is obsolete and don't work 
with the angular print templates. (Or I am wrong?)

Ideally we need to add at least the organizational unit physical (or mailing) 
address street1, city, zip code, phone number and SAN  to the following 
• Bills, Current (t_bills_current.tt2)
• Bills, Historical  (t_bills_historical.tt2)
• Bills, Payment (t_bill_payment.tt2)
• Patron data (t_patron_data.tt2)  - (some of our libraries would like to use 
this print output for  the "official" patron-library contract, so they need not 
only the library name, but also the address) 
Is there presently an option to insert automatically the current library 
address into the print outputs listed above?

Thanks a lot for any help
Mgr. Eva Cerniňáková
Tel. +420 211 222 409

Knihovna Jabok
Tel.  +420 211 222 410
Jabok - Vyšší odborná škola sociálně pedagogická a teologická
Salmovská 8, 120 00 Praha 2

Bez virů. www.avast.com 

Lynn Floyd
Head of Information Technology
Anderson County Library
Anderson, SC

Reply via email to