[OPEN-ILS-GENERAL] Check Out Print Template

Elizabeth Davis edavis at albright.org
Fri May 24 11:13:58 EDT 2019


Garry

This is a great idea! Thanks!

Elizabeth

From: Open-ils-general [mailto:open-ils-general-bounces at list.georgialibraries.org] On Behalf Of Garry Collum
Sent: Friday, May 24, 2019 10:41 AM
To: Evergreen Discussion Group <open-ils-general at list.georgialibraries.org>
Subject: Re: [OPEN-ILS-GENERAL] Check Out Print Template

As to the tear off block, a couple of years ago we set up the checkout receipt to print a raffle ticket at the bottom of the receipt.

We used the following <div> with the raffle ticket information, I believe it was patron id below this <div>


<div style="display: block; page-break-before: always;"></div>

Then we set up the printer driver to cut at a page break.



From: Terran McCanna<mailto:tmccanna at georgialibraries.org>
Sent: Friday, May 24, 2019 10:26 AM
To: Evergreen Discussion Group<mailto:open-ils-general at list.georgialibraries.org>
Subject: Re: [OPEN-ILS-GENERAL] Check Out Print Template

I think having access to the juvenile flag is a great idea. I've created a wish list request for it in launchpad:

https://bugs.launchpad.net/evergreen/+bug/1830387




[https://lh3.googleusercontent.com/1dQZFKZrN_h1nAVv7EB9VmFYBGsfiOmL3Yec9IzIlL7YztuUoci9JMwC2Fb6h1vqlBSlyslKe_N7vSMNF1FaiUIrY6tVC41zt8iLssfRtJbhdGOpDPFgvjyFXgCzNOmQaD9gEgOW]


Terran McCanna, PINES Program Manager


Georgia Public Library Service | University System of Georgia

1800 Century Place NE Suite 580 l Atlanta, GA 30345

(404) 235-7138 | tmccanna at georgialibraries.org<mailto:tmccanna at georgialibraries.org>

http://help.georgialibraries.org | help at help.georgialibraries.org<mailto:help at help.georgialibraries.org>


[https://lh6.googleusercontent.com/t7rbwMx5NBGCEplmiJgNe2sRZGRgzqVS8d9k3yg-mR-UhThtZVNUiZe419YuwVyLjZ6QZKFAeQGFYcEgO6MtVjPlCrQ5CPYc4h56OEKnldS32D8FYMvQRAmQYZH9pCsHZjVDSQpU]<https://www.facebook.com/georgialibraries> [https://lh5.googleusercontent.com/3BiTrvd-MM4iD8ytwlQc0_q928anCSry4UO21hcYQV_FPcmhq0Ov9toQ9gv4mmxQLUS2iV4cXDEPUEweGu75_jIH_WX1xDe119BcHfFCzinWfbKuK6NeTXYdO5PU2HRfXAS-Vq1R] <https://www.twitter.com/georgialibs>


Join our email list<http://georgialibraries.org> for stories of Georgia libraries making an impact in our communities.




On Fri, May 24, 2019 at 10:14 AM Lindsay Stratton <lstratton at pls-net.org<mailto:lstratton at pls-net.org>> wrote:
The problem is, apparently, that the juvenile field isn't available to the checkout receipt.

I successfully used the last family_name field (which is available) and it printed for my "Nybody" test user, but not for me,  "Stratton". Attempting "patron.juvenile == '[any variation on false]'" did not work.

Also an issue - using the ngIf form (as found in Angular documentation), vs the ng-if form (as used in EG templates). If ngIf is used, the block displays in the preview and prints regardless of the if condition. Using ng-if, the block does not display in the template preview, but prints according to the condition.

<div ng-if="patron.family_name == 'Nybody'">Enter our raffle!<br/>
Name:______________________________<br/>
Contact: ____________________________ <br/>
Drawing on Tuesday, June 4</div>


This is a fun idea, and useful for a lot of things... I'm now wondering if there could be a way to use the slip or a tear-off block as a way to track books for summer reading

Lindsay Stratton
Library Automation Services Manager
Pioneer Library System
2557 State Rte 21
Canandaigua, NY 14424



From: "Elizabeth Davis" <edavis at albright.org<mailto:edavis at albright.org>>
To: "Evergreen Discussion Group" <open-ils-general at list.georgialibraries.org<mailto:open-ils-general at list.georgialibraries.org>>
Sent: Thursday, May 23, 2019 10:07:29 AM
Subject: [OPEN-ILS-GENERAL] Check Out Print Template
Hello

Has anyone tried to use the ngIF directives in a Check Out Print Template?  I want to print a raffle entry form at the bottom of check out receipts, but only if the juvenile flag is false.

Any ideas or suggestions to test?

Thanks,
Elizabeth Davis
Head of Digital Services
Scranton Public Library
500 Vine Street
Scranton, PA 18509
570-348-3000 ext. 3050
edavis at albright.org<mailto:edavis at albright.org>
pronouns: she/her/hers



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://libmail.georgialibraries.org/pipermail/open-ils-general/attachments/20190524/c3964cbc/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 131 bytes
Desc: image001.png
URL: <http://libmail.georgialibraries.org/pipermail/open-ils-general/attachments/20190524/c3964cbc/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 132 bytes
Desc: image002.png
URL: <http://libmail.georgialibraries.org/pipermail/open-ils-general/attachments/20190524/c3964cbc/attachment-0003.png>


More information about the Open-ils-general mailing list