-
Notifications
You must be signed in to change notification settings - Fork 0
/
FulOverdueAndLostLoanNotificationLetter.xsl
109 lines (95 loc) · 3.39 KB
/
FulOverdueAndLostLoanNotificationLetter.xsl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:include href="header.xsl" />
<xsl:include href="senderReceiver.xsl" />
<xsl:include href="mailReason.xsl" />
<xsl:include href="footer.xsl" />
<xsl:include href="style.xsl" />
<xsl:template match="/">
<html>
<head>
<xsl:call-template name="generalStyle" />
</head>
<body>
<xsl:attribute name="style">
<xsl:call-template name="bodyStyleCss" /> <!-- style.xsl -->
</xsl:attribute>
<xsl:call-template name="head" /> <!-- header.xsl -->
<xsl:call-template name="senderReceiver" /> <!-- SenderReceiver.xsl -->
<br />
<xsl:call-template name="toWhomIsConcerned" /> <!-- mailReason.xsl -->
<table cellspacing="0" cellpadding="5" border="0">
<tr>
<td>
<h>@@inform_you_item_below@@ </h>
</td>
</tr>
</table>
<table cellpadding="5" class="listing">
<xsl:attribute name="style">
<xsl:call-template name="mainTableStyleCss" /> <!-- style.xsl -->
</xsl:attribute>
<xsl:for-each select="notification_data/loans_by_library/library_loans_for_display">
<tr>
<td>
<table cellpadding="5" class="listing">
<xsl:attribute name="style">
<xsl:call-template name="mainTableStyleCss" />
</xsl:attribute>
<tr>
<th>@@lost_item@@</th>
<th>@@loan_date@@</th>
<th>@@due_date@@</th>
<th>@@barcode@@</th>
<th>@@call_number@@</th>
<th>@@charged_with_fines_fees@@</th>
</tr>
<xsl:for-each select="item_loans/overdue_and_lost_loan_notification_display">
<tr>
<td><xsl:value-of select="item_loan/title"/></td>
<td><xsl:value-of select="item_loan/loan_date"/></td>
<td><xsl:value-of select="item_loan/due_date"/></td>
<td><xsl:value-of select="item_loan/barcode"/></td>
<td><xsl:value-of select="physical_item_display_for_printing/call_number"/></td>
<td>
<xsl:for-each select="fines_fees_list/user_fines_fees">
<b><xsl:value-of select="fine_fee_type_display"/>: </b><xsl:value-of select="fine_fee_ammount/sum"/> <xsl:value-of select="fine_fee_ammount/currency"/> <xsl:value-of select="ff"/>
<br />
</xsl:for-each>
</td>
</tr>
</xsl:for-each>
</table>
</td>
</tr>
<hr/><br/>
</xsl:for-each>
<xsl:if test="notification_data/overdue_notification_fee_amount/sum !=''">
<tr>
<td>
<b>@@overdue_notification_fee@@ </b>
<xsl:value-of select="notification_data/overdue_notification_fee_amount/sum"/> <xsl:value-of select="notification_data/overdue_notification_fee_amount/currency"/> <xsl:value-of select="ff"/>
</td>
</tr>
</xsl:if>
<br />
<br />
@@additional_info_1@@
<br />
@@additional_info_2@@
<br />
<table>
<tr><td>@@sincerely@@</td></tr>
<tr><td>@@department@@</td></tr>
</table>
</table>
<br />
<!-- footer.xsl -->
<xsl:call-template name="lastFooter" />
<xsl:call-template name="myAccount" />
<xsl:call-template name="contactUs" />
</body>
</html>
</xsl:template>
</xsl:stylesheet>