commiting uncommited changes on live site
[weblabels.fsf.org.git] / crm.fsf.org / 20131203 / files / sites / all / modules-new / civicrm / CRM / Upgrade / 3.4.7.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 }
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}
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}
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 {if $receive_date}
83
84 {ts}Date{/ts}: {$receive_date|crmDate}
85 {/if}
86 {if $is_monetary and $trxn_id}
87 {ts}Transaction #{/ts}: {$trxn_id}
88
89 {/if}
90 {if $membership_trx_id}
91 {ts}Membership Transaction #{/ts}: {$membership_trx_id}
92
93 {/if}
94 {if $is_recur}
95 {if $contributeMode eq 'notify' or $contributeMode eq 'directIPN'}
96 {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}
97 {/if}
98 {/if}
99
100 {if $honor_block_is_active }
101 ===========================================================
102 {$honor_type}
103 ===========================================================
104 {$honor_prefix} {$honor_first_name} {$honor_last_name}
105 {if $honor_email}
106 {ts}Honoree Email{/ts}: {$honor_email}
107 {/if}
108
109 {/if}
110 {if $pcpBlock}
111 ===========================================================
112 {ts}Personal Campaign Page{/ts}
113
114 ===========================================================
115 {ts}Display In Honor Roll{/ts}: {if $pcp_display_in_roll}{ts}Yes{/ts}{else}{ts}No{/ts}{/if}
116
117 {if $pcp_roll_nickname}{ts}Nickname{/ts}: {$pcp_roll_nickname}{/if}
118
119 {if $pcp_personal_note}{ts}Personal Note{/ts}: {$pcp_personal_note}{/if}
120
121 {/if}
122 {if $onBehalfProfile}
123 ===========================================================
124 {ts}On Behalf Of{/ts}
125
126 ===========================================================
127 {foreach from=$onBehalfProfile item=onBehalfValue key=onBehalfName}
128 {$onBehalfName}: {$onBehalfValue}
129 {/foreach}
130 {/if}
131
132 {if !( $contributeMode eq 'notify' OR $contributeMode eq 'directIPN' ) and $is_monetary}
133 {if $is_pay_later}
134 ===========================================================
135 {ts}Registered Email{/ts}
136
137 ===========================================================
138 {$email}
139 {elseif $amount GT 0 OR $membership_amount GT 0 }
140 ===========================================================
141 {ts}Billing Name and Address{/ts}
142
143 ===========================================================
144 {$billingName}
145 {$address}
146
147 {$email}
148 {/if} {* End ! is_pay_later condition. *}
149 {/if}
150 {if $contributeMode eq 'direct' AND !$is_pay_later AND ( $amount GT 0 OR $membership_amount GT 0 ) }
151
152 ===========================================================
153 {ts}Credit Card Information{/ts}
154
155 ===========================================================
156 {$credit_card_type}
157 {$credit_card_number}
158 {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:''|crmDate}
159 {/if}
160
161 {if $selectPremium }
162 ===========================================================
163 {ts}Premium Information{/ts}
164
165 ===========================================================
166 {$product_name}
167 {if $option}
168 {ts}Option{/ts}: {$option}
169 {/if}
170 {if $sku}
171 {ts}SKU{/ts}: {$sku}
172 {/if}
173 {if $start_date}
174 {ts}Start Date{/ts}: {$start_date|crmDate}
175 {/if}
176 {if $end_date}
177 {ts}End Date{/ts}: {$end_date|crmDate}
178 {/if}
179 {if $contact_email OR $contact_phone}
180
181 {ts}For information about this premium, contact:{/ts}
182
183 {if $contact_email}
184 {$contact_email}
185 {/if}
186 {if $contact_phone}
187 {$contact_phone}
188 {/if}
189 {/if}
190 {if $is_deductible AND $price}
191
192 {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}
193 {/if}
194
195 {if $customPre}
196 ===========================================================
197 {$customPre_grouptitle}
198
199 ===========================================================
200 {foreach from=$customPre item=customValue key=customName}
201 {if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}
202 {$customName}: {$customValue}
203 {/if}
204 {/foreach}
205 {/if}
206
207
208 {if $customPost}
209 ===========================================================
210 {$customPost_grouptitle}
211
212 ===========================================================
213 {foreach from=$customPost item=customValue key=customName}
214 {if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}
215 {$customName}: {$customValue}
216 {/if}
217 {/foreach}
218 {/if}