Merge pull request #24117 from civicrm/5.52
[civicrm-core.git] / xml / templates / message_templates / membership_autorenew_billing_html.tpl
CommitLineData
6a488035
TO
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
cb342529 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;">
6a488035
TO
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>
56658066 23 {assign var="greeting" value="{contact.email_greeting}"}{if $greeting}<p>{$greeting},</p>{/if}
6a488035
TO
24 <p>{ts 1=$membershipType}Billing details for your automatically renewed %1 membership have been updated.{/ts}</p>
25 </td>
26 </tr>
27 <tr>
28 </table>
29
cb342529 30 <table style="width:100%; max-width:500px; border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse;">
31 <tr>
6a488035
TO
32 <th {$headerStyle}>
33 {ts}Billing Name and Address{/ts}
34 </th>
35 </tr>
36 <tr>
37 <td colspan="2" {$valueStyle}>
38 {$billingName}<br />
39 {$address|nl2br}<br />
40 {$email}
41 </td>
42 </tr>
43 <tr>
44 <th {$headerStyle}>
45 {ts}Credit Card Information{/ts}
46 </th>
47 </tr>
48 <tr>
49 <td colspan="2" {$valueStyle}>
50 {$credit_card_type}<br />
51 {$credit_card_number}<br />
52 {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:''|crmDate}<br />
53 </td>
54 </tr>
55 <tr>
56 <td {$labelStyle}>
57 {ts 1=$receipt_from_email}If you have questions please contact us at %1{/ts}
58 </td>
59 </tr>
011aeb62 60
61 </table>
6a488035
TO
62
63</body>
64</html>