Re: [OPEN-ILS-GENERAL] web client hold slip

2018-03-08 Thread Geoff Sams
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.


  

  This item needs to be routed to the Private Holds Shelf.


  This item needs to be routed to the Public Holds Shelf.

  
  

  Barcode: {{copy.barcode}}
  Title: {{title | limitTo: 25}} 

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;
}
  

{{patron.family_name | limitTo:8}} {{patron.first_given_name}} Patron Barcode: {{patron.card.barcode}} Notify by phone: {{hold.phone_notify}} Notify by text: {{hold.sms_notify}} Notify by email: {{patron.email}} Request Date: {{hold.request_time | date:$root.egDateAndTimeFormat}} Slip Date: {{today | date:$root.egDateAndTimeFormat}} Expires: {{hold.shelf_expire_time | date:$root.egDateAndTimeFormat}} Printed by {{staff.first_given_name}} at {{current_location.shortname}} 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-boun...@list.georgialibraries.org] On Behalf Of Michael Schell Sent: Thursday, March 08, 2018 1:29 PM To: Evergreen Discussion Group 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. h1 {font-size:50px; -moz-transform:rotate(90deg); text-transform:uppercase; padding-bottom:20px;padding-left:50px} Patron:%PATRON_FIRSTNAME% %PATRON_LASTNAME% Title: %item_title% Notify by phone: %notify_by_phone% Notified by text: %notify_by_text% Notified by email: %notify_by_email% - - - - - - - TEAR HERE - - - - - - - %SUBSTR(0,3)%%PATRON_LASTNAME%%SUBSTR_END%%SUBSTR(-4)%%PATRON_BARCODE%%SUBSTR_END%%DATE_FORMAT(%shelf_expire_time%,%m/%d)% Any help would be appreciated. Thanks. Michael -- Michael Schell Systems Administrator Fort Erie Public Library 905-871-2546 x301 msch...@fepl.ca www.fepl.ca

Re: [OPEN-ILS-GENERAL] web client hold slip

2018-03-08 Thread Mike Rylander
Hi Michael,

To follow up on what Terran said, I would recommend using transform
rather than -moz-transform, as the latter likely won't work in Chrome.
For more info:

https://www.w3schools.com/cssref/css3_pr_transform.asp

Thanks,

--
Mike Rylander
 | President
 | Equinox Open Library Initiative
 | phone:  1-877-OPEN-ILS (673-6457)
 | email:  mi...@equinoxinitiative.org
 | web:  http://equinoxinitiative.org


On Thu, Mar 8, 2018 at 2:40 PM, Terran McCanna
 wrote:
> Hi Michael,
>
> Rotating text should work the same. It looks funky in the preview pane, but
> when printing it should be okay.
>
> Limiting the number of characters:
>
> {{checkout.title | limitTo:10}}   (limits to first 10 characters)
>
> {{patron.card.barcode | limitTo:-5}}   (limits to last 5 characters)
>
>
> Hold shelf slip - shelf expire date:
> {{hold.shelf_expire_time | date:'M/d/'}}
>
> I have written up documentation for our libraries you are welcome to refer
> to (I believe this is going to mostly be ported into the official
> documentation when someone gets a chance):
>
> https://pines.georgialibraries.org/dokuwiki/doku.php?id=circ:workstations:receipts
> and
> https://pines.georgialibraries.org/dokuwiki/doku.php?id=circ:workstations:receipt-content
>
>
>
> Terran McCanna
> PINES Program Manager
> Georgia Public Library Service
> 1800 Century Place, Suite 150
> Atlanta, GA 30345
> 404-235-7138
> tmcca...@georgialibraries.org
>
>
> On Thu, Mar 8, 2018 at 2:28 PM, Michael Schell  wrote:
>>
>> 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.
>>
>> 
>> h1 {font-size:50px; -moz-transform:rotate(90deg);
>> text-transform:uppercase; padding-bottom:20px;padding-left:50px}
>> 
>>
>> Patron:%PATRON_FIRSTNAME% %PATRON_LASTNAME%
>> Title: %item_title%
>> 
>>
>> Notify by phone: %notify_by_phone%
>> Notified by text: %notify_by_text%
>> Notified by email: %notify_by_email%
>> 
>> - - - - - - -  TEAR HERE  - - - - - - -
>>
>> 
>> 
>> 
>> 
>>
>>
>>
>> %SUBSTR(0,3)%%PATRON_LASTNAME%%SUBSTR_END%%SUBSTR(-4)%%PATRON_BARCODE%%SUBSTR_END%%DATE_FORMAT(%shelf_expire_time%,%m/%d)%
>>
>> Any help would be appreciated.  Thanks.
>>
>> Michael
>>
>> --
>> Michael Schell
>> Systems Administrator
>> Fort Erie Public Library
>> 905-871-2546 x301
>> msch...@fepl.ca
>> www.fepl.ca
>
>


Re: [OPEN-ILS-GENERAL] web client hold slip

2018-03-08 Thread Terran McCanna
Hi Michael,

Rotating text should work the same. It looks funky in the preview pane, but
when printing it should be okay.

Limiting the number of characters:

{{checkout.title | limitTo:10}}   (limits to first 10 characters)

{{patron.card.barcode | limitTo:-5}}   (limits to last 5 characters)


Hold shelf slip - shelf expire date:
{{hold.shelf_expire_time | date:'M/d/'}}

I have written up documentation for our libraries you are welcome to refer
to (I believe this is going to mostly be ported into the official
documentation when someone gets a chance):

https://pines.georgialibraries.org/dokuwiki/doku.php?id=circ:workstations:receipts
and
https://pines.georgialibraries.org/dokuwiki/doku.php?id=circ:workstations:receipt-content



Terran McCanna
PINES Program Manager
Georgia Public Library Service
1800 Century Place, Suite 150
Atlanta, GA 30345
404-235-7138
tmcca...@georgialibraries.org


On Thu, Mar 8, 2018 at 2:28 PM, Michael Schell  wrote:

> 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.
>
> 
> h1 {font-size:50px; -moz-transform:rotate(90deg);
> text-transform:uppercase; padding-bottom:20px;padding-left:50px}
> 
>
> Patron:%PATRON_FIRSTNAME% %PATRON_LASTNAME%
> Title: %item_title%
> 
>
> Notify by phone: %notify_by_phone%
> Notified by text: %notify_by_text%
> Notified by email: %notify_by_email%
> 
> - - - - - - -  TEAR HERE  - - - - - - -
>
> 
> 
> 
> 
>
>
> %SUBSTR(0,3)%%PATRON_LASTNAME%%SUBSTR_END%%
> SUBSTR(-4)%%PATRON_BARCODE%%SUBSTR_END%%DATE_FORMAT(%
> shelf_expire_time%,%m/%d)%
>
> Any help would be appreciated.  Thanks.
>
> Michael
>
> --
> Michael Schell
> Systems Administrator
> Fort Erie Public Library
> 905-871-2546 x301 <(905)%20871-2546>
> msch...@fepl.ca
> www.fepl.ca
>