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 <p>{ts 1=$contact.display_name}dear %1{/ts},</p>
25 <p>{ts}thank you for your generous pledge. please print this acknowledgment for your records.{/ts}</p>
30 <table style="border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;">
33 {ts}Pledge Information{/ts}
38 {ts}Pledge Received{/ts}
41 {$create_date|truncate:10:''|crmDate}
46 {ts}Total Pledge Amount{/ts}
49 {$total_pledge_amount|crmMoney:$currency}
54 {ts}Payment Schedule{/ts}
58 <td colspan="2" {$valueStyle}>
59 <p>{ts 1=$scheduled_amount|crmMoney:$currency 2=$frequency_interval 3=$frequency_unit 4=$installments}%1 every %2 %3 for %4 installments.{/ts}</p>
62 <p>{ts 1=$frequency_day 2=$frequency_unit}Payments are due on day %1 of the %2.{/ts}</p>
68 {assign var="count" value="1"}
69 {foreach from=$payments item=payment}
72 {ts 1=$count}Payment %1{/ts}
75 {$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}
78 {assign var="count" value=`$count+1`}
83 <td colspan="2" {$valueStyle}>
84 <p>{ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions
85 or need to modify your payment schedule.{/ts}</p>
90 {foreach from=$customGroup item=value key=customName}
96 {foreach from=$value item=v key=n}