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.
{{current_location.name}} <div ng-if="current_location.shortname == 'BR1'"> 22 Main Street<br> Big City, TX </div> <div ng-if="current_location.shortname == 'BR2'"> 22 Oak Street<br> Little City, TX </div> Garry 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: https://bugs.launchpad.net/evergreen/+bug/1801143 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 John Amundson | Library Applications Supervisor | CW MARS jamund...@cwmars.org | 508-755-3323 x322 https://www.cwmars.org On Wed, Jul 31, 2019 at 12:47 PM Terran McCanna <tmcca...@georgialibraries.org> wrote: 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 communities. 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 templates. Just a note of warning, the includes cannot include any HTML, just your basic text currently. Lynn Floyd lfl...@andersonlibrary.org 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 <open-ils-general@list.georgialibraries.org> 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: https://pines.georgialibraries.org/dokuwiki/doku.php?id=admin:workstations:receipts#include_text_across_multiple_templates_and_workstations On Wed, Jul 31, 2019, 8:03 AM Cerninakova Eva <cer...@jabok.cz> wrote: Hi, 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 templates: • 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 Eva --- Mgr. Eva Cerniňáková cer...@jabok.cz Tel. +420 211 222 409 Knihovna Jabok http:/knihovna.jabok.cz 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 lfl...@andersonlibrary.org