[OPEN-ILS-GENERAL] Adding patron info to checkout receipts - quick poll

Boyer, Jason A JBoyer at library.IN.gov
Tue Jan 23 15:49:22 EST 2018


Those may be there already because of the way circs are added; they're just not spelled out in the comments on the template. 

Try these out in the tag that has the rest of the item information:
checkout.author, checkout.copy.price, and checkout.renewal_remaining (no 's')

Almost every field from action.circulation (checkout.circ.*), asset.copy (checkout.copy.*), and asset.call_number (checkout.call_number.*) is available along with checkout.title and checkout.author on each circ; they're just not mentioned in the template. There's currently nothing from the actor.usr table though, which is what I'm adding now.

Jason 

--
Jason Boyer
MIS Supervisor
Indiana State Library
http://library.in.gov/


> -----Original Message-----
> From: Open-ils-general [mailto:open-ils-general-
> bounces at list.georgialibraries.org] On Behalf Of Tina Ji
> Sent: Tuesday, January 23, 2018 3:32 PM
> To: Evergreen Discussion Group <open-ils-general at list.georgialibraries.org>
> Subject: Re: [OPEN-ILS-GENERAL] Adding patron info to checkout receipts -
> quick poll
> 
> **** This is an EXTERNAL email. Exercise caution. DO NOT open attachments or
> click links from unknown senders or unexpected email. ****
> ________________________________
> 
> We need item price. Some of our libraries sum up the price of checked
> out items and print a you-saved-so-much note.
> 
> I also think Author and Remaining_renewal may be helpful.
> 
> Thank you!
> 
> 
> 
> Quoting "Boyer, Jason A" <JBoyer at library.in.gov>:
> 
> > I'm basically done with
> > https://bugs.launchpad.net/evergreen/+bug/1737540 but before making
> > a potential privacy faux-pas or leaving out anything potentially
> > useful I wanted to get some opinions. (My hope is that no library
> > uses the whole prefix, first, middle, last, suffix anywhere, but
> > prefix + last, just first, or first +middle initial might be useful)
> >
> > Here's what I'm planning to add to a patron object in checkout receipts:
> >
> > prefix
> > first_given_name
> > second_given_name
> > family_name
> > suffix
> > barcode
> > money_summary.total_owed
> > money_summary.total_paid
> > money_summary.balance_owed
> > expire_date (can be used with ng-show to give a little reminder that
> > your account will expire soon)
> > alias
> > has_email (a boolean for use with ng-show; "Have you signed up for
> > our newsletters?" or "Have an email? Add it to your account to get
> > notifications about your holds!" etc.)
> > has_phone (same)
> >
> > I'm duplicating the patron_money information because there's no need
> > for a separate patron and patron_money objects. In the interest of
> > not breaking existing templates the patron_money object would still
> > be in place; just not mentioned anywhere. I considered usrname but
> > couldn't see a use case.
> >
> > Are there any strong opinions about adding more fields or removing
> > some of these? I figure it's better to knock this out all at once
> > rather than poking at it repeatedly with tiny changes.
> >
> > Jason
> >
> > --
> > Jason Boyer
> > MIS Supervisor
> > Indiana State Library
> > http://library.in.gov/
> 
> 
> --
> Tina Ji
> 1-888-848-9250 ext 1014
> Support Specialist
> BC Libraries Co-operative
> 



More information about the Open-ils-general mailing list