Skip to main content
ExLibris

Knowledge Assistant

BETA
 
  • Subscribe by RSS
  • Back
    Aleph

     

    Ex Libris Knowledge Center
    1. Search site
      Go back to previous article
      1. Sign in
        • Sign in
        • Forgot password
    1. Home
    2. Aleph
    3. Knowledge Articles
    4. How to conditionally add supplier code to ill-patron-letter-i.xsl

    How to conditionally add supplier code to ill-patron-letter-i.xsl

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    No headers
    • Article Type: General
    • Product: Aleph
    • Product Version: 20

    Description:
    On the information slip printed by clicking print button in borrowing list (ill-patron-letter-i-00), the Request Status shows Sent to Supplier. Is it possible for this line to show the supplier code?

    Example:
    Request Status Sent to supplier: USMIL

    Resolution:
    Yes, change the following code in ill-patron-letter-i.xsl from:

    <xsl:call-template name="display-gen">
    <xsl:with-param name="label" select="'Request Status'"/>
    <xsl:with-param name="value" select="./z410-status"/>
    </xsl:call-template>

    to:

    <xsl:choose>
    <xsl:when test="./z410-status = 'Sent to supplier'">
    <xsl:call-template name="display-gen">
    <xsl:with-param name="label" select="'Request Status'"/>
    <xsl:with-param name="value" select="concat(//z410-status, ':', //z411-partner-code)"/>
    </xsl:call-template>
    </xsl:when>
    <xsl:otherwise>
    <xsl:call-template name="display-gen">
    <xsl:with-param name="label" select="'Request Status'"/>
    <xsl:with-param name="value" select="./z410-status"/>
    </xsl:call-template>
    </xsl:otherwise>
    </xsl:choose>


    • Article last edited: 10/8/2013
    View article in the Exlibris Knowledge Center
    1. Back to top
      • How to compose a link to Web OPAC results list, English Interface
      • How to configure ADAM - systems librarian
    • Was this article helpful?

    Recommended articles

    1. Article type
      Topic
      Language
      English
      Product
      Aleph
    2. Tags
      1. 20
      2. contype:kba
      3. Prod:Aleph
      4. Type:General
    1. © Copyright 2025 Ex Libris Knowledge Center
    2. Powered by CXone Expert ®
    • Term of Use
    • Privacy Policy
    • Contact Us
    2025 Ex Libris. All rights reserved