HTMLInputCoder - Add more variants for encoding arrays
[civicrm-core.git] / xml / templates / message_templates / pledge_acknowledge_text.tpl
CommitLineData
3eb013ed 1{assign var="greeting" value="{contact.email_greeting}"}{if $greeting}<p>{$greeting},</p>{/if}
6a488035 2
c4ada33c 3{ts}Thank you for your generous pledge.{/ts}
6a488035
TO
4
5===========================================================
6{ts}Pledge Information{/ts}
7
8===========================================================
9{ts}Pledge Received{/ts}: {$create_date|truncate:10:''|crmDate}
10{ts}Total Pledge Amount{/ts}: {$total_pledge_amount|crmMoney:$currency}
11
12===========================================================
13{ts}Payment Schedule{/ts}
14
15===========================================================
16{ts 1=$scheduled_amount|crmMoney:$currency 2=$frequency_interval 3=$frequency_unit 4=$installments}%1 every %2 %3 for %4 installments.{/ts}
17
18{if $frequency_day}
19
20{ts 1=$frequency_day 2=$frequency_unit}Payments are due on day %1 of the %2.{/ts}
21{/if}
22
23{if $payments}
24{assign var="count" value="1"}
25{foreach from=$payments item=payment}
26
27{ts 1=$count}Payment %1{/ts}: {$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}
28{assign var="count" value=`$count+1`}
29{/foreach}
30{/if}
31
32
33{ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions
34or need to modify your payment schedule.{/ts}
35
6a488035
TO
36{if $customGroup}
37{foreach from=$customGroup item=value key=customName}
38===========================================================
39{$customName}
40===========================================================
41{foreach from=$value item=v key=n}
42{$n}: {$v}
43{/foreach}
44{/foreach}
45{/if}