[Koha] limit display length of last name? (holdslip)

Adams, Jason JAdams at washoecounty.us
Fri Feb 10 08:08:08 NZDT 2012


Our library branch places hold items (to be picked up) in a public area
for patrons to grab and check out for themselves.  For privacy reasons,
we'd like to limit the info displayed on the hold slips/receipts.  Is
there a way to limit the length (e.g. first 2 letters) of the "surname"
displayed on these receipts AND is there a way to limit the display of
units of the "cardnumber" (e.g. the LAST 4 numbers).  I'm hoping it's a
matter of simple HTML code for displaying pieces (or limited lengths) of
database info that I've never needed to know about until now.

Many thanks to whomever can provide a solution and/or other alternatives
for "privatizing" the hold slips.  We're currently typing this code
(first 2 of last name and last 4 of card number) into a template that we
print via Publisher.  It'd be great if we could write/code it into Koha
to do for us.

Jason Adams, L.A. II

Northwest Reno Library



I believe this is what we'd like to change (where it says surname and
cardnumber) -


koha-tmpl/intranet-tmpl/prog/en/modules/circ/hold-transfer-slip.tmpl

 

<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->

<title>Koha -- Circulation: Transfers</title>

<!-- TMPL_INCLUDE NAME="doc-head-close-receipt.inc" -->

</head>

<body onload="window.print();">

<div id="holdslip">

        <!-- TMPL_LOOP NAME="reservedata" -->

<h5>Date: <!-- TMPL_VAR NAME="pulldate" --></h5>

<h3 class="transferdata"> <!-- TMPL_IF NAME="transferrequired"
-->Transfer to <!-- TMPL_ELSE -->Hold in <!-- /TMPL_IF --> <!-- TMPL_VAR
Name="pickup_library" --></h3>

<div id="patrondata">

<h3><!-- TMPL_VAR Name="surname" -->, <!-- TMPL_VAR Name="firstname" -->

</h3>

<ul>

    <li><!-- TMPL_VAR Name="cardnumber" --></li>

 

...

 

...

 



More information about the Koha mailing list