How do I change the subject of Alma Overdue and Lost Loan notification when I have multiple notification types
Instructions
Subjects of Alma notifications may be set by using the General Configuration menu > Letter Emails, and configuring the ‘subject’ line.
When configuring multiple Overdue and Lost Loan Profiles to use different notification types, you can configure the ./xsl/letters/call_template/header.xsl file (in the Customize Letters option of the General Configuration menu) to be sensitive to the notification type.
Example
For example, to support a different subject for OverdueNotificationType2 notifications , change the below OTB :
<xsl:for-each select="notification_data/general_data">
<td>
<h1><xsl:value-of select="letter_name"/></h1>
</td>
<td align="right">
<xsl:value-of select="current_date"/>
</td>
</xsl:for-each>
</tr>
To:
<xsl:for-each select="notification_data/general_data">
<xsl:choose>
<xsl:when test="/notification_data/notification_type = 'OverdueNotificationType2'">
<td>
<h1>State Library of Queensland - Final Overdue Notice</h1>
</td>
</xsl:when>
<xsl:otherwise>
<td>
<h1><xsl:value-of select="letter_name"/></h1>
</td>
</xsl:otherwise>
</xsl:choose>
<td align="right">
<xsl:value-of select="current_date"/>
</td>
</xsl:for-each>
</tr>