different types in the lost loan notification letter
- Product: Alma
- Product Version:
- Relevant for Installation Type:
Description
In the "Lost Loan Notification Letter" you can define different types of strings, depending on the overdue notification type. Example:
- inform_you_item_below_type1 (belongs to "Overdue notification type 1")
- inform_you_item_below_type2 (belongs to "Overdue notification type 2")
- inform_you_item_below_type3 (belongs to "Overdue notification type 3")
- inform_you_item_below_type4 (belongs to "Overdue notification type 4")
- inform_you_item_below_type5 (belongs to "Overdue notification type 5")
How do I customise my letter in order to implement them.
Resolution
Please replace the following section in your Lost Loan Notification Letter:
<table cellspacing="0" cellpadding="5" border="0">
<tr>
<td>
<h>@@inform_you_item_below@@ </h>
<h>@@borrowed_by_you@@ @@decalred_as_lost@@</h>
</td>
</tr>
</table>
with:
<xsl:for-each select="notification_data">
<xsl:if test="/notification_data/notification_type='OverdueNotificationType1'">
<table cellspacing="0" cellpadding="5" border="0">
<tr>
<td>
<h>@@inform_you_item_below_type1@@ </h>
<h>@@borrowed_by_you@@ @@decalred_as_lost_type1@@</h>
</td>
</tr>
</table>
</xsl:if>
<xsl:if test="/notification_data/notification_type='OverdueNotificationType2'">
<table cellspacing="0" cellpadding="5" border="0">
<tr>
<td>
<h>@@inform_you_item_below_type2@@ </h>
<h>@@borrowed_by_you@@ @@decalred_as_lost_type2@@</h>
</td>
</tr>
</table>
</xsl:if>
</xsl:for-each>
Do it accordingly with other sections where you want to use types.
- Article last edited: 23-June-2016