Commit | Line | Data |
---|---|---|
9e645d58 ACD |
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} | |
735eaff9 | 33 | {if $amount && !$is_separate_payment } |
9e645d58 | 34 | {ts}Contribution Amount{/ts}: {$amount|crmMoney} |
9e645d58 ACD |
35 | ------------------------------------------- |
36 | {ts}Total{/ts}: {$amount+$membership_amount|crmMoney} | |
58d8c7e2 | 37 | {/if} |
9e645d58 ACD |
38 | {elseif !$useForMember && $lineItem and $priceSetID & !$is_quick_config} |
39 | {foreach from=$lineItem item=value key=priceset} | |
40 | --------------------------------------------------------- | |
41 | {capture assign=ts_item}{ts}Item{/ts}{/capture} | |
42 | {capture assign=ts_qty}{ts}Qty{/ts}{/capture} | |
43 | {capture assign=ts_each}{ts}Each{/ts}{/capture} | |
44 | {capture assign=ts_total}{ts}Total{/ts}{/capture} | |
45 | {$ts_item|string_format:"%-30s"} {$ts_qty|string_format:"%5s"} {$ts_each|string_format:"%10s"} {$ts_total|string_format:"%10s"} | |
46 | ---------------------------------------------------------- | |
47 | {foreach from=$value item=line} | |
48 | {$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"} | |
49 | {/foreach} | |
50 | {/foreach} | |
51 | ||
52 | {ts}Total Amount{/ts}: {$amount|crmMoney} | |
53 | {else} | |
54 | {if $useForMember && $lineItem && !$is_quick_config} | |
55 | {foreach from=$lineItem item=value key=priceset} | |
56 | {capture assign=ts_item}{ts}Item{/ts}{/capture} | |
57 | {capture assign=ts_total}{ts}Fee{/ts}{/capture} | |
58 | {if $dataArray} | |
59 | {capture assign=ts_subtotal}{ts}Subtotal{/ts}{/capture} | |
60 | {capture assign=ts_taxRate}{ts}Tax Rate{/ts}{/capture} | |
61 | {capture assign=ts_taxAmount}{ts}Tax Amount{/ts}{/capture} | |
62 | {capture assign=ts_total}{ts}Total{/ts}{/capture} | |
63 | {/if} | |
64 | {capture assign=ts_start_date}{ts}Membership Start Date{/ts}{/capture} | |
65 | {capture assign=ts_end_date}{ts}Membership End Date{/ts}{/capture} | |
66 | {$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"} | |
67 | -------------------------------------------------------------------------------------------------- | |
68 | ||
69 | {foreach from=$value item=line} | |
70 | {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"} | |
71 | {/foreach} | |
72 | {/foreach} | |
73 | ||
74 | {if $dataArray} | |
75 | {ts}Amount before Tax{/ts}: {$amount-$totalTaxAmount|crmMoney:$currency} | |
76 | ||
77 | {foreach from=$dataArray item=value key=priceset} | |
78 | {if $priceset || $priceset == 0} | |
79 | {$taxTerm} {$priceset|string_format:"%.2f"}%: {$value|crmMoney:$currency} | |
80 | {else} | |
81 | {ts}No{/ts} {$taxTerm}: {$value|crmMoney:$currency} | |
82 | {/if} | |
83 | {/foreach} | |
84 | {/if} | |
85 | -------------------------------------------------------------------------------------------------- | |
86 | {/if} | |
87 | ||
88 | {if $totalTaxAmount} | |
89 | {ts}Total Tax Amount{/ts}: {$totalTaxAmount|crmMoney:$currency} | |
90 | {/if} | |
91 | ||
92 | {ts}Amount{/ts}: {$amount|crmMoney} {if $amount_level } - {$amount_level} {/if} | |
93 | {/if} | |
94 | {elseif $membership_amount} | |
95 | =========================================================== | |
96 | {ts}Membership Fee{/ts} | |
97 | ||
98 | =========================================================== | |
99 | {ts 1=$membership_name}%1 Membership{/ts}: {$membership_amount|crmMoney} | |
100 | {/if} | |
101 | ||
102 | {if $receive_date} | |
103 | ||
104 | {ts}Date{/ts}: {$receive_date|crmDate} | |
105 | {/if} | |
106 | {if $is_monetary and $trxn_id} | |
107 | {ts}Transaction #{/ts}: {$trxn_id} | |
108 | ||
109 | {/if} | |
110 | {if $membership_trx_id} | |
111 | {ts}Membership Transaction #{/ts}: {$membership_trx_id} | |
112 | ||
113 | {/if} | |
114 | {if $is_recur} | |
115 | {if $contributeMode eq 'notify' or $contributeMode eq 'directIPN'} | |
116 | {ts 1=$cancelSubscriptionUrl}This membership will be renewed automatically. You can cancel the auto-renewal option by visiting this web page: %1.{/ts} | |
117 | {if $updateSubscriptionBillingUrl} | |
118 | ||
119 | {ts 1=$updateSubscriptionBillingUrl}You can update billing details for this automatically renewed membership by <a href="%1">visiting this web page</a>.{/ts} | |
120 | {/if} | |
121 | {/if} | |
122 | {/if} | |
123 | ||
124 | {if $honor_block_is_active } | |
125 | =========================================================== | |
126 | {$soft_credit_type} | |
127 | =========================================================== | |
128 | {foreach from=$honoreeProfile item=value key=label} | |
129 | {$label}: {$value} | |
130 | {/foreach} | |
131 | ||
132 | {/if} | |
133 | {if $pcpBlock} | |
134 | =========================================================== | |
135 | {ts}Personal Campaign Page{/ts} | |
136 | ||
137 | =========================================================== | |
138 | {ts}Display In Honor Roll{/ts}: {if $pcp_display_in_roll}{ts}Yes{/ts}{else}{ts}No{/ts}{/if} | |
139 | ||
140 | {if $pcp_roll_nickname}{ts}Nickname{/ts}: {$pcp_roll_nickname}{/if} | |
141 | ||
142 | {if $pcp_personal_note}{ts}Personal Note{/ts}: {$pcp_personal_note}{/if} | |
143 | ||
144 | {/if} | |
145 | {if $onBehalfProfile} | |
146 | =========================================================== | |
147 | {ts}On Behalf Of{/ts} | |
148 | ||
149 | =========================================================== | |
150 | {foreach from=$onBehalfProfile item=onBehalfValue key=onBehalfName} | |
151 | {$onBehalfName}: {$onBehalfValue} | |
152 | {/foreach} | |
153 | {/if} | |
154 | ||
155 | {if !( $contributeMode eq 'notify' OR $contributeMode eq 'directIPN' ) and $is_monetary} | |
156 | {if $is_pay_later} | |
157 | =========================================================== | |
158 | {ts}Registered Email{/ts} | |
159 | ||
160 | =========================================================== | |
161 | {$email} | |
162 | {elseif $amount GT 0 OR $membership_amount GT 0 } | |
163 | =========================================================== | |
164 | {ts}Billing Name and Address{/ts} | |
165 | ||
166 | =========================================================== | |
167 | {$billingName} | |
168 | {$address} | |
169 | ||
170 | {$email} | |
171 | {/if} {* End ! is_pay_later condition. *} | |
172 | {/if} | |
173 | {if $contributeMode eq 'direct' AND !$is_pay_later AND ( $amount GT 0 OR $membership_amount GT 0 ) } | |
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 | ||
184 | {if $selectPremium } | |
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} | |
202 | {if $contact_email OR $contact_phone} | |
203 | ||
204 | {ts}For information about this premium, contact:{/ts} | |
205 | ||
206 | {if $contact_email} | |
207 | {$contact_email} | |
208 | {/if} | |
209 | {if $contact_phone} | |
210 | {$contact_phone} | |
211 | {/if} | |
212 | {/if} | |
213 | {if $is_deductible AND $price} | |
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 | ||
218 | {if $customPre} | |
219 | =========================================================== | |
220 | {$customPre_grouptitle} | |
221 | ||
222 | =========================================================== | |
223 | {foreach from=$customPre item=customValue key=customName} | |
224 | {if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields} | |
225 | {$customName}: {$customValue} | |
226 | {/if} | |
227 | {/foreach} | |
228 | {/if} | |
229 | ||
230 | ||
231 | {if $customPost} | |
232 | =========================================================== | |
233 | {$customPost_grouptitle} | |
234 | ||
235 | =========================================================== | |
236 | {foreach from=$customPost item=customValue key=customName} | |
237 | {if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields} | |
238 | {$customName}: {$customValue} | |
239 | {/if} | |
240 | {/foreach} | |
241 | {/if} |