commiting uncommited changes on live site
[weblabels.fsf.org.git] / crm.fsf.org / 20131203 / files / sites / all / modules-old / civicrm / CRM / Upgrade / 4.2.alpha3.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 and !$is_quick_config}
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 and ($contributeMode eq 'notify' or $contributeMode eq 'directIPN')}
47 {ts}This is a recurring contribution. You can cancel future contributions at:{/ts}
48
49 {$cancelSubscriptionUrl}
50
51 {ts}You can update billing details for this recurring contribution at:{/ts}
52
53 {$updateSubscriptionBillingUrl}
54
55 {ts}You can update recurring contribution amount or change the number of installments for this recurring contribution at:{/ts}
56
57 {$updateSubscriptionUrl}
58
59 {/if}
60
61 {if $honor_block_is_active }
62 ===========================================================
63 {$honor_type}
64 ===========================================================
65 {$honor_prefix} {$honor_first_name} {$honor_last_name}
66 {if $honor_email}
67 {ts}Honoree Email{/ts}: {$honor_email}
68 {/if}
69
70 {/if}
71 {if $pcpBlock}
72 ===========================================================
73 {ts}Personal Campaign Page{/ts}
74
75 ===========================================================
76 {ts}Display In Honor Roll{/ts}: {if $pcp_display_in_roll}{ts}Yes{/ts}{else}{ts}No{/ts}{/if}
77
78 {if $pcp_roll_nickname}{ts}Nickname{/ts}: {$pcp_roll_nickname}{/if}
79
80 {if $pcp_personal_note}{ts}Personal Note{/ts}: {$pcp_personal_note}{/if}
81
82 {/if}
83 {if $onBehalfProfile}
84 ===========================================================
85 {ts}On Behalf Of{/ts}
86
87 ===========================================================
88 {foreach from=$onBehalfProfile item=onBehalfValue key=onBehalfName}
89 {$onBehalfName}: {$onBehalfValue}
90 {/foreach}
91 {/if}
92
93 {if !( $contributeMode eq 'notify' OR $contributeMode eq 'directIPN' ) and $is_monetary}
94 {if $is_pay_later}
95 ===========================================================
96 {ts}Registered Email{/ts}
97
98 ===========================================================
99 {$email}
100 {elseif $amount GT 0}
101 ===========================================================
102 {ts}Billing Name and Address{/ts}
103
104 ===========================================================
105 {$billingName}
106 {$address}
107
108 {$email}
109 {/if} {* End ! is_pay_later condition. *}
110 {/if}
111 {if $contributeMode eq 'direct' AND !$is_pay_later AND $amount GT 0}
112
113 ===========================================================
114 {ts}Credit Card Information{/ts}
115
116 ===========================================================
117 {$credit_card_type}
118 {$credit_card_number}
119 {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:''|crmDate}
120 {/if}
121
122 {if $selectPremium }
123 ===========================================================
124 {ts}Premium Information{/ts}
125
126 ===========================================================
127 {$product_name}
128 {if $option}
129 {ts}Option{/ts}: {$option}
130 {/if}
131 {if $sku}
132 {ts}SKU{/ts}: {$sku}
133 {/if}
134 {if $start_date}
135 {ts}Start Date{/ts}: {$start_date|crmDate}
136 {/if}
137 {if $end_date}
138 {ts}End Date{/ts}: {$end_date|crmDate}
139 {/if}
140 {if $contact_email OR $contact_phone}
141
142 {ts}For information about this premium, contact:{/ts}
143
144 {if $contact_email}
145 {$contact_email}
146 {/if}
147 {if $contact_phone}
148 {$contact_phone}
149 {/if}
150 {/if}
151 {if $is_deductible AND $price}
152
153 {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}
154 {/if}
155
156 {if $customPre}
157 ===========================================================
158 {$customPre_grouptitle}
159
160 ===========================================================
161 {foreach from=$customPre item=customValue key=customName}
162 {if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}
163 {$customName}: {$customValue}
164 {/if}
165 {/foreach}
166 {/if}
167
168
169 {if $customPost}
170 ===========================================================
171 {$customPost_grouptitle}
172
173 ===========================================================
174 {foreach from=$customPost item=customValue key=customName}
175 {if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}
176 {$customName}: {$customValue}
177 {/if}
178 {/foreach}
179 {/if}