commiting uncommited changes on live site
[weblabels.fsf.org.git] / crm.fsf.org / 20131203 / files / sites / all / modules-old / civicrm / CRM / Upgrade / 3.3.beta2.msg_template / message_templates / contribution_online_receipt_text.tpl
1 {if $receipt_text}
2 {$receipt_text}
3 {/if}
4 {if $is_pay_later}
5
6 ===========================================================
7 {$pay_later_receipt}
8 ===========================================================
9 {else}
10
11 {ts}Please print this receipt for your records.{/ts}
12 {/if}
13
14 {if $amount}
15 ===========================================================
16 {ts}Contribution Information{/ts}
17
18 ===========================================================
19 {if $lineItem and $priceSetID}
20 {foreach from=$lineItem item=value key=priceset}
21 ---------------------------------------------------------
22 {capture assign=ts_item}{ts}Item{/ts}{/capture}
23 {capture assign=ts_qty}{ts}Qty{/ts}{/capture}
24 {capture assign=ts_each}{ts}Each{/ts}{/capture}
25 {capture assign=ts_total}{ts}Total{/ts}{/capture}
26 {$ts_item|string_format:"%-30s"} {$ts_qty|string_format:"%5s"} {$ts_each|string_format:"%10s"} {$ts_total|string_format:"%10s"}
27 ----------------------------------------------------------
28 {foreach from=$value item=line}
29 {capture assign=ts_item}{if $line.html_type eq 'Text'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description} {$line.description}{/if}{/capture}{$ts_item|truncate:30:"..."|string_format:"%-30s"} {$line.qty|string_format:"%5s"} {$line.unit_price|crmMoney:$currency|string_format:"%10s"} {$line.line_total|crmMoney:$currency|string_format:"%10s"}
30 {/foreach}
31 {/foreach}
32
33 {ts}Total Amount{/ts}: {$amount|crmMoney:$currency}
34 {else}
35 {ts}Amount{/ts}: {$amount|crmMoney:$currency} {if $amount_level } - {$amount_level} {/if}
36 {/if}
37 {/if}
38 {if $receive_date}
39
40 {ts}Date{/ts}: {$receive_date|crmDate}
41 {/if}
42 {if $is_monetary and $trxn_id}
43 {ts}Transaction #{/ts}: {$trxn_id}
44 {/if}
45
46 {if $is_recur}
47 {if $contributeMode eq 'notify'}
48 {ts}This is a recurring contribution. You can modify or cancel future contributions by logging in to your account at:{/ts}
49
50 {$cancelSubscriptionUrl}
51 {elseif $contributeMode eq 'directIPN' and $receiptFromEmail}
52 {ts 1=$receiptFromEmail}This is a recurring contribution. To modify or cancel future contributions please contact us at %1.{/ts}
53
54 {/if}
55 {/if}
56
57 {if $honor_block_is_active }
58 ===========================================================
59 {$honor_type}
60 ===========================================================
61 {$honor_prefix} {$honor_first_name} {$honor_last_name}
62 {if $honor_email}
63 {ts}Honoree Email{/ts}: {$honor_email}
64 {/if}
65
66 {/if}
67 {if $pcpBlock}
68 ===========================================================
69 {ts}Personal Campaign Page{/ts}
70
71 ===========================================================
72 {ts}Display In Honor Roll{/ts}: {if $pcp_display_in_roll}{ts}Yes{/ts}{else}{ts}No{/ts}{/if}
73
74 {if $pcp_roll_nickname}{ts}Nickname{/ts}: {$pcp_roll_nickname}{/if}
75
76 {if $pcp_personal_note}{ts}Personal Note{/ts}: {$pcp_personal_note}{/if}
77
78 {/if}
79 {if $onBehalfName}
80 ===========================================================
81 {ts}On Behalf Of{/ts}
82
83 ===========================================================
84 {$onBehalfName}
85 {$onBehalfAddress}
86
87 {$onBehalfEmail}
88
89 {/if}
90
91 {if !( $contributeMode eq 'notify' OR $contributeMode eq 'directIPN' ) and $is_monetary}
92 {if $is_pay_later}
93 ===========================================================
94 {ts}Registered Email{/ts}
95
96 ===========================================================
97 {$email}
98 {elseif $amount GT 0}
99 ===========================================================
100 {ts}Billing Name and Address{/ts}
101
102 ===========================================================
103 {$billingName}
104 {$address}
105
106 {$email}
107 {/if} {* End ! is_pay_later condition. *}
108 {/if}
109 {if $contributeMode eq 'direct' AND !$is_pay_later AND $amount GT 0}
110
111 ===========================================================
112 {ts}Credit Card Information{/ts}
113
114 ===========================================================
115 {$credit_card_type}
116 {$credit_card_number}
117 {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:''|crmDate}
118 {/if}
119
120 {if $selectPremium }
121 ===========================================================
122 {ts}Premium Information{/ts}
123
124 ===========================================================
125 {$product_name}
126 {if $option}
127 {ts}Option{/ts}: {$option}
128 {/if}
129 {if $sku}
130 {ts}SKU{/ts}: {$sku}
131 {/if}
132 {if $start_date}
133 {ts}Start Date{/ts}: {$start_date|crmDate}
134 {/if}
135 {if $end_date}
136 {ts}End Date{/ts}: {$end_date|crmDate}
137 {/if}
138 {if $contact_email OR $contact_phone}
139
140 {ts}For information about this premium, contact:{/ts}
141
142 {if $contact_email}
143 {$contact_email}
144 {/if}
145 {if $contact_phone}
146 {$contact_phone}
147 {/if}
148 {/if}
149 {if $is_deductible AND $price}
150
151 {ts 1=$price|crmMoney:$currency}The value of this premium is %1. This may affect the amount of the tax deduction you can claim. Consult your tax advisor for more information.{/ts}{/if}
152 {/if}
153
154 {if $customPre}
155 ===========================================================
156 {$customPre_grouptitle}
157
158 ===========================================================
159 {foreach from=$customPre item=customValue key=customName}
160 {if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}
161 {$customName}: {$customValue}
162 {/if}
163 {/foreach}
164 {/if}
165
166
167 {if $customPost}
168 ===========================================================
169 {$customPost_grouptitle}
170
171 ===========================================================
172 {foreach from=$customPost item=customValue key=customName}
173 {if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}
174 {$customName}: {$customValue}
175 {/if}
176 {/foreach}
177 {/if}