-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPartnerInvoiceLetter.xml
101 lines (89 loc) · 5.08 KB
/
PartnerInvoiceLetter.xml
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
<?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>
<xsl:if test="notification_data/languages/string">
<xsl:attribute name="lang">
<xsl:value-of select="notification_data/languages/string"/>
</xsl:attribute>
</xsl:if>
<head>
<title>
<xsl:value-of select="notification_data/general_data/subject"/>
</title>
<xsl:call-template name="generalStyle" />
</head>
<body>
<xsl:attribute name="style">
<xsl:call-template name="bodyStyleCss" />
</xsl:attribute>
<xsl:call-template name="head" />
<xsl:call-template name="senderReceiver" />
<br />
<xsl:if test="notification_data/invoice_id != ''" >
<h4>@@invoiceNumber@@: <xsl:value-of select="/notification_data/invoice_id"/></h4>
</xsl:if>
<table cellpadding="5" class="listing">
<xsl:attribute name="style">
<xsl:call-template name="mainTableStyleCss" /> <!-- style.xsl -->
</xsl:attribute>
<tr>
<th>@@externalIdentifier@@</th>
<th>@@title@@</th>
<th>@@feeType@@</th>
<th>@@chargeAmount@@</th>
</tr>
<xsl:for-each select="notification_data/lending_request_fee_list/lending_request_fee">
<tr>
<xsl:if test="external_identifier != '0' and external_identifier != '1'" >
<td><xsl:value-of select="external_identifier"/></td>
</xsl:if>
<xsl:if test="external_identifier = '0' or external_identifier = '1'" >
<td></td>
</xsl:if>
<td><xsl:value-of select="title"/></td>
<xsl:if test="external_identifier != '0' and external_identifier != '1' and fee_type != 'Copyright Fee'" >
<td><xsl:value-of select="fee_type"/></td>
<td align="right"><xsl:value-of select="charge_amount"/> <xsl:value-of select="currency"/></td>
</xsl:if>
<xsl:if test="external_identifier != '0' and external_identifier != '1' and fee_type = 'Copyright Fee'" >
<td>Lost Item Replacement Fee</td>
<td align="right"><xsl:value-of select="charge_amount"/> <xsl:value-of select="currency"/></td>
</xsl:if>
<xsl:if test="external_identifier = '0' or external_identifier = '1'" >
<strong><td><xsl:value-of select="fee_type"/></td></strong>
<strong><td align="right"><xsl:value-of select="charge_amount"/> <xsl:value-of select="currency"/></td></strong>
</xsl:if>
<xsl:if test="external_identifier = '0'">
<tr>
<td colspan="4">
<div style="border-top: 3px solid black; margin: 0;"></div>
</td>
</tr>
</xsl:if>
</tr>
</xsl:for-each>
</table>
<br />
<h3>Payment information:</h3>
<p>
Physical loan:$30 USD/2.5 IFLA vouchers for libraries outside of North America (United States, Canada, Mexico). Vouchers for loans may be returned with the item. Please put vouchers in a separate envelope inside the package and address to Emily Hartman.
</p>
<p>For lost book invoices, we prefer replacement copies. Please reply to this email for replacement copy requirements.</p>
<p>We accept payment by check, credit card, or IFLA vouchers. Please make checks payable to Brandeis University. Please reply to this email if you would like to pay by credit card.</p>
<p>Please address checks, vouchers, or replacement copies to:</p>
<p>Emily Hartman<br />
Brandeis Library, Interlibrary Loan<br />
415 South St MS 045<br />
Waltham, MA 02453</p>
<p>Payments must pass through the Interlibrary Loan office. If your institution requires direct deposits, please reply to this email for further instructions.</p>
</body>
</html>
</xsl:template>
</xsl:stylesheet>