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 | =========================================================== | |
6a488035 TO |
10 | {/if} |
11 | ||
12 | {if $amount} | |
13 | =========================================================== | |
14 | {ts}Contribution Information{/ts} | |
15 | ||
16 | =========================================================== | |
17 | {if $lineItem and $priceSetID and !$is_quick_config} | |
18 | {foreach from=$lineItem item=value key=priceset} | |
19 | --------------------------------------------------------- | |
20 | {capture assign=ts_item}{ts}Item{/ts}{/capture} | |
21 | {capture assign=ts_qty}{ts}Qty{/ts}{/capture} | |
22 | {capture assign=ts_each}{ts}Each{/ts}{/capture} | |
7cf82823 | 23 | {if $dataArray} |
79d001a2 PB |
24 | {capture assign=ts_subtotal}{ts}Subtotal{/ts}{/capture} |
25 | {capture assign=ts_taxRate}{ts}Tax Rate{/ts}{/capture} | |
26 | {capture assign=ts_taxAmount}{ts}Tax Amount{/ts}{/capture} | |
27 | {/if} | |
6a488035 | 28 | {capture assign=ts_total}{ts}Total{/ts}{/capture} |
7cf82823 | 29 | {$ts_item|string_format:"%-30s"} {$ts_qty|string_format:"%5s"} {$ts_each|string_format:"%10s"} {if $dataArray} {$ts_subtotal|string_format:"%10s"} {$ts_taxRate} {$ts_taxAmount|string_format:"%10s"} {/if} {$ts_total|string_format:"%10s"} |
6a488035 TO |
30 | ---------------------------------------------------------- |
31 | {foreach from=$value item=line} | |
7cf82823 | 32 | {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.qty|string_format:"%5s"} {$line.unit_price|crmMoney:$currency|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} {/if} {$line.line_total+$line.tax_amount|crmMoney:$currency|string_format:"%10s"} |
79d001a2 | 33 | {/foreach} |
6a488035 | 34 | {/foreach} |
79d001a2 | 35 | |
7cf82823 | 36 | {if $dataArray} |
79d001a2 PB |
37 | {ts}Amount before Tax{/ts}: {$amount-$totalTaxAmount|crmMoney:$currency} |
38 | ||
39 | {foreach from=$dataArray item=value key=priceset} | |
7cf82823 | 40 | {if $priceset || $priceset == 0} |
288ec043 | 41 | {$taxTerm} {$priceset|string_format:"%.2f"}%: {$value|crmMoney:$currency} |
7cf82823 | 42 | {else} |
03b412ae | 43 | {ts}No{/ts} {$taxTerm}: {$value|crmMoney:$currency} |
79d001a2 | 44 | {/if} |
6a488035 | 45 | {/foreach} |
79d001a2 PB |
46 | {/if} |
47 | ||
48 | {if $totalTaxAmount} | |
49 | {ts}Total Tax Amount{/ts}: {$totalTaxAmount|crmMoney:$currency} | |
50 | {/if} | |
6a488035 TO |
51 | |
52 | {ts}Total Amount{/ts}: {$amount|crmMoney:$currency} | |
53 | {else} | |
54 | {ts}Amount{/ts}: {$amount|crmMoney:$currency} {if $amount_level } - {$amount_level} {/if} | |
55 | {/if} | |
56 | {/if} | |
57 | {if $receive_date} | |
58 | ||
59 | {ts}Date{/ts}: {$receive_date|crmDate} | |
60 | {/if} | |
61 | {if $is_monetary and $trxn_id} | |
62 | {ts}Transaction #{/ts}: {$trxn_id} | |
63 | {/if} | |
64 | ||
f926d56f MWMC |
65 | {if $is_recur} |
66 | {ts}This is a recurring contribution.{/ts} | |
67 | ||
68 | {if $cancelSubscriptionUrl} | |
69 | {ts}You can cancel future contributions at:{/ts} | |
6a488035 TO |
70 | |
71 | {$cancelSubscriptionUrl} | |
72 | ||
f926d56f MWMC |
73 | {/if} |
74 | ||
1a9f6d0d | 75 | {if $updateSubscriptionBillingUrl} |
6a488035 TO |
76 | {ts}You can update billing details for this recurring contribution at:{/ts} |
77 | ||
78 | {$updateSubscriptionBillingUrl} | |
79 | ||
1a9f6d0d | 80 | {/if} |
f926d56f MWMC |
81 | |
82 | {if $updateSubscriptionUrl} | |
6a488035 TO |
83 | {ts}You can update recurring contribution amount or change the number of installments for this recurring contribution at:{/ts} |
84 | ||
85 | {$updateSubscriptionUrl} | |
86 | ||
f926d56f | 87 | {/if} |
6a488035 TO |
88 | {/if} |
89 | ||
1421174e | 90 | {if $honor_block_is_active} |
6a488035 | 91 | =========================================================== |
1421174e | 92 | {$soft_credit_type} |
6a488035 | 93 | =========================================================== |
1421174e | 94 | {foreach from=$honoreeProfile item=value key=label} |
95 | {$label}: {$value} | |
96 | {/foreach} | |
7305d3e6 | 97 | {elseif $softCreditTypes and $softCredits} |
98 | {foreach from=$softCreditTypes item=softCreditType key=n} | |
99 | =========================================================== | |
100 | {$softCreditType} | |
101 | =========================================================== | |
102 | {foreach from=$softCredits.$n item=value key=label} | |
103 | {$label}: {$value} | |
104 | {/foreach} | |
105 | {/foreach} | |
6a488035 TO |
106 | {/if} |
107 | {if $pcpBlock} | |
108 | =========================================================== | |
109 | {ts}Personal Campaign Page{/ts} | |
110 | ||
111 | =========================================================== | |
112 | {ts}Display In Honor Roll{/ts}: {if $pcp_display_in_roll}{ts}Yes{/ts}{else}{ts}No{/ts}{/if} | |
113 | ||
114 | {if $pcp_roll_nickname}{ts}Nickname{/ts}: {$pcp_roll_nickname}{/if} | |
115 | ||
116 | {if $pcp_personal_note}{ts}Personal Note{/ts}: {$pcp_personal_note}{/if} | |
117 | ||
118 | {/if} | |
119 | {if $onBehalfProfile} | |
120 | =========================================================== | |
121 | {ts}On Behalf Of{/ts} | |
122 | ||
123 | =========================================================== | |
124 | {foreach from=$onBehalfProfile item=onBehalfValue key=onBehalfName} | |
125 | {$onBehalfName}: {$onBehalfValue} | |
126 | {/foreach} | |
127 | {/if} | |
128 | ||
66af4b35 | 129 | {if $billingName} |
6a488035 TO |
130 | =========================================================== |
131 | {ts}Billing Name and Address{/ts} | |
132 | ||
133 | =========================================================== | |
134 | {$billingName} | |
135 | {$address} | |
136 | ||
137 | {$email} | |
66af4b35 SL |
138 | {elseif $email} |
139 | =========================================================== | |
140 | {ts}Registered Email{/ts} | |
141 | ||
142 | =========================================================== | |
143 | {$email} | |
144 | {/if} {* End billingName or Email*} | |
450dfb41 | 145 | {if $credit_card_type} |
6a488035 TO |
146 | |
147 | =========================================================== | |
148 | {ts}Credit Card Information{/ts} | |
149 | ||
150 | =========================================================== | |
151 | {$credit_card_type} | |
152 | {$credit_card_number} | |
153 | {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:''|crmDate} | |
154 | {/if} | |
155 | ||
156 | {if $selectPremium } | |
157 | =========================================================== | |
158 | {ts}Premium Information{/ts} | |
159 | ||
160 | =========================================================== | |
161 | {$product_name} | |
162 | {if $option} | |
163 | {ts}Option{/ts}: {$option} | |
164 | {/if} | |
165 | {if $sku} | |
166 | {ts}SKU{/ts}: {$sku} | |
167 | {/if} | |
168 | {if $start_date} | |
169 | {ts}Start Date{/ts}: {$start_date|crmDate} | |
170 | {/if} | |
171 | {if $end_date} | |
172 | {ts}End Date{/ts}: {$end_date|crmDate} | |
173 | {/if} | |
174 | {if $contact_email OR $contact_phone} | |
175 | ||
176 | {ts}For information about this premium, contact:{/ts} | |
177 | ||
178 | {if $contact_email} | |
179 | {$contact_email} | |
180 | {/if} | |
181 | {if $contact_phone} | |
182 | {$contact_phone} | |
183 | {/if} | |
184 | {/if} | |
185 | {if $is_deductible AND $price} | |
186 | ||
187 | {ts 1=$price|crmMoney:$currency}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} | |
188 | {/if} | |
189 | ||
190 | {if $customPre} | |
191 | =========================================================== | |
192 | {$customPre_grouptitle} | |
193 | ||
194 | =========================================================== | |
195 | {foreach from=$customPre item=customValue key=customName} | |
196 | {if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields} | |
197 | {$customName}: {$customValue} | |
198 | {/if} | |
199 | {/foreach} | |
200 | {/if} | |
201 | ||
202 | ||
203 | {if $customPost} | |
204 | =========================================================== | |
205 | {$customPost_grouptitle} | |
206 | ||
207 | =========================================================== | |
208 | {foreach from=$customPost item=customValue key=customName} | |
209 | {if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields} | |
210 | {$customName}: {$customValue} | |
211 | {/if} | |
212 | {/foreach} | |
e74e138c | 213 | {/if} |