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