Additional IDs in the Patron List (cir-05) report
- Article Type: Q&A
- Product: Aleph
Question
Is it possible to display the additional IDs in the Patron List (cir-05) report?
Answer
Yes
Additional Information
The borrower-list-report.xls reports that are used for this service are located in the ./xxx50/form_lng (or xxx01/form_lng) directory or whatever location is the default. (This form_lng location can be checked in the ./xxx50/tab/path_convert.)
The z302-key-0x should correspond to the 0x type of ID used at at the library.
The label can be edited to describe the type of ID (LDAP, Campus, etc.).
Below is a sample report (borrower-List-report-03.xsl) with additional IDs:
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="xml" indent="yes"/>
<xsl:include href="funcs.xsl"/>
<xsl:template match="/">
<xsl:call-template name="header"/>
<!--section-02 (GRID)-->
<xsl:for-each select="//section-02">
<xsl:if test="position() = 1">
<xsl:call-template name="section-02">
<xsl:with-param name="header" select="'header'"/>
</xsl:call-template>
</xsl:if>
<xsl:call-template name="section-02"/>
</xsl:for-each>
</xsl:template>
<!-- START DATA -->
<xsl:template name="header">
<xsl:call-template name="header-gen">
<xsl:with-param name="title" select="'Patron List Report'"/>
</xsl:call-template>
</xsl:template>
<!--SECTION-02 (GRID)-->
<xsl:template name="section-02">
<xsl:param name="header"/>
<xsl:if test="$header!=''">
<xsl:call-template name="start-grid"/>
</xsl:if>
<xsl:call-template name="table-start-row"/>
<xsl:call-template name="display-grid-gen">
<xsl:with-param name="label" select="'Patron Barcode'"/>
<xsl:with-param name="value" select="./z308-key-data"/>
<xsl:with-param name="type" select="'barcode'"/>
<xsl:with-param name="header" select="$header"/>
</xsl:call-template>
<xsl:call-template name="display-grid-gen">
<xsl:with-param name="label" select="'Patron Name'"/>
<xsl:with-param name="value" select="./z303-name"/>
<xsl:with-param name="header" select="$header"/>
</xsl:call-template>
<xsl:call-template name="display-grid-gen">
<xsl:with-param name="label" select="'Patron Status'"/>
<xsl:with-param name="value" select="./z305-bor-status"/>
<xsl:with-param name="header" select="$header"/>
</xsl:call-template>
<xsl:call-template name="display-grid-gen">
<xsl:with-param name="label" select="'Phone No.'"/>
<xsl:with-param name="value" select="./z304-telephone"/>
<xsl:with-param name="header" select="$header"/>
</xsl:call-template>
<xsl:call-template name="display-grid-gen">
<xsl:with-param name="label" select="'Patron ID'"/>
<xsl:with-param name="value" select="./z303-id"/>
<xsl:with-param name="header" select="$header"/>
</xsl:call-template>
<xsl:call-template name="display-grid-gen">
<xsl:with-param name="label" select="'LDAP ID'"/>
<xsl:with-param name="value" select="./z302-key-07"/>
<xsl:with-param name="header" select="$header"/>
</xsl:call-template>
<xsl:call-template name="display-grid-gen">
<xsl:with-param name="label" select="'Campus ID'"/>
<xsl:with-param name="value" select="./z302-key-04"/>
<xsl:with-param name="header" select="$header"/>
</xsl:call-template>
<xsl:call-template name="table-end-row"/>
</xsl:template>
</xsl:stylesheet>
Category: Circulation (500)
Subject: Patrons
- Article last edited: 10/8/2013