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">
4 <meta http-equiv="Content-Type" content="text/html; charset=UTF-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}
14 <table width="620" border="0" cellpadding="0" cellspacing="0" id="crm-event_receipt" style="font-family: Arial, Verdana, sans-serif; text-align: left;">
17 <!-- You can add table row(s) here with logo or other header elements -->
20 <!-- BEGIN CONTENT -->
24 {if $formValues.receipt_text_signup}
25 <p>{$formValues.receipt_text_signup|htmlize}</p>
26 {elseif $formValues.receipt_text_renewal}
27 <p>{$formValues.receipt_text_renewal|htmlize}</p>
29 <p>{ts}Thank you for your support.{/ts}</p>
32 <p>{ts}Please print this receipt for your records.{/ts}</p>
38 <table style="border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;">
42 {ts}Membership Information{/ts}
47 {ts}Membership Type{/ts}
58 {ts}Membership Start Date{/ts}
66 {ts}Membership End Date{/ts}
73 {if $formValues.total_amount OR $formValues.total_amount eq 0 }
76 {ts}Membership Fee{/ts}
79 {if $formValues.contributionType_name}
82 {ts}Financial Type{/ts}
85 {$formValues.contributionType_name}
91 {foreach from=$lineItem item=value key=priceset}
93 <td colspan="2" {$valueStyle}>
94 <table> {* FIXME: style this table so that it looks like the text version (justification, etc.) *}
96 <th>{ts}Item{/ts}</th>
98 <th>{ts}Membership Start Date{/ts}</th>
99 <th>{ts}Membership End Date{/ts}</th>
101 {foreach from=$value item=line}
104 {if $line.html_type eq 'Text'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description}<div>{$line.description|truncate:30:"..."}</div>{/if}
107 {$line.line_total|crmMoney}
127 {$formValues.total_amount|crmMoney}
133 {ts}Received Date{/ts}
136 {$receive_date|truncate:10:''|crmDate}
140 {if $formValues.paidBy}
149 {if $formValues.check_number}
152 {ts}Check Number{/ts}
155 {$formValues.check_number}
169 <table style="border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;">
171 {if $contributeMode ne 'notify' and !$isAmountzero and !$is_pay_later }
174 {ts}Billing Name and Address{/ts}
185 {if $contributeMode eq 'direct' and !$isAmountzero and !$is_pay_later}
188 {ts}Credit Card Information{/ts}
193 {$credit_card_type}<br />
194 {$credit_card_number}
202 {$credit_card_exp_date|truncate:7:''|crmDate}
215 <table style="border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;">
218 {ts}Membership Options{/ts}
221 {foreach from=$customValues item=value key=customName}