Merge remote-tracking branch 'upstream/4.5' into 4.5-master-2014-12-22-22-01-44
[civicrm-core.git] / CRM / Upgrade / 3.3.2.msg_template / message_templates / membership_online_receipt_text.tpl
CommitLineData
6a488035
TO
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}
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 $membership_amount }
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 $lineItem and $priceSetID}
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{ts}Amount{/ts}: {$amount|crmMoney} {if $amount_level } - {$amount_level} {/if}
59{/if}
60{elseif $membership_amount}
61===========================================================
62{ts}Membership Fee{/ts}
63
64===========================================================
65{ts 1=$membership_name}%1 Membership{/ts}: {$membership_amount|crmMoney}
66{/if}
67{if $receive_date}
68
69{ts}Date{/ts}: {$receive_date|crmDate}
70{/if}
71{if $is_monetary and $trxn_id}
72{ts}Transaction #{/ts}: {$trxn_id}
73
74{/if}
75{if $membership_trx_id}
76{ts}Membership Transaction #{/ts}: {$membership_trx_id}
77
78{/if}
79{if $is_recur}
80{if $contributeMode eq 'notify' or $contributeMode eq 'directIPN'}
81{ts 1=$cancelSubscriptionUrl}This membership will be renewed automatically. You can modify or cancel the auto-renewal option by visiting this web page: %1.{/ts}
82{/if}
83{/if}
84
85{if $honor_block_is_active }
86===========================================================
87{$honor_type}
88===========================================================
89{$honor_prefix} {$honor_first_name} {$honor_last_name}
90{if $honor_email}
91{ts}Honoree Email{/ts}: {$honor_email}
92{/if}
93
94{/if}
95{if $pcpBlock}
96===========================================================
97{ts}Personal Campaign Page{/ts}
98
99===========================================================
100{ts}Display In Honor Roll{/ts}: {if $pcp_display_in_roll}{ts}Yes{/ts}{else}{ts}No{/ts}{/if}
101
102{if $pcp_roll_nickname}{ts}Nickname{/ts}: {$pcp_roll_nickname}{/if}
103
104{if $pcp_personal_note}{ts}Personal Note{/ts}: {$pcp_personal_note}{/if}
105
106{/if}
107{if $onBehalfName}
108===========================================================
109{ts}On Behalf Of{/ts}
110
111===========================================================
112{$onBehalfName}
113{$onBehalfAddress}
114
115{$onBehalfEmail}
116
117{/if}
118
119{if !( $contributeMode eq 'notify' OR $contributeMode eq 'directIPN' ) and $is_monetary}
120{if $is_pay_later}
121===========================================================
122{ts}Registered Email{/ts}
123
124===========================================================
125{$email}
126{elseif $amount GT 0 OR $membership_amount GT 0 }
127===========================================================
128{ts}Billing Name and Address{/ts}
129
130===========================================================
131{$billingName}
132{$address}
133
134{$email}
135{/if} {* End ! is_pay_later condition. *}
136{/if}
137{if $contributeMode eq 'direct' AND !$is_pay_later AND ( $amount GT 0 OR $membership_amount GT 0 ) }
138
139===========================================================
140{ts}Credit Card Information{/ts}
141
142===========================================================
143{$credit_card_type}
144{$credit_card_number}
145{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:''|crmDate}
146{/if}
147
148{if $selectPremium }
149===========================================================
150{ts}Premium Information{/ts}
151
152===========================================================
153{$product_name}
154{if $option}
155{ts}Option{/ts}: {$option}
156{/if}
157{if $sku}
158{ts}SKU{/ts}: {$sku}
159{/if}
160{if $start_date}
161{ts}Start Date{/ts}: {$start_date|crmDate}
162{/if}
163{if $end_date}
164{ts}End Date{/ts}: {$end_date|crmDate}
165{/if}
166{if $contact_email OR $contact_phone}
167
168{ts}For information about this premium, contact:{/ts}
169
170{if $contact_email}
171 {$contact_email}
172{/if}
173{if $contact_phone}
174 {$contact_phone}
175{/if}
176{/if}
177{if $is_deductible AND $price}
178
179{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}
180{/if}
181
182{if $customPre}
183===========================================================
184{$customPre_grouptitle}
185
186===========================================================
187{foreach from=$customPre item=customValue key=customName}
188{if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}
189 {$customName}: {$customValue}
190{/if}
191{/foreach}
192{/if}
193
194
195{if $customPost}
196===========================================================
197{$customPost_grouptitle}
198
199===========================================================
200{foreach from=$customPost item=customValue key=customName}
201{if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}
202 {$customName}: {$customValue}
203{/if}
204{/foreach}
205{/if}