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