[OPEN-ILS-GENERAL] web client hold slip

Geoff Sams GSams at roanoketexas.com
Thu Mar 8 18:52:37 EST 2018


Since none of the options I’ve seen are quite like mine, I figure I can share mine as well.  It doesn’t turn the last name on the slip, but it does place it one letter per line vertically.  I’ll just chalk it up to personal preference that I did it this way.  It’s neat, produces receipts no larger than we’d want, and keeps things easily visible for us.  Note that we don’t use a public holds shelf, or I would do it very differently.

<div>
  <div ng-switch on="hold.behind_desk">
    <div ng-switch-when="t">
      This item needs to be routed to the <strong>Private Holds Shelf</strong>.
    </div>
    <div ng-switch-when="f">
      This item needs to be routed to the <strong>Public Holds Shelf</strong>.
    </div>
  </div>
  <br/>

  Barcode: {{copy.barcode}}</div>
  Title: {{title | limitTo: 25}} </div>
<style>
h1 {
width: 26px;
font-size: 28px;
font-family: monospace;
word-wrap: break-word;
text-transform: uppercase;
margin-left: auto;
margin-right: auto;
}
h2 {
font-size: 15px;
text-transform: uppercase;
text-align: center;
}
  <br/>
  <br/>
</style>
<body>
    <h1>
  <div>{{patron.family_name | limitTo:8}}<br/>
</h1>
<h2>
{{patron.first_given_name}}
</h2>
</body>
</div>
  <div>Patron Barcode: {{patron.card.barcode}}</div>
  <div ng-if="hold.phone_notify">Notify by phone: {{hold.phone_notify}}</div>
  <div ng-if="hold.sms_notify">Notify by text: {{hold.sms_notify}}</div>
  <div ng-if="hold.email_notify == 't'">Notify by email: {{patron.email}}</div>

  <br/>

  <div>Request Date: {{hold.request_time | date:$root.egDateAndTimeFormat}}</div>
  <div>Slip Date: {{today | date:$root.egDateAndTimeFormat}}</div>
  <div>Expires: {{hold.shelf_expire_time | date:$root.egDateAndTimeFormat}}</div>
  <div>Printed by {{staff.first_given_name}} at {{current_location.shortname}}</div>

</div>

It’s based entirely on how our old receipts were done in the old client, I haven’t really updated any more than the macros.

Thanks,
Geoff Sams
Library Manager
Roanoke Public Library
817-491-2691

From: Open-ils-general [mailto:open-ils-general-bounces at list.georgialibraries.org] On Behalf Of Michael Schell
Sent: Thursday, March 08, 2018 1:29 PM
To: Evergreen Discussion Group <open-ils-general at list.georgialibraries.org>
Subject: [OPEN-ILS-GENERAL] web client hold slip

Hi All,

I'm trying to get my hold slips setup in the web client but have a few questions. Does anyone know how to rotate text, limit the number of letters displayed in a patron barcode/last name, or  what the code is for shelf expire time. This is the code that worked in the desktop client for reference.

<style>
h1 {font-size:50px; -moz-transform:rotate(90deg); text-transform:uppercase; padding-bottom:20px;padding-left:50px}
</style>

Patron:%PATRON_FIRSTNAME% %PATRON_LASTNAME%<br/>
Title: %item_title%<br/>
<br/>

Notify by phone: %notify_by_phone%<br/>
Notified by text: %notify_by_text%<br/>
Notified by email: %notify_by_email%<br/>
<br/>
- - - - - - -  TEAR HERE  - - - - - - -

<br/>
<br/>
<br/>
<br/>


<h1>%SUBSTR(0,3)%%PATRON_LASTNAME%%SUBSTR_END%&nbsp%SUBSTR(-4)%%PATRON_BARCODE%%SUBSTR_END%&nbsp%DATE_FORMAT(%shelf_expire_time%,%m/%d)%</h1>

Any help would be appreciated.  Thanks.

Michael

--
Michael Schell
Systems Administrator
Fort Erie Public Library
905-871-2546 x301
mschell at fepl.ca<mailto:mschell at fepl.ca>
www.fepl.ca<http://www.fepl.ca/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://libmail.georgialibraries.org/pipermail/open-ils-general/attachments/20180308/62d17862/attachment.html>


More information about the Open-ils-general mailing list