[OPEN-ILS-GENERAL] Self check receipt customization
Jessica Woolford
jwoolford at biblio.org
Tue Nov 29 15:14:03 EST 2016
Thanks, Michele! This is awesome.
I noticed that our self check receipts seem to show up in the database, but
not in the GUI interface in the staff client. As such, it may be hard to
copy them, but I'll see what I can do.
Thanks again!
Jessica
On Tue, Nov 29, 2016 at 1:27 PM, Morgan, Michele <mmorgan at noblenet.org>
wrote:
> Hi Jessica,
>
> Here is a trigger template (lightly tested) that does this for the
> selfcheck items out slip:
>
> [%- USE date -%]
> [%- SET user = target.0.usr -%]
> <div>
> <style> li { padding: 8px; margin 5px; }</style>
> <div>[% date.format %]</div>
> <br/>
> [% user.family_name %], [% user.first_given_name %]
> <ol>
> [% FOR circ IN target %]
> <li>
> <div>[% helpers.get_copy_bib_basics(circ.target_copy.id).title
> %]</div>
> <div>Barcode: [% circ.target_copy.barcode %]</div>
> <div>Due Date: [% date.format(helpers.format_date(circ.due_date),
> '%Y-%m-%d') %]</div>
> <div>[% SET total = total + helpers.get_copy_price(circ.target_copy)
> %]</div>
> </li>
>
> [% END %]
> </ol>
>
> <div>You saved $[% total %] by using your library!</div>
>
> </div>
>
> Should be similar for the checkout slip.
>
> We do have some libraries that use a different receipt configuration than
> the system-wide one. These were set up by cloning the consortium trigger,
> tweaking the template and setting the Owning Library to the match the
> library that wanted the custom slip.
>
> Hope this is helpful,
> Michele
>
>
> --
> Michele M. Morgan, Technical Support Analyst
> North of Boston Library Exchange, Danvers Massachusetts
> mmorgan at noblenet.org
>
>
> On Mon, Nov 28, 2016 at 1:20 PM, Jessica Woolford <jwoolford at biblio.org>
> wrote:
>
>> Hi all,
>>
>> Last week, we had a library request that the message that says, "You
>> saved $XX.XX by using your library today!" (where $XX.XX would be the total
>> cost of the items checked out) be added to their self check receipts. I
>> know this is possible for receipts printed from the staff client, but
>> because the self check receipts are managed from Notification/Action
>> triggers, I understand that the code would need to be different. Has
>> anybody figured out a way to get this on their self check receipts?
>>
>> On a related note, does anyone have separate receipt configuration for
>> the libraries using self check, or do your libraries share the same
>> template? Our libraries all share the same template right now.
>>
>> Thanks!
>>
>> Jessica
>>
>> --
>> Jessica Woolford
>> Interim Evergreen Systems Manager
>> Bibliomation, Inc.
>> 24 Wooster Ave.
>> Waterbury, CT 06708
>> 203-577-4070 ext. 105
>>
>
>
--
Jessica Woolford
Interim Evergreen Systems Manager
Bibliomation, Inc.
24 Wooster Ave.
Waterbury, CT 06708
203-577-4070 ext. 105
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://libmail.georgialibraries.org/pipermail/open-ils-general/attachments/20161129/1f6e8897/attachment-0001.html>
More information about the Open-ils-general
mailing list