[OPEN-ILS-GENERAL] Web Client Print Templates - "You Saved" Calculator

Oxford, Susan soxford at ucn.ca
Wed May 23 14:54:29 EDT 2018


Hi,

Thanks, but do you have one specifically for the cost of each individual item that I can for each item?

Thanks,

Susan


From: Open-ils-general [mailto:open-ils-general-bounces at list.georgialibraries.org] On Behalf Of Terran McCanna
Sent: May 23, 2018 1:50 PM
To: Evergreen Discussion Group <open-ils-general at list.georgialibraries.org>
Subject: Re: [OPEN-ILS-GENERAL] Web Client Print Templates - "You Saved" Calculator

Hi Susan - we have an example posted here:

https://pines.georgialibraries.org/dokuwiki/lib/exe/fetch.php?media=circ:workstations:subtotal2.pdf



Terran McCanna
PINES Program Manager
Georgia Public Library Service
1800 Century Place, Suite 150
Atlanta, GA 30345
404-235-7138
tmccanna at georgialibraries.org<mailto:tmccanna at georgialibraries.org>

On Wed, May 23, 2018 at 2:36 PM, Oxford, Susan <soxford at ucn.ca<mailto:soxford at ucn.ca>> wrote:
Hello,

I am looking for information along the lines of this thread but only for the code for the newest version of Evergreen that uses code like this example with {{}} instead of %:
        <div>
<div>{{patron.first_given_name}}
{{patron.family_name}}<br/>
{{patron.card.barcode}}<br/>

Thanks,

Susan


-----Original Message-----
From: Open-ils-general [mailto:open-ils-general-bounces at list.georgialibraries.org<mailto:open-ils-general-bounces at list.georgialibraries.org>] On Behalf Of Bill Coffey
Sent: February 14, 2018 2:31 PM
To: 'Evergreen Discussion Group' <open-ils-general at list.georgialibraries.org<mailto:open-ils-general at list.georgialibraries.org>>
Subject: Re: [OPEN-ILS-GENERAL] Web Client Print Templates - "You Saved" Calculator

That works very well!!!
 Thanks to everyone for their help.

Bill Coffey
Systems Administrator
Wayne County Public Library
1001 E. Ash St
Goldsboro, NC 27530

Phone:  (919) 735-6249
Fax:      (919) 731-2889
email:   bill.coffey at waynegov.com<mailto:bill.coffey at waynegov.com>


-----Original Message-----
From: Open-ils-general [mailto:open-ils-general-bounces at list.georgialibraries.org<mailto:open-ils-general-bounces at list.georgialibraries.org>] On Behalf Of Forrest, Stuart
Sent: Wednesday, February 14, 2018 2:20 PM
To: Evergreen Discussion Group <open-ils-general at list.georgialibraries.org<mailto:open-ils-general at list.georgialibraries.org>>
Subject: Re: [OPEN-ILS-GENERAL] Web Client Print Templates - "You Saved" Calculator

Hi

In 2.11 this is how we have it setup

Line Item
<li>%title%<br/>
Barcode: %barcode% <br/>
Due: <b>%due_date%</b>
<span style="display: none;" sum="sum1">%price%</span> </li>

Footer
</ol><hr />%SHORTNAME% %TODAY_TRIM%<br/> <br/>


<BLOCKQUOTE>
<div style="width:150px;height:70px;padding:10px;border:2px solid black;" align="center"> <font size="4"> <b>You saved: $<span sumout="sum1" fixed="2"></b> </span><br/> by using your<br/> public library <br/> </BLOCKQUOTE> </div>

Not sure if there is a difference in format between 2.11 and 2.12 though

Stuart

***************************************************
Stuart Forrest PhD
IT Analyst
Beaufort County Library System
843 255 6450
sforrest at bcgov.net<mailto:sforrest at bcgov.net>

www.beaufortcountylibrary.org<http://www.beaufortcountylibrary.org>

For Leisure, For Learning, For Life

-----Original Message-----
From: Open-ils-general [mailto:open-ils-general-bounces at list.georgialibraries.org<mailto:open-ils-general-bounces at list.georgialibraries.org>] On Behalf Of Bill Coffey
Sent: Wednesday, February 14, 2018 2:10 PM
To: 'Evergreen Discussion Group'
Subject: Re: [OPEN-ILS-GENERAL] Web Client Print Templates - "You Saved" Calculator

I have yet to get a total amount on any receipt.
Using:

<span style="display: none;" sum="sum1">%price%</span> And removing the style I can get the price of each book to show in the line item area.

In the Footer using:
Cost to buy these books: $  <span sumout="sum1" fixed="2"></span></b> The total sum still does not show after the $

I did get it to show the $0.00 but that is all.
Thanks for any help.

Bill Coffey
Systems Administrator
Wayne County Public Library
1001 E. Ash St
Goldsboro, NC 27530

Phone:  (919) 735-6249
Fax:      (919) 731-2889
email:   bill.coffey at waynegov.com<mailto:bill.coffey at waynegov.com>

-----Original Message-----
From: Open-ils-general [mailto:open-ils-general-bounces at list.georgialibraries.org<mailto:open-ils-general-bounces at list.georgialibraries.org>] On Behalf Of Tina Ji
Sent: Wednesday, February 14, 2018 2:03 PM
To: Evergreen Discussion Group <open-ils-general at list.georgialibraries.org<mailto:open-ils-general at list.georgialibraries.org>>
Subject: Re: [OPEN-ILS-GENERAL] Web Client Print Templates - "You Saved" Calculator

We countered some mystery with the price sum. Though using the same code, a couple of our sites did not see the total initially.
Eventually it showed up, still using the same code. Very weird.

It's on 2.10 and 2.12.

Quoting Bill Coffey <bill.coffey at waynegov.com<mailto:bill.coffey at waynegov.com>>:

> Receipt on staff computer:
> See attachment
>
> Here is the test receipt:
> Welcome to Goldsboro Library! 919-735-1824 Please see a staff member
> to update your email address.
> You checked out the following items:
> ________________________________
>
>   1.  Peace comes to Castle Oak
> Barcode: 3635300990263
> Due: 2006-08-23
> (using %price% to test if the price is there) 10.00
>   2.  The robber barons : the great American capitalists, 1861-1901
> Barcode: 33207002163014
> Due: 2006-09-06
> (using %price% to test if the price is there) 10.95
>   3.  Katy no-pocket
> Barcode: 33034001434539
> Due: 2006-09-06
> (using %price% to test if the price is there) 0.00
>   4.  King's Castle
> Barcode: 31039000791757
> Due: 2006-09-06
> (using %price% to test if the price is there) 5.95
>   5.  Katy no-pocket
> Barcode: 33034001434539
> Due: 2006-09-06
> (using %price% to test if the price is there) 0.00 Cost to buy these
> books: $ The Value of your Public Library - PRICELESS!
> ________________________________
> GOLDSBORO 2018-02-14 10:54
> You were helped by Bill
> ________________________________
> DVDs are $1.00 per day.
> All other items are 25 cents each for every day they're late up to a
> maximum of $10 per item.
>
>
>
> Bill Coffey
> Systems Administrator
> Wayne County Public Library
> 1001 E. Ash St
> Goldsboro, NC 27530
>
> Phone:  (919) 735-6249
> Fax:      (919) 731-2889
> email:   bill.coffey at waynegov.com<mailto:bill.coffey at waynegov.com>
>


--
Tina Ji
1-888-848-9250 ext 1014
Support Specialist
BC Libraries Co-operative


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://libmail.georgialibraries.org/pipermail/open-ils-general/attachments/20180523/fcb51681/attachment-0001.html>


More information about the Open-ils-general mailing list