Re: [OPEN-ILS-GENERAL] Receipt Template Question

2016-05-04 Thread Holly Brennan
Hi Elizabeth -

Looks like Brent has you covered, but I'll chime in with what I have. On our 
items_out receipt, I have this in the header:

You have a total of  items checked 
out:

Which prints as You have a total of # items checked out:

I also made a sum for our checkout receipts, since it's common for patrons 
(especially parents checking out a lot of picture books) to want to know how 
many books they have in the stack they checked out today:

Today, you checked out  items:

Which prints as Today, you checked out # items:

I've done a lot with receipt templates - they're fun! Glad to hear others 
exploring what can be done.

-Holly

From: Open-ils-general 
[mailto:open-ils-general-boun...@list.georgialibraries.org] On Behalf Of 
Elizabeth Davis
Sent: Wednesday, May 4, 2016 9:40 AM
To: open-ils-general@list.georgialibraries.org
Subject: Re: [OPEN-ILS-GENERAL] Receipt Template Question

Hi Brent

Thanks so much! That third option did the trick.

Elizabeth

From: Open-ils-general 
[mailto:open-ils-general-boun...@list.georgialibraries.org] On Behalf Of Brent 
Mills
Sent: Wednesday, May 04, 2016 1:17 PM
To: 
open-ils-general@list.georgialibraries.org
Subject: Re: [OPEN-ILS-GENERAL] Receipt Template Question


Hi Elizabeth,

There's a sum function that you can include in your receipt templates to add up 
the given macro/value for a total.

I don't believe there's a count function, or I haven't seen one for the receipt 
templates, at least.

You might be able to do something like one of these approaches:

For the "checkout" receipt template (line item bit is included within the  
tags you have):

Line Item: %copy_number%

Footer: You currently have  item(s) checked out 
from%LIBRARY%

That would depend on each of the "copy_number" fields being "1", and that field 
isn't a required entry... so it's probably not the best option.

I'd probably do something like:

Line Item: 1

Footer: You currently have  item(s) checked out 
from%LIBRARY%

So a barebones/complete example for line item/footer would be:

Line Item:


%title%
Author: %author%
Barcode: %barcode%
Due: %due_date%
Item Type: %circ_modifier%
1


Footer:

You currently have  item(s) checked out 
from%LIBRARY%
I'm not sure if there's any harm in hardcoding a "1" value for each line item, 
but that seems to work. I'll let others chime in.

Good luck!

-Brent
On 5/4/16 8:09 AM, Elizabeth Davis wrote:
Hello Everyone,

We had a request from a library that wants to have a total number of checked 
out items auto-populated on the bottom of their checkout receipts for their 
Summer Reading Club program.  I've got the template printing the list numbers, 
but can't seem to get it to total the number of items.

Any suggestions?

Thanks so much,

Elizabeth Davis
Head of Digital Services
Scranton Public Library
500 Vine Street
Scranton, PA 18509
570-348-3000 ext. 3050
eda...@albright.org



--

Brent Mills

Systems Librarian | Sage Library System

email: br...@hoodriverlibrary.org

tickets: sagelib.org/support

phone: 541.610.8384


Re: [OPEN-ILS-GENERAL] Receipt Template Question

2016-05-04 Thread Elizabeth Davis
Hi Brent

Thanks so much! That third option did the trick.

Elizabeth

From: Open-ils-general 
[mailto:open-ils-general-boun...@list.georgialibraries.org] On Behalf Of Brent 
Mills
Sent: Wednesday, May 04, 2016 1:17 PM
To: open-ils-general@list.georgialibraries.org
Subject: Re: [OPEN-ILS-GENERAL] Receipt Template Question


Hi Elizabeth,

There's a sum function that you can include in your receipt templates to add up 
the given macro/value for a total.

I don't believe there's a count function, or I haven't seen one for the receipt 
templates, at least.

You might be able to do something like one of these approaches:

For the "checkout" receipt template (line item bit is included within the  
tags you have):

Line Item: %copy_number%

Footer: You currently have  item(s) checked out 
from%LIBRARY%

That would depend on each of the "copy_number" fields being "1", and that field 
isn't a required entry... so it's probably not the best option.

I'd probably do something like:

Line Item: 1

Footer: You currently have  item(s) checked out 
from%LIBRARY%

So a barebones/complete example for line item/footer would be:

Line Item:


%title%
Author: %author%
Barcode: %barcode%
Due: %due_date%
Item Type: %circ_modifier%
1


Footer:

You currently have  item(s) checked out 
from%LIBRARY%
I'm not sure if there's any harm in hardcoding a "1" value for each line item, 
but that seems to work. I'll let others chime in.

Good luck!

-Brent
On 5/4/16 8:09 AM, Elizabeth Davis wrote:
Hello Everyone,

We had a request from a library that wants to have a total number of checked 
out items auto-populated on the bottom of their checkout receipts for their 
Summer Reading Club program.  I've got the template printing the list numbers, 
but can't seem to get it to total the number of items.

Any suggestions?

Thanks so much,

Elizabeth Davis
Head of Digital Services
Scranton Public Library
500 Vine Street
Scranton, PA 18509
570-348-3000 ext. 3050
eda...@albright.org




--

Brent Mills

Systems Librarian | Sage Library System

email: br...@hoodriverlibrary.org

tickets: sagelib.org/support

phone: 541.610.8384


Re: [OPEN-ILS-GENERAL] Receipt Template Question

2016-05-04 Thread Brent Mills

Hi Elizabeth,

There's a sum function that you can include in your receipt templates to 
add up the given macro/value for a total.


I don't believe there's a count function, or I haven't seen one for the 
receipt templates, at least.


You might be able to do something like one of these approaches:


For the "checkout" receipt template (line item bit is included within 
the  tags you have):


   *Line Item*: %copy_number%

   *Footer*: You currently have  item(s) checked out
   from%LIBRARY%

That would depend on each of the "copy_number" fields being "1", and 
that field isn't a required entry... so it's probably not the best option.


I'd probably do something like:

   *Line Item*: 1

   *Footer*: You currently have  item(s) checked out
   from%LIBRARY%


So a barebones/complete example for line item/footer would be:

   *Line Item:*

   
   %title%
   Author: %author%
   Barcode: %barcode%
   Due: %due_date%
   Item Type: %circ_modifier%
   1
   

   *Footer:*

   You currently have  item(s) checked out
   from%LIBRARY%

I'm not sure if there's any harm in hardcoding a "1" value for each line 
item, but that seems to work. I'll let others chime in.


Good luck!

-Brent

On 5/4/16 8:09 AM, Elizabeth Davis wrote:


Hello Everyone,

We had a request from a library that wants to have a total number of 
checked out items auto-populated on the bottom of their checkout 
receipts for their Summer Reading Club program.  I’ve got the template 
printing the list numbers, but can’t seem to get it to total the 
number of items.


Any suggestions?

Thanks so much,

Elizabeth Davis

Head of Digital Services

Scranton Public Library

500 Vine Street

Scranton, PA 18509

570-348-3000 ext. 3050

eda...@albright.org



--
Brent Mills
Systems Librarian | Sage Library System
email: br...@hoodriverlibrary.org
tickets: sagelib.org/support
phone: 541.610.8384



[OPEN-ILS-GENERAL] Receipt Template Question

2016-05-04 Thread Elizabeth Davis
Hello Everyone,

We had a request from a library that wants to have a total number of checked 
out items auto-populated on the bottom of their checkout receipts for their 
Summer Reading Club program.  I've got the template printing the list numbers, 
but can't seem to get it to total the number of items.

Any suggestions?

Thanks so much,

Elizabeth Davis
Head of Digital Services
Scranton Public Library
500 Vine Street
Scranton, PA 18509
570-348-3000 ext. 3050
eda...@albright.org



Re: [OPEN-ILS-GENERAL] IRC practice time this Wednesday, May 4 @ 2PM EST - TODAY

2016-05-04 Thread Yamil Suarez
Hello,

Just wanted to remind folks about today's IRC practice session.

Please feel free t invite your co-workers that may not be on the Evergreen
general list.

Thanks,
Yamil

On Sun, May 1, 2016 at 7:12 PM, Yamil Suarez  wrote:

> Hello,
>
> At the 2016 Evergreen conference I gave a lightning talk
> presentation on how easy is to get started with using the Evergreen
> IRC channel. Which is used by the community to collaborate, hold
> meetings, and answer each other's questions.
>
> Here is a longer version of the presentation with more information…
>
> http://goo.gl/w3zml2
>
> In this presentation I postulate that if you…
>
> 1) have ever sent a text message
>
> 2) have a web browser
>
> … you can pull off giving IRC a try for yourself.
>
>
> This will be an hour long session for newcomers to practice using IRC
> to be held on Wednesday, May 4 @ 2PM EST. This will be a designated
> practice time, so no one feels like they are interrupting others.
>
>
> Thanks in advance,
> Yamil
>
> P.S. I can schedule another practice session later in May if there is
> enough interest, if you cannot attend the first one. Just email me
> directly to
> suggest a date/time for the 2nd IRC practice time.
>
>
>
> 
>
> Yamil Suarez, MCS
> Library Systems Administrator/Developer
>
> Stan Getz Library
> Berklee College of Music
> 1140 Boylston St
> Boston, MA 02215
>
> ysua...@berklee.edu
> 617-747-2617
>