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