commiting uncommited changes on live site
[weblabels.fsf.org.git] / crm.fsf.org / 20131203 / files / sites / all / modules-new / civicrm / CRM / Upgrade / 4.3.beta1.msg_template / message_templates / membership_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 $membership_assign && !$useForMember}
15 ===========================================================
16 {ts}Membership Information{/ts}
17
18 ===========================================================
19 {ts}Membership Type{/ts}: {$membership_name}
20 {if $mem_start_date}{ts}Membership Start Date{/ts}: {$mem_start_date|crmDate}
21 {/if}
22 {if $mem_end_date}{ts}Membership End Date{/ts}: {$mem_end_date|crmDate}
23 {/if}
24
25 {/if}
26 {if $amount}
27 ===========================================================
28 {ts}Membership Fee{/ts}
29
30 ===========================================================
31 {if !$useForMember && $membership_amount && $is_quick_config}
32 {ts 1=$membership_name}%1 Membership{/ts}: {$membership_amount|crmMoney}
33 {if $amount}
34 {if ! $is_separate_payment }
35 {ts}Contribution Amount{/ts}: {$amount|crmMoney}
36 {else}
37 {ts}Additional Contribution{/ts}: {$amount|crmMoney}
38 {/if}
39 {/if}
40 -------------------------------------------
41 {ts}Total{/ts}: {$amount+$membership_amount|crmMoney}
42 {elseif !$useForMember && $lineItem and $priceSetID & !$is_quick_config}
43 {foreach from=$lineItem item=value key=priceset}
44 ---------------------------------------------------------
45 {capture assign=ts_item}{ts}Item{/ts}{/capture}
46 {capture assign=ts_qty}{ts}Qty{/ts}{/capture}
47 {capture assign=ts_each}{ts}Each{/ts}{/capture}
48 {capture assign=ts_total}{ts}Total{/ts}{/capture}
49 {$ts_item|string_format:"%-30s"} {$ts_qty|string_format:"%5s"} {$ts_each|string_format:"%10s"} {$ts_total|string_format:"%10s"}
50 ----------------------------------------------------------
51 {foreach from=$value item=line}
52 {$line.description|truncate:30:"..."|string_format:"%-30s"} {$line.qty|string_format:"%5s"} {$line.unit_price|crmMoney|string_format:"%10s"} {$line.line_total|crmMoney|string_format:"%10s"}
53 {/foreach}
54 {/foreach}
55
56 {ts}Total Amount{/ts}: {$amount|crmMoney}
57 {else}
58 {if $useForMember && $lineItem && !$is_quick_config}
59 {foreach from=$lineItem item=value key=priceset}
60 {capture assign=ts_item}{ts}Item{/ts}{/capture}
61 {capture assign=ts_total}{ts}Fee{/ts}{/capture}
62 {capture assign=ts_start_date}{ts}Membership Start Date{/ts}{/capture}
63 {capture assign=ts_end_date}{ts}Membership End Date{/ts}{/capture}
64 {$ts_item|string_format:"%-30s"} {$ts_total|string_format:"%10s"} {$ts_start_date|string_format:"%20s"} {$ts_end_date|string_format:"%20s"}
65 --------------------------------------------------------------------------------------------------
66
67 {foreach from=$value item=line}
68 {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.line_total|crmMoney|string_format:"%10s"} {$line.start_date|string_format:"%20s"} {$line.end_date|string_format:"%20s"}
69 {/foreach}
70 {/foreach}
71 --------------------------------------------------------------------------------------------------
72 {/if}
73 {ts}Amount{/ts}: {$amount|crmMoney} {if $amount_level } - {$amount_level} {/if}
74 {/if}
75 {elseif $membership_amount}
76 ===========================================================
77 {ts}Membership Fee{/ts}
78
79 ===========================================================
80 {ts 1=$membership_name}%1 Membership{/ts}: {$membership_amount|crmMoney}
81 {/if}
82
83 {if $receive_date}
84
85 {ts}Date{/ts}: {$receive_date|crmDate}
86 {/if}
87 {if $is_monetary and $trxn_id}
88 {ts}Transaction #{/ts}: {$trxn_id}
89
90 {/if}
91 {if $membership_trx_id}
92 {ts}Membership Transaction #{/ts}: {$membership_trx_id}
93
94 {/if}
95 {if $is_recur}
96 {if $contributeMode eq 'notify' or $contributeMode eq 'directIPN'}
97 {ts 1=$cancelSubscriptionUrl}This membership will be renewed automatically. You can cancel the auto-renewal option by visiting this web page: %1.{/ts}
98
99 {ts 1=$updateSubscriptionBillingUrl}You can update billing details for this automatically renewed membership by <a href="%1">visiting this web page</a>.{/ts}
100 {/if}
101 {/if}
102
103 {if $honor_block_is_active }
104 ===========================================================
105 {$honor_type}
106 ===========================================================
107 {$honor_prefix} {$honor_first_name} {$honor_last_name}
108 {if $honor_email}
109 {ts}Honoree Email{/ts}: {$honor_email}
110 {/if}
111
112 {/if}
113 {if $pcpBlock}
114 ===========================================================
115 {ts}Personal Campaign Page{/ts}
116
117 ===========================================================
118 {ts}Display In Honor Roll{/ts}: {if $pcp_display_in_roll}{ts}Yes{/ts}{else}{ts}No{/ts}{/if}
119
120 {if $pcp_roll_nickname}{ts}Nickname{/ts}: {$pcp_roll_nickname}{/if}
121
122 {if $pcp_personal_note}{ts}Personal Note{/ts}: {$pcp_personal_note}{/if}
123
124 {/if}
125 {if $onBehalfProfile}
126 ===========================================================
127 {ts}On Behalf Of{/ts}
128
129 ===========================================================
130 {foreach from=$onBehalfProfile item=onBehalfValue key=onBehalfName}
131 {$onBehalfName}: {$onBehalfValue}
132 {/foreach}
133 {/if}
134
135 {if !( $contributeMode eq 'notify' OR $contributeMode eq 'directIPN' ) and $is_monetary}
136 {if $is_pay_later}
137 ===========================================================
138 {ts}Registered Email{/ts}
139
140 ===========================================================
141 {$email}
142 {elseif $amount GT 0 OR $membership_amount GT 0 }
143 ===========================================================
144 {ts}Billing Name and Address{/ts}
145
146 ===========================================================
147 {$billingName}
148 {$address}
149
150 {$email}
151 {/if} {* End ! is_pay_later condition. *}
152 {/if}
153 {if $contributeMode eq 'direct' AND !$is_pay_later AND ( $amount GT 0 OR $membership_amount GT 0 ) }
154
155 ===========================================================
156 {ts}Credit Card Information{/ts}
157
158 ===========================================================
159 {$credit_card_type}
160 {$credit_card_number}
161 {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:''|crmDate}
162 {/if}
163
164 {if $selectPremium }
165 ===========================================================
166 {ts}Premium Information{/ts}
167
168 ===========================================================
169 {$product_name}
170 {if $option}
171 {ts}Option{/ts}: {$option}
172 {/if}
173 {if $sku}
174 {ts}SKU{/ts}: {$sku}
175 {/if}
176 {if $start_date}
177 {ts}Start Date{/ts}: {$start_date|crmDate}
178 {/if}
179 {if $end_date}
180 {ts}End Date{/ts}: {$end_date|crmDate}
181 {/if}
182 {if $contact_email OR $contact_phone}
183
184 {ts}For information about this premium, contact:{/ts}
185
186 {if $contact_email}
187 {$contact_email}
188 {/if}
189 {if $contact_phone}
190 {$contact_phone}
191 {/if}
192 {/if}
193 {if $is_deductible AND $price}
194
195 {ts 1=$price|crmMoney}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}
196 {/if}
197
198 {if $customPre}
199 ===========================================================
200 {$customPre_grouptitle}
201
202 ===========================================================
203 {foreach from=$customPre item=customValue key=customName}
204 {if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}
205 {$customName}: {$customValue}
206 {/if}
207 {/foreach}
208 {/if}
209
210
211 {if $customPost}
212 ===========================================================
213 {$customPost_grouptitle}
214
215 ===========================================================
216 {foreach from=$customPost item=customValue key=customName}
217 {if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}
218 {$customName}: {$customValue}
219 {/if}
220 {/foreach}
221 {/if}