| 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} |
| 33 | {if $amount} |
| 34 | {if ! $is_separate_payment } |
| 35 | {ts}Contribution Amount{/ts}: {$amount|crmMoney} |
| 36 | {else} |
| 37 | {ts}Additional Contribution{/ts}: {$amount|crmMoney} |
| 38 | {/if} |
| 39 | {/if} |
| 40 | ------------------------------------------- |
| 41 | {ts}Total{/ts}: {$amount+$membership_amount|crmMoney} |
| 42 | {elseif !$useForMember && $lineItem and $priceSetID & !$is_quick_config} |
| 43 | {foreach from=$lineItem item=value key=priceset} |
| 44 | --------------------------------------------------------- |
| 45 | {capture assign=ts_item}{ts}Item{/ts}{/capture} |
| 46 | {capture assign=ts_qty}{ts}Qty{/ts}{/capture} |
| 47 | {capture assign=ts_each}{ts}Each{/ts}{/capture} |
| 48 | {capture assign=ts_total}{ts}Total{/ts}{/capture} |
| 49 | {$ts_item|string_format:"%-30s"} {$ts_qty|string_format:"%5s"} {$ts_each|string_format:"%10s"} {$ts_total|string_format:"%10s"} |
| 50 | ---------------------------------------------------------- |
| 51 | {foreach from=$value item=line} |
| 52 | {$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"} |
| 53 | {/foreach} |
| 54 | {/foreach} |
| 55 | |
| 56 | {ts}Total Amount{/ts}: {$amount|crmMoney} |
| 57 | {else} |
| 58 | {if $useForMember && $lineItem && !$is_quick_config} |
| 59 | {foreach from=$lineItem item=value key=priceset} |
| 60 | {capture assign=ts_item}{ts}Item{/ts}{/capture} |
| 61 | {capture assign=ts_total}{ts}Fee{/ts}{/capture} |
| 62 | {capture assign=ts_start_date}{ts}Membership Start Date{/ts}{/capture} |
| 63 | {capture assign=ts_end_date}{ts}Membership End Date{/ts}{/capture} |
| 64 | {$ts_item|string_format:"%-30s"} {$ts_total|string_format:"%10s"} {$ts_start_date|string_format:"%20s"} {$ts_end_date|string_format:"%20s"} |
| 65 | -------------------------------------------------------------------------------------------------- |
| 66 | |
| 67 | {foreach from=$value item=line} |
| 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"} {$line.start_date|string_format:"%20s"} {$line.end_date|string_format:"%20s"} |
| 69 | {/foreach} |
| 70 | {/foreach} |
| 71 | -------------------------------------------------------------------------------------------------- |
| 72 | {/if} |
| 73 | {ts}Amount{/ts}: {$amount|crmMoney} {if $amount_level } - {$amount_level} {/if} |
| 74 | {/if} |
| 75 | {elseif $membership_amount} |
| 76 | =========================================================== |
| 77 | {ts}Membership Fee{/ts} |
| 78 | |
| 79 | =========================================================== |
| 80 | {ts 1=$membership_name}%1 Membership{/ts}: {$membership_amount|crmMoney} |
| 81 | {/if} |
| 82 | |
| 83 | {if $receive_date} |
| 84 | |
| 85 | {ts}Date{/ts}: {$receive_date|crmDate} |
| 86 | {/if} |
| 87 | {if $is_monetary and $trxn_id} |
| 88 | {ts}Transaction #{/ts}: {$trxn_id} |
| 89 | |
| 90 | {/if} |
| 91 | {if $membership_trx_id} |
| 92 | {ts}Membership Transaction #{/ts}: {$membership_trx_id} |
| 93 | |
| 94 | {/if} |
| 95 | {if $is_recur} |
| 96 | {if $contributeMode eq 'notify' or $contributeMode eq 'directIPN'} |
| 97 | {ts 1=$cancelSubscriptionUrl}This membership will be renewed automatically. You can cancel the auto-renewal option by visiting this web page: %1.{/ts} |
| 98 | |
| 99 | {ts 1=$updateSubscriptionBillingUrl}You can update billing details for this automatically renewed membership by <a href="%1">visiting this web page</a>.{/ts} |
| 100 | {/if} |
| 101 | {/if} |
| 102 | |
| 103 | {if $honor_block_is_active } |
| 104 | =========================================================== |
| 105 | {$soft_credit_type} |
| 106 | =========================================================== |
| 107 | {foreach from=$honoreeProfile item=value key=label} |
| 108 | {$label}: {$value} |
| 109 | {/foreach} |
| 110 | |
| 111 | {/if} |
| 112 | {if $pcpBlock} |
| 113 | =========================================================== |
| 114 | {ts}Personal Campaign Page{/ts} |
| 115 | |
| 116 | =========================================================== |
| 117 | {ts}Display In Honor Roll{/ts}: {if $pcp_display_in_roll}{ts}Yes{/ts}{else}{ts}No{/ts}{/if} |
| 118 | |
| 119 | {if $pcp_roll_nickname}{ts}Nickname{/ts}: {$pcp_roll_nickname}{/if} |
| 120 | |
| 121 | {if $pcp_personal_note}{ts}Personal Note{/ts}: {$pcp_personal_note}{/if} |
| 122 | |
| 123 | {/if} |
| 124 | {if $onBehalfProfile} |
| 125 | =========================================================== |
| 126 | {ts}On Behalf Of{/ts} |
| 127 | |
| 128 | =========================================================== |
| 129 | {foreach from=$onBehalfProfile item=onBehalfValue key=onBehalfName} |
| 130 | {$onBehalfName}: {$onBehalfValue} |
| 131 | {/foreach} |
| 132 | {/if} |
| 133 | |
| 134 | {if !( $contributeMode eq 'notify' OR $contributeMode eq 'directIPN' ) and $is_monetary} |
| 135 | {if $is_pay_later} |
| 136 | =========================================================== |
| 137 | {ts}Registered Email{/ts} |
| 138 | |
| 139 | =========================================================== |
| 140 | {$email} |
| 141 | {elseif $amount GT 0 OR $membership_amount GT 0 } |
| 142 | =========================================================== |
| 143 | {ts}Billing Name and Address{/ts} |
| 144 | |
| 145 | =========================================================== |
| 146 | {$billingName} |
| 147 | {$address} |
| 148 | |
| 149 | {$email} |
| 150 | {/if} {* End ! is_pay_later condition. *} |
| 151 | {/if} |
| 152 | {if $contributeMode eq 'direct' AND !$is_pay_later AND ( $amount GT 0 OR $membership_amount GT 0 ) } |
| 153 | |
| 154 | =========================================================== |
| 155 | {ts}Credit Card Information{/ts} |
| 156 | |
| 157 | =========================================================== |
| 158 | {$credit_card_type} |
| 159 | {$credit_card_number} |
| 160 | {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:''|crmDate} |
| 161 | {/if} |
| 162 | |
| 163 | {if $selectPremium } |
| 164 | =========================================================== |
| 165 | {ts}Premium Information{/ts} |
| 166 | |
| 167 | =========================================================== |
| 168 | {$product_name} |
| 169 | {if $option} |
| 170 | {ts}Option{/ts}: {$option} |
| 171 | {/if} |
| 172 | {if $sku} |
| 173 | {ts}SKU{/ts}: {$sku} |
| 174 | {/if} |
| 175 | {if $start_date} |
| 176 | {ts}Start Date{/ts}: {$start_date|crmDate} |
| 177 | {/if} |
| 178 | {if $end_date} |
| 179 | {ts}End Date{/ts}: {$end_date|crmDate} |
| 180 | {/if} |
| 181 | {if $contact_email OR $contact_phone} |
| 182 | |
| 183 | {ts}For information about this premium, contact:{/ts} |
| 184 | |
| 185 | {if $contact_email} |
| 186 | {$contact_email} |
| 187 | {/if} |
| 188 | {if $contact_phone} |
| 189 | {$contact_phone} |
| 190 | {/if} |
| 191 | {/if} |
| 192 | {if $is_deductible AND $price} |
| 193 | |
| 194 | {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} |
| 195 | {/if} |
| 196 | |
| 197 | {if $customPre} |
| 198 | =========================================================== |
| 199 | {$customPre_grouptitle} |
| 200 | |
| 201 | =========================================================== |
| 202 | {foreach from=$customPre item=customValue key=customName} |
| 203 | {if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields} |
| 204 | {$customName}: {$customValue} |
| 205 | {/if} |
| 206 | {/foreach} |
| 207 | {/if} |
| 208 | |
| 209 | |
| 210 | {if $customPost} |
| 211 | =========================================================== |
| 212 | {$customPost_grouptitle} |
| 213 | |
| 214 | =========================================================== |
| 215 | {foreach from=$customPost item=customValue key=customName} |
| 216 | {if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields} |
| 217 | {$customName}: {$customValue} |
| 218 | {/if} |
| 219 | {/foreach} |
| 220 | {/if} |