Hi Garry,

Thanks!  That's exactly what I needed for the barcode.

Jennifer

Quoting Garry Collum via Evergreen-general <[email protected]>:

Hi Jennifer,

Pertaining to the barcode, I just tried hold.cp_barcode.substr(8, 6) and hold.cp_barcode.substr(-6) to print out the last 6 digits of the barcodes. Both worked.

The first is an offset plus number of digits, the second is the number of digits from the end of the string.

Garry






-------- Original message --------
From: Jennifer Pringle via Evergreen-general <[email protected]>
Date: 11/2/22 6:42 PM (GMT-05:00)
To: Evergreen Group <[email protected]>
Cc: Jennifer Pringle <[email protected]>
Subject: [Evergreen-general] Questions About Customizing the New Print Templates


Hello,

Does anyone have tips, resources, or documentation about customizing
templates via Admin -> Server Administration -> Print Templates that
they'd be willing to share?

We're running 3.9.0 and I'm trying to customize the new Hold Pull List
print out for a library.  The changes I'm currently trying to make are:
1. having the author column only include the $a from the 100 field in
the MARC. Right now the contents of $d (author dates) are also
included which isn't needed on the pull list.
2. showing just the last few digits of the item barcode.  Our library
prints their pull list out on their receipt printer so we don't want
the full 14 digit barcode to display.  (I can do this with fields in
the old workstation receipt templates.)

I checked the official docs and the last few sets of release notes and
couldn't find anything.

Thanks,

Jennifer
--
Jennifer Pringle (she/her)
Co-op Support - Training Lead
BC Libraries Cooperative
Toll-free: 1-888-848-9250
Email:[email protected]
Website: http://bc.libraries.coop

Gratefully acknowledging that I live and work in the unceded
Traditional Territory of the St'at'yemc Nations.

_______________________________________________
Evergreen-general mailing list
[email protected]
http://list.evergreen-ils.org/cgi-bin/mailman/listinfo/evergreen-general


--
Jennifer Pringle (she/her)
Co-op Support - Training Lead
BC Libraries Cooperative
Toll-free: 1-888-848-9250
Email:[email protected]
Website: http://bc.libraries.coop

Gratefully acknowledging that I live and work in the unceded Traditional Territory of the St'at'yemc Nations.

_______________________________________________
Evergreen-general mailing list
[email protected]
http://list.evergreen-ils.org/cgi-bin/mailman/listinfo/evergreen-general

Reply via email to