Merge pull request #24117 from civicrm/5.52
[civicrm-core.git] / xml / templates / message_templates / pledge_reminder_html.tpl
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml">
3 <head>
4 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
5 <title></title>
6 </head>
7 <body>
8
9 {capture assign=headerStyle}colspan="2" style="text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;"{/capture}
10 {capture assign=labelStyle }style="padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;"{/capture}
11 {capture assign=valueStyle }style="padding: 4px; border-bottom: 1px solid #999;"{/capture}
12
13 <table id="crm-event_receipt" style="font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;">
14
15 <!-- BEGIN HEADER -->
16 <!-- You can add table row(s) here with logo or other header elements -->
17 <!-- END HEADER -->
18
19 <!-- BEGIN CONTENT -->
20
21 <tr>
22 <td>
23 {assign var="greeting" value="{contact.email_greeting_display}"}{if $greeting}<p>{$greeting},</p>{/if}
24 <p>{ts 1=$next_payment|truncate:10:''|crmDate}This is a reminder that the next payment on your pledge is due on %1.{/ts}</p>
25 </td>
26 </tr>
27 <tr>
28 <td>
29 <table style="border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;">
30 <tr>
31 <th {$headerStyle}>
32 {ts}Payment Due{/ts}
33 </th>
34 </tr>
35 <tr>
36 <td {$labelStyle}>
37 {ts}Amount Due{/ts}
38 </td>
39 <td {$valueStyle}>
40 {$amount_due|crmMoney:$currency}
41 </td>
42 </tr>
43 </table>
44 </td>
45 </tr>
46
47 <tr>
48 <td>
49 {if $contribution_page_id}
50 {capture assign=contributionUrl}{crmURL p='civicrm/contribute/transact' q="reset=1&id=`$contribution_page_id`&cid=`{contact.id}`&pledgeId=`$pledge_id`&cs=`$checksumValue`" a=true h=0 fe=1}{/capture}
51 <p><a href="{$contributionUrl}">{ts}Go to a web page where you can make your payment online{/ts}</a></p>
52 {else}
53 <p>{ts}Please mail your payment to{/ts}: {domain.address}</p>
54 {/if}
55 </td>
56 </tr>
57
58 <tr>
59 <td>
60 <table style="border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;">
61 <tr>
62 <th {$headerStyle}>
63 {ts}Pledge Information{/ts}
64 </th>
65 </tr>
66 <tr>
67 <td {$labelStyle}>
68 {ts}Pledge Received{/ts}
69 </td>
70 <td {$valueStyle}>
71 {$create_date|truncate:10:''|crmDate}
72 </td>
73 </tr>
74 <tr>
75 <td {$labelStyle}>
76 {ts}Total Pledge Amount{/ts}
77 </td>
78 <td {$valueStyle}>
79 {$amount|crmMoney:$currency}
80 </td>
81 </tr>
82 <tr>
83 <td {$labelStyle}>
84 {ts}Total Paid{/ts}
85 </td>
86 <td {$valueStyle}>
87 {$amount_paid|crmMoney:$currency}
88 </td>
89 </tr>
90 </table>
91 </td>
92 </tr>
93
94 <tr>
95 <td>
96 <p>{ts 1='{domain.phone}' 2='{domain.email}'}Please contact us at %1 or send email to %2 if you have questions
97 or need to modify your payment schedule.{/ts}</p>
98 <p>{ts}Thank your for your generous support.{/ts}</p>
99 </td>
100 </tr>
101
102 </table>
103
104 </body>
105 </html>