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

2018-05-23 Thread Terran McCanna
You can use {{checkout.copy.price}} if you want it to display on each line.

Terran McCanna
PINES Program Manager
Georgia Public Library Service
1800 Century Place, Suite 150
Atlanta, GA 30345
404-235-7138
tmcca...@georgialibraries.org


On Wed, May 23, 2018 at 2:54 PM, Oxford, Susan <soxf...@ucn.ca> wrote:

> 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-
> boun...@list.georgialibraries.org] * On Behalf Of *Terran McCanna
> *Sent:* May 23, 2018 1:50 PM
> *To:* Evergreen Discussion Group <open-ils-general@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
> <https://maps.google.com/?q=1800+Century+Place,+Suite+150++%0D%0AAtlanta,+GA+30345++%0D%0A404=gmail=g>
> Atlanta, GA 30345
> 404-235-7138
> tmcca...@georgialibraries.org
>
>
>
> On Wed, May 23, 2018 at 2:36 PM, Oxford, Susan <soxf...@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 %:
> 
> {{patron.first_given_name}}
> {{patron.family_name}}
> {{patron.card.barcode}}
>
> Thanks,
>
> Susan
>
>
> -Original Message-----
> From: Open-ils-general [mailto:open-ils-general-
> boun...@list.georgialibraries.org] On Behalf Of Bill Coffey
> Sent: February 14, 2018 2:31 PM
> To: 'Evergreen Discussion Group' <open-ils-general@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
> <https://maps.google.com/?q=1001+E.+Ash+St+%0D%0AGoldsboro,+NC+27530=gmail=g>
> Goldsboro, NC 27530
>
> Phone:  (919) 735-6249
> Fax:  (919) 731-2889
> email:   bill.cof...@waynegov.com
>
>
> -Original Message-
> From: Open-ils-general [mailto:open-ils-general-
> boun...@list.georgialibraries.org] On Behalf Of Forrest, Stuart
> Sent: Wednesday, February 14, 2018 2:20 PM
> To: Evergreen Discussion Group <open-ils-general@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
> %title%
> Barcode: %barcode% 
> Due: %due_date%
> %price% 
>
> Footer
> %SHORTNAME% %TODAY_TRIM% 
>
>
> 
>  align="center">  You saved: $ fixed="2">  by using your public library 
>  
>
> 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
> sforr...@bcgov.net
>
> www.beaufortcountylibrary.org
>
> For Leisure, For Learning, For Life
>
> -Original Message-
> From: Open-ils-general [mailto:open-ils-general-
> boun...@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:
>
> %price% 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: $   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
> <https://maps.google.com/?q=1001+E.+Ash+St+%0D%0AGoldsboro,+NC+27530=gmail=g>
> Goldsboro, NC 27530
>
> Phone:  (919) 735-6249
> Fax:  (919) 731-2889
> email:   bill.cof...@waynegov.com
>
> -Original Message-
> From: Open-ils-general [mailto:open-ils-general-
> boun...@list.georgialibraries.org] On Behalf Of Tina Ji
> Sent: Wednesday, Februa

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

2018-05-23 Thread Oxford, Susan
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-boun...@list.georgialibraries.org] On Behalf Of Terran 
McCanna
Sent: May 23, 2018 1:50 PM
To: Evergreen Discussion Group <open-ils-general@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
tmcca...@georgialibraries.org<mailto:tmcca...@georgialibraries.org>

On Wed, May 23, 2018 at 2:36 PM, Oxford, Susan 
<soxf...@ucn.ca<mailto:soxf...@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 %:

{{patron.first_given_name}}
{{patron.family_name}}
{{patron.card.barcode}}

Thanks,

Susan


-Original Message-
From: Open-ils-general 
[mailto:open-ils-general-boun...@list.georgialibraries.org<mailto:open-ils-general-boun...@list.georgialibraries.org>]
 On Behalf Of Bill Coffey
Sent: February 14, 2018 2:31 PM
To: 'Evergreen Discussion Group' 
<open-ils-general@list.georgialibraries.org<mailto:open-ils-general@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.cof...@waynegov.com<mailto:bill.cof...@waynegov.com>


-Original Message-
From: Open-ils-general 
[mailto:open-ils-general-boun...@list.georgialibraries.org<mailto:open-ils-general-boun...@list.georgialibraries.org>]
 On Behalf Of Forrest, Stuart
Sent: Wednesday, February 14, 2018 2:20 PM
To: Evergreen Discussion Group 
<open-ils-general@list.georgialibraries.org<mailto:open-ils-general@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
%title%
Barcode: %barcode% 
Due: %due_date%
%price% 

Footer
%SHORTNAME% %TODAY_TRIM% 



  You saved: $  by using your public library  
 

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
sforr...@bcgov.net<mailto:sforr...@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-boun...@list.georgialibraries.org<mailto:open-ils-general-boun...@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:

%price% 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: $   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.cof...@waynegov.com<mailto:bill.cof...@waynegov.com>

-Original Message-
From: Open-ils-general 
[mailto:open-ils-general-boun...@list.georgialibraries.org<mailto:open-ils-general-boun...@list.georgialibraries.org>]
 On Behalf Of Tina Ji
Sent: Wednesday, February 14, 2018 2:03 PM
To: Evergreen Discussion Group 
<open-ils-general@list.georgialibraries.org<mailto:open-ils-general@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.cof...@waynegov.com<mailto:bill.cof...@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.  Pe

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

2018-05-23 Thread Terran McCanna
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
tmcca...@georgialibraries.org


On Wed, May 23, 2018 at 2:36 PM, Oxford, Susan <soxf...@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 %:
> 
> {{patron.first_given_name}}
> {{patron.family_name}}
> {{patron.card.barcode}}
>
> Thanks,
>
> Susan
>
>
> -Original Message-
> From: Open-ils-general [mailto:open-ils-general-
> boun...@list.georgialibraries.org] On Behalf Of Bill Coffey
> Sent: February 14, 2018 2:31 PM
> To: 'Evergreen Discussion Group' <open-ils-general@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.cof...@waynegov.com
>
>
> -Original Message-
> From: Open-ils-general [mailto:open-ils-general-
> boun...@list.georgialibraries.org] On Behalf Of Forrest, Stuart
> Sent: Wednesday, February 14, 2018 2:20 PM
> To: Evergreen Discussion Group <open-ils-general@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
> %title%
> Barcode: %barcode% 
> Due: %due_date%
> %price% 
>
> Footer
> %SHORTNAME% %TODAY_TRIM% 
>
>
> 
>  align="center">  You saved: $ fixed="2">  by using your public library 
>  
>
> 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
> sforr...@bcgov.net
>
> www.beaufortcountylibrary.org
>
> For Leisure, For Learning, For Life
>
> -Original Message-
> From: Open-ils-general [mailto:open-ils-general-
> boun...@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:
>
> %price% 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: $   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.cof...@waynegov.com
>
> -Original Message-
> From: Open-ils-general [mailto:open-ils-general-
> boun...@list.georgialibraries.org] On Behalf Of Tina Ji
> Sent: Wednesday, February 14, 2018 2:03 PM
> To: Evergreen Discussion Group <open-ils-general@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.cof...@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
> > (u

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

2018-05-23 Thread Oxford, Susan
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 %:

{{patron.first_given_name}}
{{patron.family_name}}
{{patron.card.barcode}}

Thanks,

Susan


-Original Message-
From: Open-ils-general 
[mailto:open-ils-general-boun...@list.georgialibraries.org] On Behalf Of Bill 
Coffey
Sent: February 14, 2018 2:31 PM
To: 'Evergreen Discussion Group' <open-ils-general@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.cof...@waynegov.com


-Original Message-
From: Open-ils-general 
[mailto:open-ils-general-boun...@list.georgialibraries.org] On Behalf Of 
Forrest, Stuart
Sent: Wednesday, February 14, 2018 2:20 PM
To: Evergreen Discussion Group <open-ils-general@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
%title%
Barcode: %barcode% 
Due: %due_date%
%price% 

Footer
%SHORTNAME% %TODAY_TRIM% 



  You saved: $  by using your public library  
 

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
sforr...@bcgov.net

www.beaufortcountylibrary.org

For Leisure, For Learning, For Life

-Original Message-
From: Open-ils-general 
[mailto:open-ils-general-boun...@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:

%price% 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: $   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.cof...@waynegov.com

-Original Message-
From: Open-ils-general 
[mailto:open-ils-general-boun...@list.georgialibraries.org] On Behalf Of Tina Ji
Sent: Wednesday, February 14, 2018 2:03 PM
To: Evergreen Discussion Group <open-ils-general@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.cof...@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.cof...@waynegov.com
>


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




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

2018-02-15 Thread Terran McCanna
Yes, that is correct. You'll need to make sure to track any changes that
you make so that when the next upgrade occurs and those files are
recreated, that you can make those changes again. (We use git to track our
customizations.)

Terran McCanna
PINES Program Manager
Georgia Public Library Service
1800 Century Place, Suite 150
Atlanta, GA 30345
404-235-7138
tmcca...@georgialibraries.org


On Thu, Feb 15, 2018 at 3:33 PM, Forrest, Stuart <sforr...@bcgov.net> wrote:

> Terran
>
> You mention TT2 files. Are these stored on the server and do you then
> overwrite the default template code in thse files?
>
> Stuart
> Sent via OWA
> 
> From: Open-ils-general [open-ils-general-boun...@list.georgialibraries.org]
> on behalf of Terran McCanna [tmcca...@georgialibraries.org]
> Sent: Thursday, February 15, 2018 1:59 PM
> To: Evergreen Discussion Group
> Subject: Re: [OPEN-ILS-GENERAL] Web Client Print Templates - "You Saved"
> Calculator
>
> Diane,
>
> All the receipt template code will need to be changed with the move to
> 3.0. I'm not sure if it's made it into the official documentation yet, but
> you are free to refer to the documentation I've written up for PINES here:
> https://pines.georgialibraries.org/dokuwiki/doku.php?id=circ:workstations:
> receipts
>
> And field reference here:
> https://pines.georgialibraries.org/dokuwiki/doku.php?id=circ:workstations:
> receipt-content
>
> When we did our upgrade in January, I took the opportunity to change the
> TT2 files that store the default print templates so that they would meet
> our requirements on day 1 without the individual libraries needing to
> change anything unless they really wanted to. This helped make it a much
> smoother transition.
>
>
>
>
>
>
>
> Terran McCanna
> PINES Program Manager
> Georgia Public Library Service
> 1800 Century Place, Suite 150
> Atlanta, GA 30345
> 404-235-7138
> tmcca...@georgialibraries.org<mailto:tmcca...@georgialibraries.org>
>
>
> On Thu, Feb 15, 2018 at 1:41 PM, Oxford, Susan <soxf...@ucn.ca soxf...@ucn.ca>> wrote:
> Hello,
>
> Our library will be changing to the web based service 3. Does this mean
> that all of the receipt templates coding will have to be changed to
> resemble the code in Stuart's email below, or will the code update
> automatically?
>
> Thanks,
>
> Susan
>
>
> -Original Message-
> From: Open-ils-general [mailto:open-ils-general-
> boun...@list.georgialibraries.org<mailto:open-ils-general-
> boun...@list.georgialibraries.org>] On Behalf Of Forrest, Stuart
> Sent: February 14, 2018 2:46 PM
> To: ddis...@scenicregional.org<mailto:ddis...@scenicregional.org>;
> Evergreen Discussion Group <open-ils-general@list.georgialibraries.org
> <mailto:open-ils-general@list.georgialibraries.org>>
> Subject: Re: [OPEN-ILS-GENERAL] Web Client Print Templates - "You Saved"
> Calculator
>
> Just out of interest, with help from Terran McCanna and John Amundson I
> managed to implement this in 3.0 webclient also. Here is the code I used
> for that.
>
> Welcome to {{current_location.name<http://current_location.name>}}
> You have the following items checked out:   ng-init="transactions.subtotal=0">
> 
>  ng-init="transactions.subtotal=transactions.subtotal
> -- checkout.copy.price" >
> {{checkout.title}}
> Barcode: {{checkout.copy.barcode}} 
> Due: {{checkout.circ.due_date | egDueDate:$root.
> egDateAndTimeFormat:checkout.circ.circ_lib:checkout.circ.duration}}
> 
> Price: {{checkout.copy.price | currency}}
> 
> 
> 
> {{current_location.shortname}} {{today | date:$root.
> egDateAndTimeFormat}}
> You were helped by {{staff.first_given_name}} 
> 
> 
> You saved: {{transactions.subtotal | currency}}
>  by using your
>  public library
> 
> 
>
> Stuart
>
> ***
> Stuart Forrest PhD
> IT Analyst
> Beaufort County Library System
> 843 255 6450<tel:843%20255%206450>
> sforr...@bcgov.net<mailto:sforr...@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-
> boun...@list.georgialibraries.org<mailto:open-ils-general-
> boun...@list.georgialibraries.org>] On Behalf Of Diane Disbro
> Sent: Wednesday, February 14, 2018 3:38 PM
> To: 'Evergreen Discussion Group'
> Subject: Re: [OPEN-ILS-GENERAL] Web Client Print Tem

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

2018-02-15 Thread Forrest, Stuart
Terran

You mention TT2 files. Are these stored on the server and do you then overwrite 
the default template code in thse files?

Stuart
Sent via OWA

From: Open-ils-general [open-ils-general-boun...@list.georgialibraries.org] on 
behalf of Terran McCanna [tmcca...@georgialibraries.org]
Sent: Thursday, February 15, 2018 1:59 PM
To: Evergreen Discussion Group
Subject: Re: [OPEN-ILS-GENERAL] Web Client Print Templates - "You Saved" 
Calculator

Diane,

All the receipt template code will need to be changed with the move to 3.0. I'm 
not sure if it's made it into the official documentation yet, but you are free 
to refer to the documentation I've written up for PINES here:
https://pines.georgialibraries.org/dokuwiki/doku.php?id=circ:workstations:receipts

And field reference here:
https://pines.georgialibraries.org/dokuwiki/doku.php?id=circ:workstations:receipt-content

When we did our upgrade in January, I took the opportunity to change the TT2 
files that store the default print templates so that they would meet our 
requirements on day 1 without the individual libraries needing to change 
anything unless they really wanted to. This helped make it a much smoother 
transition.







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


On Thu, Feb 15, 2018 at 1:41 PM, Oxford, Susan 
<soxf...@ucn.ca<mailto:soxf...@ucn.ca>> wrote:
Hello,

Our library will be changing to the web based service 3. Does this mean that 
all of the receipt templates coding will have to be changed to resemble the 
code in Stuart's email below, or will the code update automatically?

Thanks,

Susan


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

Just out of interest, with help from Terran McCanna and John Amundson I managed 
to implement this in 3.0 webclient also. Here is the code I used for that.

Welcome to {{current_location.name<http://current_location.name>}} 
You have the following items checked out:  


{{checkout.title}}
Barcode: {{checkout.copy.barcode}} 
Due: {{checkout.circ.due_date | 
egDueDate:$root.egDateAndTimeFormat:checkout.circ.circ_lib:checkout.circ.duration}}

Price: {{checkout.copy.price | currency}}



{{current_location.shortname}} {{today | 
date:$root.egDateAndTimeFormat}}
You were helped by {{staff.first_given_name}} 


You saved: {{transactions.subtotal | currency}}
 by using your
 public library



Stuart

***
Stuart Forrest PhD
IT Analyst
Beaufort County Library System
843 255 6450<tel:843%20255%206450>
sforr...@bcgov.net<mailto:sforr...@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-boun...@list.georgialibraries.org<mailto:open-ils-general-boun...@list.georgialibraries.org>]
 On Behalf Of Diane Disbro
Sent: Wednesday, February 14, 2018 3:38 PM
To: 'Evergreen Discussion Group'
Subject: Re: [OPEN-ILS-GENERAL] Web Client Print Templates - "You Saved" 
Calculator

And thank you for this discussion so that the rest of us know how to implement 
this practice at our libraries!

Diane Disbro
Circulation Coordinator/Branch Manager
Union Branch
Scenic Regional Library
308 Hawthorne Drive
Union, MO 63084
(636) 583-3224<tel:%28636%29%20583-3224>
www.scenicregional.org<http://www.scenicregional.org>




-Original Message-
From: Open-ils-general 
[mailto:open-ils-general-boun...@list.georgialibraries.org<mailto:open-ils-general-boun...@list.georgialibraries.org>]
 On Behalf Of Bill Coffey
Sent: Wednesday, February 14, 2018 2:31 PM
To: 'Evergreen Discussion Group'
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<tel:%28919%29%20735-6249>
Fax:  (919) 731-2889<tel:%28919%29%20731-2889>
email:   bill.cof...@waynegov.com<mailto:bill.cof...@waynegov.com>


-Original Message-
From: Open-ils-general 
[mailto:open-ils-general-boun

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

2018-02-15 Thread Terran McCanna
Whoever is in charge of doing local customizations on your Evergreen
installation would need to make the modifications to the TT2 files. They
are located in templates/staff/share/print_templates. When we did ours, we
worked in the web client to test changes and get the templates to display
what we wanted, and then transferred that to our TT2 files.



Terran McCanna
PINES Program Manager
Georgia Public Library Service
1800 Century Place, Suite 150
Atlanta, GA 30345
404-235-7138
tmcca...@georgialibraries.org


On Thu, Feb 15, 2018 at 2:20 PM, Oxford, Susan  wrote:

> Thank you. Do you have information about the process for changing the  TT2
> files that store the default print templates so that they would meet our
> requirements on day 1 without the individual libraries needing to change
> anything unless they really wanted to.
>
>
>
> Thank you,
>
>
>
> Susan
>
>
>


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

2018-02-15 Thread Oxford, Susan
Thank you. Do you have information about the process for changing the  TT2 
files that store the default print templates so that they would meet our 
requirements on day 1 without the individual libraries needing to change 
anything unless they really wanted to.

Thank you,

Susan


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

Diane,
All the receipt template code will need to be changed with the move to 3.0. I'm 
not sure if it's made it into the official documentation yet, but you are free 
to refer to the documentation I've written up for PINES here:
https://pines.georgialibraries.org/dokuwiki/doku.php?id=circ:workstations:receipts
And field reference here:
https://pines.georgialibraries.org/dokuwiki/doku.php?id=circ:workstations:receipt-content
When we did our upgrade in January, I took the opportunity to change the TT2 
files that store the default print templates so that they would meet our 
requirements on day 1 without the individual libraries needing to change 
anything unless they really wanted to. This helped make it a much smoother 
transition.





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

On Thu, Feb 15, 2018 at 1:41 PM, Oxford, Susan 
<soxf...@ucn.ca<mailto:soxf...@ucn.ca>> wrote:
Hello,

Our library will be changing to the web based service 3. Does this mean that 
all of the receipt templates coding will have to be changed to resemble the 
code in Stuart's email below, or will the code update automatically?

Thanks,

Susan


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

Just out of interest, with help from Terran McCanna and John Amundson I managed 
to implement this in 3.0 webclient also. Here is the code I used for that.

Welcome to {{current_location.name<http://current_location.name>}} 
You have the following items checked out:  


{{checkout.title}}
Barcode: {{checkout.copy.barcode}} 
Due: {{checkout.circ.due_date | 
egDueDate:$root.egDateAndTimeFormat:checkout.circ.circ_lib:checkout.circ.duration}}

Price: {{checkout.copy.price | currency}}



{{current_location.shortname}} {{today | 
date:$root.egDateAndTimeFormat}}
You were helped by {{staff.first_given_name}} 


You saved: {{transactions.subtotal | currency}}
 by using your
 public library



Stuart

***
Stuart Forrest PhD
IT Analyst
Beaufort County Library System
843 255 6450<tel:843%20255%206450>
sforr...@bcgov.net<mailto:sforr...@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-boun...@list.georgialibraries.org<mailto:open-ils-general-boun...@list.georgialibraries.org>]
 On Behalf Of Diane Disbro
Sent: Wednesday, February 14, 2018 3:38 PM
To: 'Evergreen Discussion Group'
Subject: Re: [OPEN-ILS-GENERAL] Web Client Print Templates - "You Saved" 
Calculator

And thank you for this discussion so that the rest of us know how to implement 
this practice at our libraries!

Diane Disbro
Circulation Coordinator/Branch Manager
Union Branch
Scenic Regional Library
308 Hawthorne Drive
Union, MO 63084
(636) 583-3224<tel:%28636%29%20583-3224>
www.scenicregional.org<http://www.scenicregional.org>




-Original Message-
From: Open-ils-general 
[mailto:open-ils-general-boun...@list.georgialibraries.org<mailto:open-ils-general-boun...@list.georgialibraries.org>]
 On Behalf Of Bill Coffey
Sent: Wednesday, February 14, 2018 2:31 PM
To: 'Evergreen Discussion Group'
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<tel:%28919%29%20735-6249>
Fax:  (919) 731-2889<tel:%28919%29%20731-2889>
email:   bill.cof...@waynegov.com<mailto:bi

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

2018-02-15 Thread Oxford, Susan
Hello,

Our library will be changing to the web based service 3. Does this mean that 
all of the receipt templates coding will have to be changed to resemble the 
code in Stuart's email below, or will the code update automatically?

Thanks,

Susan


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

Just out of interest, with help from Terran McCanna and John Amundson I managed 
to implement this in 3.0 webclient also. Here is the code I used for that.

Welcome to {{current_location.name}} You have the following 
items checked out:  


{{checkout.title}}
Barcode: {{checkout.copy.barcode}} 
Due: {{checkout.circ.due_date | 
egDueDate:$root.egDateAndTimeFormat:checkout.circ.circ_lib:checkout.circ.duration}}

Price: {{checkout.copy.price | currency}}



{{current_location.shortname}} {{today | 
date:$root.egDateAndTimeFormat}}
You were helped by {{staff.first_given_name}} 


You saved: {{transactions.subtotal | currency}}
 by using your
 public library



Stuart

***
Stuart Forrest PhD
IT Analyst
Beaufort County Library System
843 255 6450
sforr...@bcgov.net

www.beaufortcountylibrary.org

For Leisure, For Learning, For Life


-Original Message-
From: Open-ils-general 
[mailto:open-ils-general-boun...@list.georgialibraries.org] On Behalf Of Diane 
Disbro
Sent: Wednesday, February 14, 2018 3:38 PM
To: 'Evergreen Discussion Group'
Subject: Re: [OPEN-ILS-GENERAL] Web Client Print Templates - "You Saved" 
Calculator

And thank you for this discussion so that the rest of us know how to implement 
this practice at our libraries!

Diane Disbro
Circulation Coordinator/Branch Manager
Union Branch
Scenic Regional Library
308 Hawthorne Drive
Union, MO 63084
(636) 583-3224
www.scenicregional.org




-Original Message-
From: Open-ils-general 
[mailto:open-ils-general-boun...@list.georgialibraries.org] On Behalf Of Bill 
Coffey
Sent: Wednesday, February 14, 2018 2:31 PM
To: 'Evergreen Discussion Group'
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.cof...@waynegov.com


-Original Message-
From: Open-ils-general 
[mailto:open-ils-general-boun...@list.georgialibraries.org] On Behalf Of 
Forrest, Stuart
Sent: Wednesday, February 14, 2018 2:20 PM
To: Evergreen Discussion Group <open-ils-general@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
%title%
Barcode: %barcode% 
Due: %due_date%
%price% 

Footer
%SHORTNAME% %TODAY_TRIM% 



  You saved: $  by using your public library  
 

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
sforr...@bcgov.net

www.beaufortcountylibrary.org

For Leisure, For Learning, For Life

-Original Message-
From: Open-ils-general 
[mailto:open-ils-general-boun...@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:

%price% 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: $   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.cof...@waynegov.com

-Original Message-
From: Open-ils-general 
[mailto:open-ils-general-boun...@list.georgialibraries.org] On Behalf Of Tina Ji
Sent: Wednesday, February 14, 2018 2:03 PM
To: Evergreen Discussion Group <open-ils-general@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.

Quoti

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

2018-02-14 Thread Forrest, Stuart
Just out of interest, with help from Terran McCanna and John Amundson I managed 
to implement this in 3.0 webclient also. Here is the code I used for that.

Welcome to {{current_location.name}}
You have the following items checked out:




{{checkout.title}}
Barcode: {{checkout.copy.barcode}} 
Due: {{checkout.circ.due_date | 
egDueDate:$root.egDateAndTimeFormat:checkout.circ.circ_lib:checkout.circ.duration}}

Price: {{checkout.copy.price | currency}}



{{current_location.shortname}} {{today | 
date:$root.egDateAndTimeFormat}}
You were helped by {{staff.first_given_name}}



You saved: {{transactions.subtotal | currency}}
 by using your
 public library



Stuart

***
Stuart Forrest PhD
IT Analyst
Beaufort County Library System
843 255 6450
sforr...@bcgov.net

www.beaufortcountylibrary.org

For Leisure, For Learning, For Life


-Original Message-
From: Open-ils-general 
[mailto:open-ils-general-boun...@list.georgialibraries.org] On Behalf Of Diane 
Disbro
Sent: Wednesday, February 14, 2018 3:38 PM
To: 'Evergreen Discussion Group'
Subject: Re: [OPEN-ILS-GENERAL] Web Client Print Templates - "You Saved" 
Calculator

And thank you for this discussion so that the rest of us know how to implement 
this practice at our libraries!

Diane Disbro
Circulation Coordinator/Branch Manager
Union Branch
Scenic Regional Library
308 Hawthorne Drive
Union, MO 63084
(636) 583-3224
www.scenicregional.org




-Original Message-
From: Open-ils-general 
[mailto:open-ils-general-boun...@list.georgialibraries.org] On Behalf Of Bill 
Coffey
Sent: Wednesday, February 14, 2018 2:31 PM
To: 'Evergreen Discussion Group'
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.cof...@waynegov.com


-Original Message-
From: Open-ils-general 
[mailto:open-ils-general-boun...@list.georgialibraries.org] On Behalf Of 
Forrest, Stuart
Sent: Wednesday, February 14, 2018 2:20 PM
To: Evergreen Discussion Group <open-ils-general@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
%title%
Barcode: %barcode% 
Due: %due_date%
%price% 

Footer
%SHORTNAME% %TODAY_TRIM% 



  You saved: $  by using your public library  
 

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
sforr...@bcgov.net

www.beaufortcountylibrary.org

For Leisure, For Learning, For Life

-Original Message-
From: Open-ils-general 
[mailto:open-ils-general-boun...@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:

%price% 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: $   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.cof...@waynegov.com

-Original Message-
From: Open-ils-general 
[mailto:open-ils-general-boun...@list.georgialibraries.org] On Behalf Of Tina Ji
Sent: Wednesday, February 14, 2018 2:03 PM
To: Evergreen Discussion Group <open-ils-general@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.cof...@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 i

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

2018-02-14 Thread Diane Disbro
And thank you for this discussion so that the rest of us know how to implement 
this practice at our libraries!

Diane Disbro
Circulation Coordinator/Branch Manager
Union Branch
Scenic Regional Library
308 Hawthorne Drive
Union, MO 63084
(636) 583-3224
www.scenicregional.org




-Original Message-
From: Open-ils-general 
[mailto:open-ils-general-boun...@list.georgialibraries.org] On Behalf Of Bill 
Coffey
Sent: Wednesday, February 14, 2018 2:31 PM
To: 'Evergreen Discussion Group'
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.cof...@waynegov.com


-Original Message-
From: Open-ils-general 
[mailto:open-ils-general-boun...@list.georgialibraries.org] On Behalf Of 
Forrest, Stuart
Sent: Wednesday, February 14, 2018 2:20 PM
To: Evergreen Discussion Group <open-ils-general@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
%title%
Barcode: %barcode% 
Due: %due_date%
%price% 

Footer
%SHORTNAME% %TODAY_TRIM% 



  You saved: $  by using your public library  
 

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
sforr...@bcgov.net

www.beaufortcountylibrary.org

For Leisure, For Learning, For Life

-Original Message-
From: Open-ils-general 
[mailto:open-ils-general-boun...@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:

%price% 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: $   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.cof...@waynegov.com

-Original Message-
From: Open-ils-general 
[mailto:open-ils-general-boun...@list.georgialibraries.org] On Behalf Of Tina Ji
Sent: Wednesday, February 14, 2018 2:03 PM
To: Evergreen Discussion Group <open-ils-general@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.cof...@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.cof...@waynegov.com
>


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





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

2018-02-14 Thread Bill Coffey
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.cof...@waynegov.com


-Original Message-
From: Open-ils-general 
[mailto:open-ils-general-boun...@list.georgialibraries.org] On Behalf Of 
Forrest, Stuart
Sent: Wednesday, February 14, 2018 2:20 PM
To: Evergreen Discussion Group <open-ils-general@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
%title%
Barcode: %barcode% 
Due: %due_date%
%price% 

Footer
%SHORTNAME% %TODAY_TRIM% 



  You saved: $  by using your public library  
 

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
sforr...@bcgov.net

www.beaufortcountylibrary.org

For Leisure, For Learning, For Life

-Original Message-
From: Open-ils-general 
[mailto:open-ils-general-boun...@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:

%price% 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: $   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.cof...@waynegov.com

-Original Message-
From: Open-ils-general 
[mailto:open-ils-general-boun...@list.georgialibraries.org] On Behalf Of Tina Ji
Sent: Wednesday, February 14, 2018 2:03 PM
To: Evergreen Discussion Group <open-ils-general@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.cof...@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.cof...@waynegov.com
>


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




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

2018-02-14 Thread Forrest, Stuart
Hi

In 2.11 this is how we have it setup

Line Item
%title%
Barcode: %barcode% 
Due: %due_date%
%price%


Footer
%SHORTNAME% %TODAY_TRIM%






You saved: $  by using 
your public library




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
sforr...@bcgov.net

www.beaufortcountylibrary.org

For Leisure, For Learning, For Life

-Original Message-
From: Open-ils-general 
[mailto:open-ils-general-boun...@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:

%price% 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: $   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.cof...@waynegov.com

-Original Message-
From: Open-ils-general 
[mailto:open-ils-general-boun...@list.georgialibraries.org] On Behalf Of Tina Ji
Sent: Wednesday, February 14, 2018 2:03 PM
To: Evergreen Discussion Group <open-ils-general@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.cof...@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.cof...@waynegov.com
>


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




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

2018-02-14 Thread Bill Coffey
I have yet to get a total amount on any receipt.
Using:

%price%
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: $  
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.cof...@waynegov.com

-Original Message-
From: Open-ils-general 
[mailto:open-ils-general-boun...@list.georgialibraries.org] On Behalf Of Tina Ji
Sent: Wednesday, February 14, 2018 2:03 PM
To: Evergreen Discussion Group <open-ils-general@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.cof...@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.cof...@waynegov.com
>


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




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

2018-02-14 Thread Tina Ji
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 :


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.cof...@waynegov.com




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




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

2018-02-14 Thread Kathy Lussier
I'm sorry Bill. I was only half reading the thread and thought you were 
talking about the web client. Yes, that method should continue to work 
on 2.12.


Kathy


On 02/14/2018 10:26 AM, Bill Coffey wrote


y2.12

I do believe it did work on 2.9, but not sure.

Electronic Circuit Board

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.cof...@waynegov.com

*From:*Open-ils-general 
[mailto:open-ils-general-boun...@list.georgialibraries.org] *On Behalf 
Of *Kathy Lussier

*Sent:* Wednesday, February 14, 2018 10:13 AM
*To:* open-ils-general@list.georgialibraries.org
*Subject:* Re: [OPEN-ILS-GENERAL] Web Client Print Templates - "You 
Saved" Calculator


Hi Bill,

Are you on 2.12 or 3.0? I'm not sure, but it could be an issue that 
didn't work in 2.12, but was eventually resolved in 3.0.


Kathy

On 02/14/2018 10:09 AM, Bill Coffey wrote:

I have added it to (2) staff workstations and there not getting
any totals.

Electronic Circuit Board

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.cof...@waynegov.com <mailto:bill.cof...@waynegov.com>

*From:*Open-ils-general
[mailto:open-ils-general-boun...@list.georgialibraries.org] *On
Behalf Of *John Amundson
*Sent:* Wednesday, February 14, 2018 10:04 AM
*To:* Evergreen Discussion Group
<open-ils-general@list.georgialibraries.org>
<mailto:open-ils-general@list.georgialibraries.org>
    *Subject:* Re: [OPEN-ILS-GENERAL] Web Client Print Templates -
"You Saved" Calculator

Hi, Bill:

Your code seems to work for me.

The summed amount will not show in the preview. To confirm it is
added correctly, you can print a checkout receipt.

John


<http://www.cwmars.org>



John Amundson | Library Applications Associate III | CW MARS

jamund...@cwmars.org <mailto:jamund...@cwmars.org> | 508-755-3323
x322 <tel:%28508%29%20755-3323>

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

On Wed, Feb 14, 2018 at 7:42 AM, Bill Coffey
<bill.cof...@waynegov.com <mailto:bill.cof...@waynegov.com>> wrote:

I am having a problem with the receipt for checkouts.

I have tried several variants for the coding, but I can’t get
the total.

In the Line Item section I can get the Price of the books with
the addition of the section in red.

Here is the setup for my Library.

Header:

Welcome to %LIBRARY%! 919-735-1824 <tel:%28919%29%20735-1824>

Please see a staff member to update your email address.

You checked out the following items:

Line Item:

%title%

Barcode: %barcode%

Due: %due_date% 

Added and shows price of books

%price% %price%

Footer:



Cost to buy these books: $

The Value of your Public Library - PRICELESS!

%SHORTNAME% %TODAY_TRIM%

You were helped by %STAFF_FIRSTNAME%

 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

<https://maps.google.com/?q=1001+E.+Ash+St%0D+Goldsboro,+NC+27530=gmail=g>

Goldsboro, NC 27530

<https://maps.google.com/?q=1001+E.+Ash+St%0D+Goldsboro,+NC+27530=gmail=g>

Phone: (919) 735-6249 <tel:%28919%29%20735-6249>

Fax: (919) 731-2889 <tel:%28919%29%20731-2889>

email: bill.cof...@waynegov.com <mailto:bill.cof...@waynegov.com>

*From:*Open-ils-general
[mailto:open-ils-general-boun...@list.georgialibraries.org
<mailto:open-ils-general-boun...@list.georgialibraries.org>]
*On Behalf Of *Terran McCanna
*Sent:* Tuesday, February 13, 2018 5:41 PM
*To:* Evergreen Discussion Group
<open-ils-general@list.georgialibraries.org
    <mailto:open-ils-general@list.georgialibraries.org>>
*Subject:* Re: [OPEN-ILS-GENERAL] Web Client Print Templates -
"You Saved" Calculator

Great! Glad it works!


Terran McCanna
PINES Program Manager
Georgia Public Library Service
1800 Century Place, Suite 150

<https://maps.google.com/?q=1800+Century+Place,+Suite+150+%0D+Atlanta,+GA+30345=gmail=g>
Atlanta, GA 30345
404-235-7138 <tel:%28404%29%20235-7138>
tmcca...@georgialibraries.org
<mailto:tmcca...@georgialibraries.org>

On Tue, Feb 13, 2018 at 5:03 PM, John Amundson
<jamund...@cwmars.org 

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

2018-02-14 Thread Bill Coffey
2.12
I do believe it did work on 2.9, but not sure.


[Electronic Circuit Board]
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.cof...@waynegov.com

From: Open-ils-general 
[mailto:open-ils-general-boun...@list.georgialibraries.org] On Behalf Of Kathy 
Lussier
Sent: Wednesday, February 14, 2018 10:13 AM
To: open-ils-general@list.georgialibraries.org
Subject: Re: [OPEN-ILS-GENERAL] Web Client Print Templates - "You Saved" 
Calculator


Hi Bill,

Are you on 2.12 or 3.0? I'm not sure, but it could be an issue that didn't work 
in 2.12, but was eventually resolved in 3.0.

Kathy

On 02/14/2018 10:09 AM, Bill Coffey wrote:
I have added it to (2) staff workstations and there not getting any totals.


[Electronic Circuit Board]
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.cof...@waynegov.com<mailto:bill.cof...@waynegov.com>

From: Open-ils-general 
[mailto:open-ils-general-boun...@list.georgialibraries.org] On Behalf Of John 
Amundson
Sent: Wednesday, February 14, 2018 10:04 AM
To: Evergreen Discussion Group 
<open-ils-general@list.georgialibraries.org><mailto:open-ils-general@list.georgialibraries.org>
Subject: Re: [OPEN-ILS-GENERAL] Web Client Print Templates - "You Saved" 
Calculator

Hi, Bill:

Your code seems to work for me.

The summed amount will not show in the preview. To confirm it is added 
correctly, you can print a checkout receipt.

John

[https://lh5.googleusercontent.com/C1fNrKOLEXFs-jfAIXQIMqbKqVBCJrBceOenfgotAcJE6XtZ2ZeeTYFkyfir63-HfzjX6q5zhBQWiO5RZk2tYnWzJ1_rjAADAH4nCmiuhNJuoG8HZLq7MBW-pAU4R9ScKcCybdVO]<http://www.cwmars.org>


John Amundson | Library Applications Associate III | CW MARS

jamund...@cwmars.org<mailto:jamund...@cwmars.org> | 508-755-3323 
x322<tel:%28508%29%20755-3323>

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


On Wed, Feb 14, 2018 at 7:42 AM, Bill Coffey 
<bill.cof...@waynegov.com<mailto:bill.cof...@waynegov.com>> wrote:
I am having a problem with the receipt for checkouts.
I have tried several variants for the coding, but I can’t get the total.
In the Line Item section I can get the Price of the books with the addition of 
the section in red.

Here is the setup for my Library.
Header:

Welcome to %LIBRARY%! 919-735-1824<tel:%28919%29%20735-1824>
Please see a staff member to update your email address.
You checked out the following items:

Line Item:

%title%
Barcode: %barcode%
Due: %due_date% 
Added and shows price of books
%price% %price%

Footer:

Cost to buy these books: $
The Value of your Public Library - PRICELESS!
%SHORTNAME% %TODAY_TRIM%
You were helped by %STAFF_FIRSTNAME%
 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<https://maps.google.com/?q=1001+E.+Ash+St%0D+Goldsboro,+NC+27530=gmail=g>
Goldsboro, NC 
27530<https://maps.google.com/?q=1001+E.+Ash+St%0D+Goldsboro,+NC+27530=gmail=g>

Phone:  (919) 735-6249<tel:%28919%29%20735-6249>
Fax:  (919) 731-2889<tel:%28919%29%20731-2889>
email:   bill.cof...@waynegov.com<mailto:bill.cof...@waynegov.com>

From: Open-ils-general 
[mailto:open-ils-general-boun...@list.georgialibraries.org<mailto:open-ils-general-boun...@list.georgialibraries.org>]
 On Behalf Of Terran McCanna
Sent: Tuesday, February 13, 2018 5:41 PM
To: Evergreen Discussion Group 
<open-ils-general@list.georgialibraries.org<mailto:open-ils-general@list.georgialibraries.org>>
Subject: Re: [OPEN-ILS-GENERAL] Web Client Print Templates - "You Saved" 
Calculator

Great! Glad it works!

Terran McCanna
PINES Program Manager
Georgia Public Library Service
1800 Century Place, Suite 150 
<https://maps.google.com/?q=1800+Century+Place,+Suite+150+%0D+Atlanta,+GA+30345=gmail=g>
Atlanta, GA 30345
404-235-7138<tel:%28404%29%20235-7138>
tmcca...@georgialibraries.org<mailto:tmcca...@georgialibraries.org>

On Tue, Feb 13, 2018 at 5:03 PM, John Amundson 
<jamund...@cwmars.org<mailto:jamund...@cwmars.org>> wrote:
Thanks, Terran!

That seems to do the trick.

If anyone is curious about how I added this to the checkout receipt:

...

  



  

You Saved{{transactions.subtotal | currency}} by 
borrowing from  
{{current_location.name<http://current_location.name>}}!
...

[https://lh5.googleusercontent.com/C1fNrKOLEXFs-jfAIXQIMqbKqVBCJrBceOenfgotAcJE6XtZ2ZeeTYFkyfir63-HfzjX6q5zhBQWiO5RZk2tYnWzJ1_rjAADAH4nCmiuhNJuoG8HZLq7MBW-pAU4R9ScKcCybdVO]<http://www.cwmars.org/>


John Amundson | Library Applications Associate III | CW MARS

jamund...@cwmars.org<mailto:jamund...@cwmars.org> | 

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

2018-02-14 Thread Kathy Lussier

Hi Bill,

Are you on 2.12 or 3.0? I'm not sure, but it could be an issue that 
didn't work in 2.12, but was eventually resolved in 3.0.


Kathy


On 02/14/2018 10:09 AM, Bill Coffey wrote:


I have added it to (2) staff workstations and there not getting any 
totals.


Electronic Circuit Board

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.cof...@waynegov.com

*From:*Open-ils-general 
[mailto:open-ils-general-boun...@list.georgialibraries.org] *On Behalf 
Of *John Amundson

*Sent:* Wednesday, February 14, 2018 10:04 AM
*To:* Evergreen Discussion Group 
<open-ils-general@list.georgialibraries.org>
*Subject:* Re: [OPEN-ILS-GENERAL] Web Client Print Templates - "You 
Saved" Calculator


Hi, Bill:

Your code seems to work for me.

The summed amount will not show in the preview. To confirm it is added 
correctly, you can print a checkout receipt.


John


<http://www.cwmars.org>



John Amundson | Library Applications Associate III | CW MARS

jamund...@cwmars.org <mailto:jamund...@cwmars.org> | 508-755-3323 x322 
<tel:%28508%29%20755-3323>


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

On Wed, Feb 14, 2018 at 7:42 AM, Bill Coffey <bill.cof...@waynegov.com 
<mailto:bill.cof...@waynegov.com>> wrote:


I am having a problem with the receipt for checkouts.

I have tried several variants for the coding, but I can’t get the
total.

In the Line Item section I can get the Price of the books with the
addition of the section in red.

Here is the setup for my Library.

Header:

Welcome to %LIBRARY%! 919-735-1824 <tel:%28919%29%20735-1824>

Please see a staff member to update your email address.

You checked out the following items:

Line Item:

%title%

Barcode: %barcode%

Due: %due_date% 

Added and shows price of books

%price% %price%

Footer:



Cost to buy these books: $

The Value of your Public Library - PRICELESS!

%SHORTNAME% %TODAY_TRIM%

You were helped by %STAFF_FIRSTNAME%

 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

<https://maps.google.com/?q=1001+E.+Ash+St%0D+Goldsboro,+NC+27530=gmail=g>

Goldsboro, NC 27530

<https://maps.google.com/?q=1001+E.+Ash+St%0D+Goldsboro,+NC+27530=gmail=g>

Phone: (919) 735-6249 <tel:%28919%29%20735-6249>

Fax: (919) 731-2889 <tel:%28919%29%20731-2889>

email: bill.cof...@waynegov.com <mailto:bill.cof...@waynegov.com>

*From:*Open-ils-general
[mailto:open-ils-general-boun...@list.georgialibraries.org
<mailto:open-ils-general-boun...@list.georgialibraries.org>] *On
Behalf Of *Terran McCanna
*Sent:* Tuesday, February 13, 2018 5:41 PM
*To:* Evergreen Discussion Group
<open-ils-general@list.georgialibraries.org
    <mailto:open-ils-general@list.georgialibraries.org>>
*Subject:* Re: [OPEN-ILS-GENERAL] Web Client Print Templates -
"You Saved" Calculator

Great! Glad it works!


Terran McCanna
PINES Program Manager
Georgia Public Library Service
1800 Century Place, Suite 150

<https://maps.google.com/?q=1800+Century+Place,+Suite+150+%0D+Atlanta,+GA+30345=gmail=g>
Atlanta, GA 30345
404-235-7138 <tel:%28404%29%20235-7138>
tmcca...@georgialibraries.org <mailto:tmcca...@georgialibraries.org>

On Tue, Feb 13, 2018 at 5:03 PM, John Amundson
<jamund...@cwmars.org <mailto:jamund...@cwmars.org>> wrote:

Thanks, Terran!

That seems to do the trick.

If anyone is curious about how I added this to the checkout
receipt:

...





    

    





    

You Saved{{transactions.subtotal |
currency}} by borrowing from 
{{current_location.name <http://current_location.name>}}!

...



https://lh5.googleusercontent.com/C1fNrKOLEXFs-jfAIXQIMqbKqVBCJrBceOenfgotAcJE6XtZ2ZeeTYFkyfir63-HfzjX6q5zhBQWiO5RZk2tYnWzJ1_rjAADAH4nCmiuhNJuoG8HZLq7MBW-pAU4R9ScKcCybdVO
<http://www.cwmars.org/>



John Amundson | Library Applications Associate III | CW MARS

jamund...@cwmars.org <mailto:jamund...@cwmars.org>|
508-755-3323 x322 <tel:%28508%29%20755-3323>

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

On Tue, Feb 13, 2018 at 4:13 PM, Terran McCanna
<tmcca...@georgialibraries.org
<mailto:tmcca...@georgialibraries.org>> wrote:

I have an example here that subtotals bill amounts:

https://

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

2018-02-14 Thread Bill Coffey
I have added it to (2) staff workstations and there not getting any totals.


[Electronic Circuit Board]
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.cof...@waynegov.com

From: Open-ils-general 
[mailto:open-ils-general-boun...@list.georgialibraries.org] On Behalf Of John 
Amundson
Sent: Wednesday, February 14, 2018 10:04 AM
To: Evergreen Discussion Group <open-ils-general@list.georgialibraries.org>
Subject: Re: [OPEN-ILS-GENERAL] Web Client Print Templates - "You Saved" 
Calculator

Hi, Bill:

Your code seems to work for me.

The summed amount will not show in the preview. To confirm it is added 
correctly, you can print a checkout receipt.

John

[https://lh5.googleusercontent.com/C1fNrKOLEXFs-jfAIXQIMqbKqVBCJrBceOenfgotAcJE6XtZ2ZeeTYFkyfir63-HfzjX6q5zhBQWiO5RZk2tYnWzJ1_rjAADAH4nCmiuhNJuoG8HZLq7MBW-pAU4R9ScKcCybdVO]<http://www.cwmars.org>


John Amundson | Library Applications Associate III | CW MARS

jamund...@cwmars.org<mailto:jamund...@cwmars.org> | 508-755-3323 
x322<tel:%28508%29%20755-3323>

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


On Wed, Feb 14, 2018 at 7:42 AM, Bill Coffey 
<bill.cof...@waynegov.com<mailto:bill.cof...@waynegov.com>> wrote:
I am having a problem with the receipt for checkouts.
I have tried several variants for the coding, but I can’t get the total.
In the Line Item section I can get the Price of the books with the addition of 
the section in red.

Here is the setup for my Library.
Header:

Welcome to %LIBRARY%! 919-735-1824<tel:(919)%20735-1824>
Please see a staff member to update your email address.
You checked out the following items:

Line Item:

%title%
Barcode: %barcode%
Due: %due_date% 
Added and shows price of books
%price% %price%

Footer:

Cost to buy these books: $
The Value of your Public Library - PRICELESS!
%SHORTNAME% %TODAY_TRIM%
You were helped by %STAFF_FIRSTNAME%
 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<https://maps.google.com/?q=1001+E.+Ash+St%0D+Goldsboro,+NC+27530=gmail=g>
Goldsboro, NC 
27530<https://maps.google.com/?q=1001+E.+Ash+St%0D+Goldsboro,+NC+27530=gmail=g>

Phone:  (919) 735-6249<tel:(919)%20735-6249>
Fax:  (919) 731-2889<tel:(919)%20731-2889>
email:   bill.cof...@waynegov.com<mailto:bill.cof...@waynegov.com>

From: Open-ils-general 
[mailto:open-ils-general-boun...@list.georgialibraries.org<mailto:open-ils-general-boun...@list.georgialibraries.org>]
 On Behalf Of Terran McCanna
Sent: Tuesday, February 13, 2018 5:41 PM
To: Evergreen Discussion Group 
<open-ils-general@list.georgialibraries.org<mailto:open-ils-general@list.georgialibraries.org>>
Subject: Re: [OPEN-ILS-GENERAL] Web Client Print Templates - "You Saved" 
Calculator

Great! Glad it works!

Terran McCanna
PINES Program Manager
Georgia Public Library Service
1800 Century Place, Suite 150 
<https://maps.google.com/?q=1800+Century+Place,+Suite+150+%0D+Atlanta,+GA+30345=gmail=g>
Atlanta, GA 30345
404-235-7138<tel:(404)%20235-7138>
tmcca...@georgialibraries.org<mailto:tmcca...@georgialibraries.org>

On Tue, Feb 13, 2018 at 5:03 PM, John Amundson 
<jamund...@cwmars.org<mailto:jamund...@cwmars.org>> wrote:
Thanks, Terran!

That seems to do the trick.

If anyone is curious about how I added this to the checkout receipt:

...

  



  

You Saved{{transactions.subtotal | currency}} by 
borrowing from  
{{current_location.name<http://current_location.name>}}!
...

[https://lh5.googleusercontent.com/C1fNrKOLEXFs-jfAIXQIMqbKqVBCJrBceOenfgotAcJE6XtZ2ZeeTYFkyfir63-HfzjX6q5zhBQWiO5RZk2tYnWzJ1_rjAADAH4nCmiuhNJuoG8HZLq7MBW-pAU4R9ScKcCybdVO]<http://www.cwmars.org/>


John Amundson | Library Applications Associate III | CW MARS

jamund...@cwmars.org<mailto:jamund...@cwmars.org> | 508-755-3323 
x322<tel:%28508%29%20755-3323>

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


On Tue, Feb 13, 2018 at 4:13 PM, Terran McCanna 
<tmcca...@georgialibraries.org<mailto:tmcca...@georgialibraries.org>> wrote:
I have an example here that subtotals bill amounts:
https://pines.georgialibraries.org/dokuwiki/doku.php?id=circ:workstations:receipts#subtotals
I haven't tested this scenario, but you should be able to do something 
similar...
1) Set up am empty variable before the ng-repeat loop: 
2) Somewhere inside the loop do some math: 
3) After the end of the ng-repeat display your subtotal: You Saved: 
{{transactions.subtotal | currency}}

Terran McCanna
PINES Program Manager
Georgia Public Library Service
1800 Century Place, Suite 150 
<https://maps.google.com/?q=1800+Century+Place,+Suite+150+Atlanta,+GA+30345=gmail=g>
Atlanta, G

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

2018-02-14 Thread John Amundson
Hi, Bill:

Your code seems to work for me.

The summed amount will not show in the preview. To confirm it is added
correctly, you can print a checkout receipt.

John

<http://www.cwmars.org>

John Amundson | Library Applications Associate III | CW MARS

jamund...@cwmars.org | 508-755-3323 x322 <%28508%29%20755-3323>

http://www.cwmars.org

On Wed, Feb 14, 2018 at 7:42 AM, Bill Coffey <bill.cof...@waynegov.com>
wrote:

> I am having a problem with the receipt for checkouts.
>
> I have tried several variants for the coding, but I can’t get the total.
>
> In the Line Item section I can get the Price of the books with the
> addition of the section in red.
>
>
>
> Here is the setup for my Library.
>
> Header:
>
>
>
> Welcome to %LIBRARY%! 919-735-1824 <(919)%20735-1824>
>
> Please see a staff member to update your email address.
>
> You checked out the following items:
>
>
>
> Line Item:
>
>
>
> %title%
>
> Barcode: %barcode%
>
> Due: %due_date% 
>
> Added and shows price of books
>
> %price% %price%
>
>
>
> Footer:
>
> 
>
> Cost to buy these books: $
>
> The Value of your Public Library - PRICELESS!
>
> %SHORTNAME% %TODAY_TRIM%
>
> You were helped by %STAFF_FIRSTNAME%
>
>  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
> <https://maps.google.com/?q=1001+E.+Ash+St%0D+Goldsboro,+NC+27530=gmail=g>
>
> Goldsboro, NC 27530
> <https://maps.google.com/?q=1001+E.+Ash+St%0D+Goldsboro,+NC+27530=gmail=g>
>
>
>
> Phone:  (919) 735-6249
>
> Fax:  (919) 731-2889
>
> email:   bill.cof...@waynegov.com
>
>
>
> *From:* Open-ils-general [mailto:open-ils-general-
> boun...@list.georgialibraries.org] *On Behalf Of *Terran McCanna
> *Sent:* Tuesday, February 13, 2018 5:41 PM
> *To:* Evergreen Discussion Group <open-ils-general@list.
> georgialibraries.org>
> *Subject:* Re: [OPEN-ILS-GENERAL] Web Client Print Templates - "You
> Saved" Calculator
>
>
>
> Great! Glad it works!
>
>
> Terran McCanna
> PINES Program Manager
> Georgia Public Library Service
> 1800 Century Place, Suite 150
> <https://maps.google.com/?q=1800+Century+Place,+Suite+150+%0D+Atlanta,+GA+30345=gmail=g>
> Atlanta, GA 30345
> 404-235-7138 <(404)%20235-7138>
> tmcca...@georgialibraries.org
>
>
>
> On Tue, Feb 13, 2018 at 5:03 PM, John Amundson <jamund...@cwmars.org>
> wrote:
>
> Thanks, Terran!
>
>
>
> That seems to do the trick.
>
>
>
> If anyone is curious about how I added this to the checkout receipt:
>
>
>
> ...
>
> 
>
>   
>
>  ng-init="transactions.subtotal=transactions.subtotal
> -- checkout.copy.price" >
>
> 
>
> 
>
>   
>
> 
>
> You Saved{{transactions.subtotal | currency}} by
> borrowing from  {{current_location.name}}!
>
> ...
>
>
> [image:
> https://lh5.googleusercontent.com/C1fNrKOLEXFs-jfAIXQIMqbKqVBCJrBceOenfgotAcJE6XtZ2ZeeTYFkyfir63-HfzjX6q5zhBQWiO5RZk2tYnWzJ1_rjAADAH4nCmiuhNJuoG8HZLq7MBW-pAU4R9ScKcCybdVO]
> <http://www.cwmars.org/>
>
> John Amundson | Library Applications Associate III | CW MARS
>
> jamund...@cwmars.org | 508-755-3323 x322 <%28508%29%20755-3323>
>
> http://www.cwmars.org
>
>
>
> On Tue, Feb 13, 2018 at 4:13 PM, Terran McCanna <
> tmcca...@georgialibraries.org> wrote:
>
> I have an example here that subtotals bill amounts:
> https://pines.georgialibraries.org/dokuwiki/doku.php?id=circ:workstations:
> receipts#subtotals
>
> I haven't tested this scenario, but you should be able to do something
> similar...
>
> 1) Set up am empty variable before the ng-repeat loop:  ng-init="transactions.subtotal = 0">
>
> 2) Somewhere inside the loop do some math:  ng-init="transactions.subtotal = transactions.subtotal --
> checkout.copy.price">
>
> 3) After the end of the ng-repeat display your subtotal: You Saved:
> {{transactions.subtotal | currency}}
>
>
> Terran McCanna
> PINES Program Manager
> Georgia Public Library Service
> 1800 Century Place, Suite 150
> <https://maps.google.com/?q=1800+Century+Place,+Suite+150+Atlanta,+GA+30345=gmail=g>
> Atlanta, GA 30345
> <https://maps.google.com/?q=1800+Century+Place,+Suite+150+Atlanta,+GA+30345=gmail=g>
> 404-235-7138 <(404)%20235-7138>
> tmcca...@georgialibraries.org
>
>
>
> On Tue, Feb 13, 2018 at 3:29 PM

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

2018-02-14 Thread Bill Coffey
I am having a problem with the receipt for checkouts.
I have tried several variants for the coding, but I can’t get the total.
In the Line Item section I can get the Price of the books with the addition of 
the section in red.

Here is the setup for my Library.
Header:

Welcome to %LIBRARY%! 919-735-1824
Please see a staff member to update your email address.
You checked out the following items:

Line Item:

%title%
Barcode: %barcode%
Due: %due_date% 
Added and shows price of books
%price% %price%

Footer:

Cost to buy these books: $
The Value of your Public Library - PRICELESS!
%SHORTNAME% %TODAY_TRIM%
You were helped by %STAFF_FIRSTNAME%
 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.cof...@waynegov.com

From: Open-ils-general 
[mailto:open-ils-general-boun...@list.georgialibraries.org] On Behalf Of Terran 
McCanna
Sent: Tuesday, February 13, 2018 5:41 PM
To: Evergreen Discussion Group <open-ils-general@list.georgialibraries.org>
Subject: Re: [OPEN-ILS-GENERAL] Web Client Print Templates - "You Saved" 
Calculator

Great! Glad it works!

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

On Tue, Feb 13, 2018 at 5:03 PM, John Amundson 
<jamund...@cwmars.org<mailto:jamund...@cwmars.org>> wrote:
Thanks, Terran!

That seems to do the trick.

If anyone is curious about how I added this to the checkout receipt:

...

  



  

You Saved{{transactions.subtotal | currency}} by 
borrowing from  
{{current_location.name<http://current_location.name>}}!
...

[https://lh5.googleusercontent.com/C1fNrKOLEXFs-jfAIXQIMqbKqVBCJrBceOenfgotAcJE6XtZ2ZeeTYFkyfir63-HfzjX6q5zhBQWiO5RZk2tYnWzJ1_rjAADAH4nCmiuhNJuoG8HZLq7MBW-pAU4R9ScKcCybdVO]<http://www.cwmars.org/>


John Amundson | Library Applications Associate III | CW MARS

jamund...@cwmars.org<mailto:jamund...@cwmars.org> | 508-755-3323 
x322<tel:%28508%29%20755-3323>

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


On Tue, Feb 13, 2018 at 4:13 PM, Terran McCanna 
<tmcca...@georgialibraries.org<mailto:tmcca...@georgialibraries.org>> wrote:
I have an example here that subtotals bill amounts:
https://pines.georgialibraries.org/dokuwiki/doku.php?id=circ:workstations:receipts#subtotals
I haven't tested this scenario, but you should be able to do something 
similar...
1) Set up am empty variable before the ng-repeat loop: 
2) Somewhere inside the loop do some math: 
3) After the end of the ng-repeat display your subtotal: You Saved: 
{{transactions.subtotal | currency}}

Terran McCanna
PINES Program Manager
Georgia Public Library Service
1800 Century Place, Suite 150 
<https://maps.google.com/?q=1800+Century+Place,+Suite+150+Atlanta,+GA+30345=gmail=g>
Atlanta, GA 
30345<https://maps.google.com/?q=1800+Century+Place,+Suite+150+Atlanta,+GA+30345=gmail=g>
404-235-7138<tel:(404)%20235-7138>
tmcca...@georgialibraries.org<mailto:tmcca...@georgialibraries.org>

On Tue, Feb 13, 2018 at 3:29 PM, John Amundson 
<jamund...@cwmars.org<mailto:jamund...@cwmars.org>> wrote:
Hi,

We are preparing for our move to the web client and are currently going through 
and updating print templates. For the Checkout, Items Out, and Renew templates, 
many of our libraries print "You saved $x.yz by borrowing from your local 
library." The price of the items out would be added together and displayed at 
the end of the receipt with the above text.

We did this by adding the following code to the line item section of the 
template:
%price% %price% %price%
and the following in the footer, where the sum is displayed:


I updated the line item portion for the web client with the new variable name,
 {{checkout.copy.price}} 
but no matter what I do, the total sum is blank.

I cannot figure how to make this work. I was wondering if anyone has gotten 
this to work yet and would be willing to share their code. If not, does anyone 
have any suggestions I could try?

Thank you,
John

[https://lh5.googleusercontent.com/C1fNrKOLEXFs-jfAIXQIMqbKqVBCJrBceOenfgotAcJE6XtZ2ZeeTYFkyfir63-HfzjX6q5zhBQWiO5RZk2tYnWzJ1_rjAADAH4nCmiuhNJuoG8HZLq7MBW-pAU4R9ScKcCybdVO]<http://www.cwmars.org/>


John Amundson | Library Applications Associate III | CW MARS

jamund...@cwmars.org<mailto:jamund...@cwmars.org> | 508-755-3323 
x322<tel:%28508%29%20755-3323>

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






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

2018-02-13 Thread Forrest, Stuart
John, Terran

Thank you so much, I have been fighting with this for days, im not particularly 
oh-fey with AngularJS.

Now onto the next receipt…

Stuart

***
Stuart Forrest PhD
IT Analyst
Beaufort County Library System
843 255 6450
sforr...@bcgov.net

www.beaufortcountylibrary.org

For Leisure, For Learning, For Life

From: Open-ils-general 
[mailto:open-ils-general-boun...@list.georgialibraries.org] On Behalf Of John 
Amundson
Sent: Tuesday, February 13, 2018 5:03 PM
To: Evergreen Discussion Group
Subject: Re: [OPEN-ILS-GENERAL] Web Client Print Templates - "You Saved" 
Calculator

Thanks, Terran!

That seems to do the trick.

If anyone is curious about how I added this to the checkout receipt:

...

  



  

You Saved{{transactions.subtotal | currency}} by 
borrowing from  
{{current_location.name<http://current_location.name>}}!
...

[https://lh5.googleusercontent.com/C1fNrKOLEXFs-jfAIXQIMqbKqVBCJrBceOenfgotAcJE6XtZ2ZeeTYFkyfir63-HfzjX6q5zhBQWiO5RZk2tYnWzJ1_rjAADAH4nCmiuhNJuoG8HZLq7MBW-pAU4R9ScKcCybdVO]<http://www.cwmars.org>


John Amundson | Library Applications Associate III | CW MARS

jamund...@cwmars.org<mailto:jamund...@cwmars.org> | 508-755-3323 
x322<tel:%28508%29%20755-3323>

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


On Tue, Feb 13, 2018 at 4:13 PM, Terran McCanna 
<tmcca...@georgialibraries.org<mailto:tmcca...@georgialibraries.org>> wrote:
I have an example here that subtotals bill amounts:
https://pines.georgialibraries.org/dokuwiki/doku.php?id=circ:workstations:receipts#subtotals
I haven't tested this scenario, but you should be able to do something 
similar...
1) Set up am empty variable before the ng-repeat loop: 
2) Somewhere inside the loop do some math: 
3) After the end of the ng-repeat display your subtotal: You Saved: 
{{transactions.subtotal | currency}}

Terran McCanna
PINES Program Manager
Georgia Public Library Service
1800 Century Place, Suite 150 
<https://maps.google.com/?q=1800+Century+Place,+Suite+150+Atlanta,+GA+30345=gmail=g>
Atlanta, GA 
30345<https://maps.google.com/?q=1800+Century+Place,+Suite+150+Atlanta,+GA+30345=gmail=g>
404-235-7138<tel:(404)%20235-7138>
tmcca...@georgialibraries.org<mailto:tmcca...@georgialibraries.org>

On Tue, Feb 13, 2018 at 3:29 PM, John Amundson 
<jamund...@cwmars.org<mailto:jamund...@cwmars.org>> wrote:
Hi,

We are preparing for our move to the web client and are currently going through 
and updating print templates. For the Checkout, Items Out, and Renew templates, 
many of our libraries print "You saved $x.yz by borrowing from your local 
library." The price of the items out would be added together and displayed at 
the end of the receipt with the above text.

We did this by adding the following code to the line item section of the 
template:
%price% %price% %price%
and the following in the footer, where the sum is displayed:


I updated the line item portion for the web client with the new variable name,
 {{checkout.copy.price}} 
but no matter what I do, the total sum is blank.

I cannot figure how to make this work. I was wondering if anyone has gotten 
this to work yet and would be willing to share their code. If not, does anyone 
have any suggestions I could try?

Thank you,
John

[https://lh5.googleusercontent.com/C1fNrKOLEXFs-jfAIXQIMqbKqVBCJrBceOenfgotAcJE6XtZ2ZeeTYFkyfir63-HfzjX6q5zhBQWiO5RZk2tYnWzJ1_rjAADAH4nCmiuhNJuoG8HZLq7MBW-pAU4R9ScKcCybdVO]<http://www.cwmars.org>


John Amundson | Library Applications Associate III | CW MARS

jamund...@cwmars.org<mailto:jamund...@cwmars.org> | 508-755-3323 
x322<tel:%28508%29%20755-3323>

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





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

2018-02-13 Thread Terran McCanna
Great! Glad it works!

Terran McCanna
PINES Program Manager
Georgia Public Library Service
1800 Century Place, Suite 150
Atlanta, GA 30345
404-235-7138
tmcca...@georgialibraries.org


On Tue, Feb 13, 2018 at 5:03 PM, John Amundson  wrote:

> Thanks, Terran!
>
> That seems to do the trick.
>
> If anyone is curious about how I added this to the checkout receipt:
>
> ...
> 
>   
>  ng-init="transactions.subtotal=transactions.subtotal
> -- checkout.copy.price" >
> 
> 
>   
> 
> You Saved{{transactions.subtotal | currency}} by
> borrowing from  {{current_location.name}}!
> ...
>
> 
>
> John Amundson | Library Applications Associate III | CW MARS
>
> jamund...@cwmars.org | 508-755-3323 x322 <%28508%29%20755-3323>
>
> http://www.cwmars.org
>
> On Tue, Feb 13, 2018 at 4:13 PM, Terran McCanna <
> tmcca...@georgialibraries.org> wrote:
>
>> I have an example here that subtotals bill amounts:
>> https://pines.georgialibraries.org/dokuwiki/doku.php?id=
>> circ:workstations:receipts#subtotals
>>
>> I haven't tested this scenario, but you should be able to do something
>> similar...
>> 1) Set up am empty variable before the ng-repeat loop: > ng-init="transactions.subtotal = 0">
>> 2) Somewhere inside the loop do some math: > ng-init="transactions.subtotal = transactions.subtotal --
>> checkout.copy.price">
>> 3) After the end of the ng-repeat display your subtotal: You Saved:
>> {{transactions.subtotal | currency}}
>>
>> Terran McCanna
>> PINES Program Manager
>> Georgia Public Library Service
>> 1800 Century Place, Suite 150
>> 
>> Atlanta, GA 30345
>> 
>> 404-235-7138 <(404)%20235-7138>
>> tmcca...@georgialibraries.org
>>
>>
>> On Tue, Feb 13, 2018 at 3:29 PM, John Amundson 
>> wrote:
>>
>>> Hi,
>>>
>>> We are preparing for our move to the web client and are currently going
>>> through and updating print templates. For the Checkout, Items Out, and
>>> Renew templates, many of our libraries print "You saved $x.yz by borrowing
>>> from your local library." The price of the items out would be added
>>> together and displayed at the end of the receipt with the above text.
>>>
>>> We did this by adding the following code to the line item section of the
>>> template:
>>> %price% %price% %price%
>>> and the following in the footer, where the sum is displayed:
>>> 
>>>
>>> I updated the line item portion for the web client with the new variable
>>> name,
>>>  {{checkout.copy.price}} 
>>> but no matter what I do, the total sum is blank.
>>>
>>> I cannot figure how to make this work. I was wondering if anyone has
>>> gotten this to work yet and would be willing to share their code. If not,
>>> does anyone have any suggestions I could try?
>>>
>>> Thank you,
>>> John
>>>
>>> 
>>>
>>> John Amundson | Library Applications Associate III | CW MARS
>>>
>>> jamund...@cwmars.org | 508-755-3323 x322 <%28508%29%20755-3323>
>>>
>>> http://www.cwmars.org
>>>
>>
>>
>


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

2018-02-13 Thread John Amundson
Thanks, Terran!

That seems to do the trick.

If anyone is curious about how I added this to the checkout receipt:

...

  



  

You Saved{{transactions.subtotal | currency}} by
borrowing from  {{current_location.name}}!
...



John Amundson | Library Applications Associate III | CW MARS

jamund...@cwmars.org | 508-755-3323 x322 <%28508%29%20755-3323>

http://www.cwmars.org

On Tue, Feb 13, 2018 at 4:13 PM, Terran McCanna <
tmcca...@georgialibraries.org> wrote:

> I have an example here that subtotals bill amounts:
> https://pines.georgialibraries.org/dokuwiki/doku.php?id=circ:workstations:
> receipts#subtotals
>
> I haven't tested this scenario, but you should be able to do something
> similar...
> 1) Set up am empty variable before the ng-repeat loop:  ng-init="transactions.subtotal = 0">
> 2) Somewhere inside the loop do some math:  ng-init="transactions.subtotal = transactions.subtotal --
> checkout.copy.price">
> 3) After the end of the ng-repeat display your subtotal: You Saved:
> {{transactions.subtotal | currency}}
>
> Terran McCanna
> PINES Program Manager
> Georgia Public Library Service
> 1800 Century Place, Suite 150
> 
> Atlanta, GA 30345
> 
> 404-235-7138 <(404)%20235-7138>
> tmcca...@georgialibraries.org
>
>
> On Tue, Feb 13, 2018 at 3:29 PM, John Amundson 
> wrote:
>
>> Hi,
>>
>> We are preparing for our move to the web client and are currently going
>> through and updating print templates. For the Checkout, Items Out, and
>> Renew templates, many of our libraries print "You saved $x.yz by borrowing
>> from your local library." The price of the items out would be added
>> together and displayed at the end of the receipt with the above text.
>>
>> We did this by adding the following code to the line item section of the
>> template:
>> %price% %price% %price%
>> and the following in the footer, where the sum is displayed:
>> 
>>
>> I updated the line item portion for the web client with the new variable
>> name,
>>  {{checkout.copy.price}} 
>> but no matter what I do, the total sum is blank.
>>
>> I cannot figure how to make this work. I was wondering if anyone has
>> gotten this to work yet and would be willing to share their code. If not,
>> does anyone have any suggestions I could try?
>>
>> Thank you,
>> John
>>
>> 
>>
>> John Amundson | Library Applications Associate III | CW MARS
>>
>> jamund...@cwmars.org | 508-755-3323 x322 <%28508%29%20755-3323>
>>
>> http://www.cwmars.org
>>
>
>


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

2018-02-13 Thread Terran McCanna
I have an example here that subtotals bill amounts:
https://pines.georgialibraries.org/dokuwiki/doku.php?id=circ:workstations:receipts#subtotals

I haven't tested this scenario, but you should be able to do something
similar...
1) Set up am empty variable before the ng-repeat loop: 
2) Somewhere inside the loop do some math: 
3) After the end of the ng-repeat display your subtotal: You Saved:
{{transactions.subtotal | currency}}

Terran McCanna
PINES Program Manager
Georgia Public Library Service
1800 Century Place, Suite 150
Atlanta, GA 30345
404-235-7138
tmcca...@georgialibraries.org


On Tue, Feb 13, 2018 at 3:29 PM, John Amundson  wrote:

> Hi,
>
> We are preparing for our move to the web client and are currently going
> through and updating print templates. For the Checkout, Items Out, and
> Renew templates, many of our libraries print "You saved $x.yz by borrowing
> from your local library." The price of the items out would be added
> together and displayed at the end of the receipt with the above text.
>
> We did this by adding the following code to the line item section of the
> template:
> %price% %price% %price%
> and the following in the footer, where the sum is displayed:
> 
>
> I updated the line item portion for the web client with the new variable
> name,
>  {{checkout.copy.price}} 
> but no matter what I do, the total sum is blank.
>
> I cannot figure how to make this work. I was wondering if anyone has
> gotten this to work yet and would be willing to share their code. If not,
> does anyone have any suggestions I could try?
>
> Thank you,
> John
>
> 
>
> John Amundson | Library Applications Associate III | CW MARS
>
> jamund...@cwmars.org | 508-755-3323 x322 <%28508%29%20755-3323>
>
> http://www.cwmars.org
>