Commit | Line | Data |
---|---|---|
e74e138c | 1 | {assign var="greeting" value="{contact.email_greeting}"}{if $greeting}{$greeting},{/if} |
6a488035 TO |
2 | {if $receipt_text} |
3 | {$receipt_text} | |
4 | {/if} | |
5 | {if $is_pay_later} | |
6 | ||
7 | =========================================================== | |
8 | {$pay_later_receipt} | |
9 | =========================================================== | |
10 | {else} | |
11 | ||
12 | {ts}Please print this receipt for your records.{/ts} | |
13 | {/if} | |
14 | ||
15 | {if $membership_assign && !$useForMember} | |
16 | =========================================================== | |
17 | {ts}Membership Information{/ts} | |
18 | ||
19 | =========================================================== | |
20 | {ts}Membership Type{/ts}: {$membership_name} | |
21 | {if $mem_start_date}{ts}Membership Start Date{/ts}: {$mem_start_date|crmDate} | |
22 | {/if} | |
23 | {if $mem_end_date}{ts}Membership End Date{/ts}: {$mem_end_date|crmDate} | |
24 | {/if} | |
25 | ||
26 | {/if} | |
27 | {if $amount} | |
28 | =========================================================== | |
29 | {ts}Membership Fee{/ts} | |
30 | ||
31 | =========================================================== | |
32 | {if !$useForMember && $membership_amount && $is_quick_config} | |
33 | {ts 1=$membership_name}%1 Membership{/ts}: {$membership_amount|crmMoney} | |
735eaff9 | 34 | {if $amount && !$is_separate_payment } |
6a488035 | 35 | {ts}Contribution Amount{/ts}: {$amount|crmMoney} |
6a488035 TO |
36 | ------------------------------------------- |
37 | {ts}Total{/ts}: {$amount+$membership_amount|crmMoney} | |
58d8c7e2 | 38 | {/if} |
6a488035 TO |
39 | {elseif !$useForMember && $lineItem and $priceSetID & !$is_quick_config} |
40 | {foreach from=$lineItem item=value key=priceset} | |
41 | --------------------------------------------------------- | |
42 | {capture assign=ts_item}{ts}Item{/ts}{/capture} | |
43 | {capture assign=ts_qty}{ts}Qty{/ts}{/capture} | |
44 | {capture assign=ts_each}{ts}Each{/ts}{/capture} | |
45 | {capture assign=ts_total}{ts}Total{/ts}{/capture} | |
46 | {$ts_item|string_format:"%-30s"} {$ts_qty|string_format:"%5s"} {$ts_each|string_format:"%10s"} {$ts_total|string_format:"%10s"} | |
47 | ---------------------------------------------------------- | |
48 | {foreach from=$value item=line} | |
49 | {$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"} | |
50 | {/foreach} | |
51 | {/foreach} | |
52 | ||
53 | {ts}Total Amount{/ts}: {$amount|crmMoney} | |
54 | {else} | |
55 | {if $useForMember && $lineItem && !$is_quick_config} | |
56 | {foreach from=$lineItem item=value key=priceset} | |
57 | {capture assign=ts_item}{ts}Item{/ts}{/capture} | |
58 | {capture assign=ts_total}{ts}Fee{/ts}{/capture} | |
7cf82823 | 59 | {if $dataArray} |
79d001a2 PB |
60 | {capture assign=ts_subtotal}{ts}Subtotal{/ts}{/capture} |
61 | {capture assign=ts_taxRate}{ts}Tax Rate{/ts}{/capture} | |
62 | {capture assign=ts_taxAmount}{ts}Tax Amount{/ts}{/capture} | |
63 | {capture assign=ts_total}{ts}Total{/ts}{/capture} | |
64 | {/if} | |
6a488035 TO |
65 | {capture assign=ts_start_date}{ts}Membership Start Date{/ts}{/capture} |
66 | {capture assign=ts_end_date}{ts}Membership End Date{/ts}{/capture} | |
7cf82823 | 67 | {$ts_item|string_format:"%-30s"} {$ts_total|string_format:"%10s"} {if $dataArray} {$ts_subtotal|string_format:"%10s"} {$ts_taxRate|string_format:"%10s"} {$ts_taxAmount|string_format:"%10s"} {$ts_total|string_format:"%10s"} {/if} {$ts_start_date|string_format:"%20s"} {$ts_end_date|string_format:"%20s"} |
6a488035 TO |
68 | -------------------------------------------------------------------------------------------------- |
69 | ||
70 | {foreach from=$value item=line} | |
7cf82823 | 71 | {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"} {if $dataArray} {$line.unit_price*$line.qty|crmMoney:$currency|string_format:"%10s"} {if $line.tax_rate != "" || $line.tax_amount != ""} {$line.tax_rate|string_format:"%.2f"} % {$line.tax_amount|crmMoney:$currency|string_format:"%10s"} {else} {/if} {$line.line_total+$line.tax_amount|crmMoney|string_format:"%10s"} {/if} {$line.start_date|string_format:"%20s"} {$line.end_date|string_format:"%20s"} |
79d001a2 | 72 | {/foreach} |
6a488035 | 73 | {/foreach} |
79d001a2 | 74 | |
7cf82823 | 75 | {if $dataArray} |
79d001a2 PB |
76 | {ts}Amount before Tax{/ts}: {$amount-$totalTaxAmount|crmMoney:$currency} |
77 | ||
78 | {foreach from=$dataArray item=value key=priceset} | |
7cf82823 | 79 | {if $priceset || $priceset == 0} |
03b412ae | 80 | {$taxTerm} {$priceset|string_format:"%.2f"}%: {$value|crmMoney:$currency} |
7cf82823 | 81 | {else} |
03b412ae | 82 | {ts}No{/ts} {$taxTerm}: {$value|crmMoney:$currency} |
79d001a2 | 83 | {/if} |
6a488035 | 84 | {/foreach} |
79d001a2 | 85 | {/if} |
6a488035 TO |
86 | -------------------------------------------------------------------------------------------------- |
87 | {/if} | |
79d001a2 PB |
88 | |
89 | {if $totalTaxAmount} | |
90 | {ts}Total Tax Amount{/ts}: {$totalTaxAmount|crmMoney:$currency} | |
91 | {/if} | |
92 | ||
6a488035 TO |
93 | {ts}Amount{/ts}: {$amount|crmMoney} {if $amount_level } - {$amount_level} {/if} |
94 | {/if} | |
95 | {elseif $membership_amount} | |
96 | =========================================================== | |
97 | {ts}Membership Fee{/ts} | |
98 | ||
99 | =========================================================== | |
100 | {ts 1=$membership_name}%1 Membership{/ts}: {$membership_amount|crmMoney} | |
101 | {/if} | |
102 | ||
103 | {if $receive_date} | |
104 | ||
105 | {ts}Date{/ts}: {$receive_date|crmDate} | |
106 | {/if} | |
107 | {if $is_monetary and $trxn_id} | |
108 | {ts}Transaction #{/ts}: {$trxn_id} | |
109 | ||
110 | {/if} | |
111 | {if $membership_trx_id} | |
112 | {ts}Membership Transaction #{/ts}: {$membership_trx_id} | |
113 | ||
114 | {/if} | |
115 | {if $is_recur} | |
f926d56f MWMC |
116 | {ts}This membership will be renewed automatically.{/ts} |
117 | {if $cancelSubscriptionUrl} | |
118 | ||
119 | {ts 1=$cancelSubscriptionUrl}You can cancel the auto-renewal option by visiting this web page: %1.{/ts} | |
120 | ||
121 | {/if} | |
122 | ||
4072b132 | 123 | {if $updateSubscriptionBillingUrl} |
6a488035 TO |
124 | |
125 | {ts 1=$updateSubscriptionBillingUrl}You can update billing details for this automatically renewed membership by <a href="%1">visiting this web page</a>.{/ts} | |
126 | {/if} | |
127 | {/if} | |
128 | ||
129 | {if $honor_block_is_active } | |
130 | =========================================================== | |
1421174e | 131 | {$soft_credit_type} |
6a488035 | 132 | =========================================================== |
1421174e | 133 | {foreach from=$honoreeProfile item=value key=label} |
134 | {$label}: {$value} | |
135 | {/foreach} | |
6a488035 TO |
136 | |
137 | {/if} | |
138 | {if $pcpBlock} | |
139 | =========================================================== | |
140 | {ts}Personal Campaign Page{/ts} | |
141 | ||
142 | =========================================================== | |
143 | {ts}Display In Honor Roll{/ts}: {if $pcp_display_in_roll}{ts}Yes{/ts}{else}{ts}No{/ts}{/if} | |
144 | ||
145 | {if $pcp_roll_nickname}{ts}Nickname{/ts}: {$pcp_roll_nickname}{/if} | |
146 | ||
147 | {if $pcp_personal_note}{ts}Personal Note{/ts}: {$pcp_personal_note}{/if} | |
148 | ||
149 | {/if} | |
150 | {if $onBehalfProfile} | |
151 | =========================================================== | |
152 | {ts}On Behalf Of{/ts} | |
153 | ||
154 | =========================================================== | |
155 | {foreach from=$onBehalfProfile item=onBehalfValue key=onBehalfName} | |
156 | {$onBehalfName}: {$onBehalfValue} | |
157 | {/foreach} | |
158 | {/if} | |
159 | ||
160 | {if !( $contributeMode eq 'notify' OR $contributeMode eq 'directIPN' ) and $is_monetary} | |
161 | {if $is_pay_later} | |
162 | =========================================================== | |
163 | {ts}Registered Email{/ts} | |
164 | ||
165 | =========================================================== | |
166 | {$email} | |
167 | {elseif $amount GT 0 OR $membership_amount GT 0 } | |
168 | =========================================================== | |
169 | {ts}Billing Name and Address{/ts} | |
170 | ||
171 | =========================================================== | |
172 | {$billingName} | |
173 | {$address} | |
174 | ||
175 | {$email} | |
176 | {/if} {* End ! is_pay_later condition. *} | |
177 | {/if} | |
178 | {if $contributeMode eq 'direct' AND !$is_pay_later AND ( $amount GT 0 OR $membership_amount GT 0 ) } | |
179 | ||
180 | =========================================================== | |
181 | {ts}Credit Card Information{/ts} | |
182 | ||
183 | =========================================================== | |
184 | {$credit_card_type} | |
185 | {$credit_card_number} | |
186 | {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:''|crmDate} | |
187 | {/if} | |
188 | ||
189 | {if $selectPremium } | |
190 | =========================================================== | |
191 | {ts}Premium Information{/ts} | |
192 | ||
193 | =========================================================== | |
194 | {$product_name} | |
195 | {if $option} | |
196 | {ts}Option{/ts}: {$option} | |
197 | {/if} | |
198 | {if $sku} | |
199 | {ts}SKU{/ts}: {$sku} | |
200 | {/if} | |
201 | {if $start_date} | |
202 | {ts}Start Date{/ts}: {$start_date|crmDate} | |
203 | {/if} | |
204 | {if $end_date} | |
205 | {ts}End Date{/ts}: {$end_date|crmDate} | |
206 | {/if} | |
207 | {if $contact_email OR $contact_phone} | |
208 | ||
209 | {ts}For information about this premium, contact:{/ts} | |
210 | ||
211 | {if $contact_email} | |
212 | {$contact_email} | |
213 | {/if} | |
214 | {if $contact_phone} | |
215 | {$contact_phone} | |
216 | {/if} | |
217 | {/if} | |
218 | {if $is_deductible AND $price} | |
219 | ||
220 | {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} | |
221 | {/if} | |
222 | ||
223 | {if $customPre} | |
224 | =========================================================== | |
225 | {$customPre_grouptitle} | |
226 | ||
227 | =========================================================== | |
228 | {foreach from=$customPre item=customValue key=customName} | |
229 | {if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields} | |
230 | {$customName}: {$customValue} | |
231 | {/if} | |
232 | {/foreach} | |
233 | {/if} | |
234 | ||
235 | ||
236 | {if $customPost} | |
237 | =========================================================== | |
238 | {$customPost_grouptitle} | |
239 | ||
240 | =========================================================== | |
241 | {foreach from=$customPost item=customValue key=customName} | |
242 | {if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields} | |
243 | {$customName}: {$customValue} | |
244 | {/if} | |
245 | {/foreach} | |
246 | {/if} |