[OPEN-ILS-GENERAL] Adding a table to self-check-out template
Ben Shum
bshum at biblio.org
Thu Oct 9 14:16:22 EDT 2014
Hi Dana,
What selfcheck are you using with Evergreen? The web selfcheck that comes
with Evergreen at https://hostname/eg/circ/selfcheck/main ? If it's
something else, I probably won't be able to help much.
If you are using the web selfcheck, then receipts are all actually
controlled via a template definition in the action/trigger event
definitions. In the database, that's action_trigger.event_definition,
usually an entry named "Self-Checkout Receipt". If you are the Evergreen
system administrator, you should also be able to access action/trigger
templates via the staff client at Local Administration -> Notifications /
Action Triggers too.
In any case, the receipt template appears to written in Template Toolkit
(perl) with HTML too, not PHP. I imagine if you alter the template so that
instead of <ol> ordered list and <li> list entry, that you used HTML table
syntax, you could construct a table output that fits your desired outcome.
By default, the Self-Checkout Receipt is owned by the CONS (top level org
unit) and shared globally, so a change to the template will apply to all
libraries using Evergreen web selfcheck for your system. I would verify
with your Evergreen system administrator or hosting agency how these
changes are to be made / maintained.
Good luck,
-- Ben
On Thu, Oct 9, 2014 at 1:50 PM, Dana Schwarz <schwarz at lincoln.library.on.ca>
wrote:
> Hello,
>
>
>
> We recently got self-check-out running and we have a very basic receipt
> template that prints out like:
>
> Title: Death of a Bore: A Hamish Macbeth Mystery
> Date Due: 10/30/2014
>
>
>
> However, I am trying to figure out in PHP coding to put the title and due
> date in a table format (shown below):
>
>
> *# of items*
>
> *Title*
>
> *Date Due*
>
> 1.
>
> Death of A Bore
>
> 10/30/2014
>
> 2.
>
> The Vanishing Hitchhiker
>
> 10/30/2014
>
> 3.
>
> Alligators in the Sewer
>
> 10/30/2014
>
>
>
> The way that I have formatted it in Evergreen through the receipt module
> has different coding than self-check-out. The self-check-out is in PHP
> coding and Evergreen uses HTML coding.
>
>
>
> Does anyone have experience with PHP that can me format the checkout
> receipt to look like the table above?
>
>
>
> Your help is greatly appreciated,
>
>
>
> *Dana Schwarz*
> *Technical Services Coordinator*
>
> Lincoln Public Library
>
> 4080 John Charles Boulevard
>
> Vineland, ON
>
> L0R 2C0
>
> 905-562-5711
>
> 905-562-3454 (fax)
>
> schwarz at lincoln.library.on.ca
>
>
>
--
Benjamin Shum
Evergreen Systems Manager
Bibliomation, Inc.
24 Wooster Ave.
Waterbury, CT 06708
203-577-4070, ext. 113
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://libmail.georgialibraries.org/pipermail/open-ils-general/attachments/20141009/fe3bb2fd/attachment.htm>
More information about the Open-ils-general
mailing list