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}
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;">
16 <!-- You can add table row(s) here with logo or other header elements -->
19 <!-- BEGIN CONTENT -->
23 {assign var="greeting" value="{contact.email_greeting_display}"}{if $greeting}<p>{$greeting},</p>{/if}
24 <p>{ts}Thank you for your generous pledge.{/ts}</p>
29 <table style="border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;">
32 {ts}Pledge Information{/ts}
37 {ts}Pledge Received{/ts}
40 {$create_date|truncate:10:''|crmDate}
45 {ts}Total Pledge Amount{/ts}
48 {$total_pledge_amount|crmMoney:$currency}
53 {ts}Payment Schedule{/ts}
57 <td colspan="2" {$valueStyle}>
58 <p>{ts 1=$scheduled_amount|crmMoney:$currency 2=$frequency_interval 3=$frequency_unit 4=$installments}%1 every %2 %3 for %4 installments.{/ts}</p>
61 <p>{ts 1=$frequency_day 2=$frequency_unit}Payments are due on day %1 of the %2.{/ts}</p>
67 {assign var="count" value="1"}
68 {foreach from=$payments item=payment}
71 {ts 1=$count}Payment %1{/ts}
74 {$payment.amount|crmMoney:$currency} {if $payment.status eq 1}{ts}paid{/ts} {$payment.receive_date|truncate:10:''|crmDate}{else}{ts}due{/ts} {$payment.due_date|truncate:10:''|crmDate}{/if}
77 {assign var="count" value=`$count+1`}
82 <td colspan="2" {$valueStyle}>
83 <p>{ts 1='{domain.phone}' 2='{domain.email}'}Please contact us at %1 or send email to %2 if you have questions
84 or need to modify your payment schedule.{/ts}</p>
89 {foreach from=$customGroup item=value key=customName}
95 {foreach from=$value item=v key=n}