Commit | Line | Data |
---|---|---|
6a488035 TO |
1 | {if $formValues.receipt_text} |
2 | {$formValues.receipt_text} | |
3 | {else}{ts}Thanks for your support.{/ts}{/if} | |
4 | ||
5 | {ts}Please print this receipt for your records.{/ts} | |
6 | ||
7 | ||
8 | =========================================================== | |
9 | {ts}Contribution Information{/ts} | |
10 | ||
11 | =========================================================== | |
12 | {ts}Financial Type{/ts}: {$formValues.contributionType_name} | |
13 | {if $lineItem} | |
14 | {foreach from=$lineItem item=value key=priceset} | |
15 | --------------------------------------------------------- | |
16 | {capture assign=ts_item}{ts}Item{/ts}{/capture} | |
17 | {capture assign=ts_qty}{ts}Qty{/ts}{/capture} | |
18 | {capture assign=ts_each}{ts}Each{/ts}{/capture} | |
19 | {capture assign=ts_total}{ts}Total{/ts}{/capture} | |
20 | {$ts_item|string_format:"%-30s"} {$ts_qty|string_format:"%5s"} {$ts_each|string_format:"%10s"} {$ts_total|string_format:"%10s"} | |
21 | ---------------------------------------------------------- | |
22 | {foreach from=$value item=line} | |
23 | {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"} | |
24 | {/foreach} | |
25 | {/foreach} | |
26 | {/if} | |
27 | ||
28 | {ts}Total Amount{/ts}: {$formValues.total_amount|crmMoney:$currency} | |
29 | {if $receive_date} | |
30 | {ts}Received Date{/ts}: {$receive_date|truncate:10:''|crmDate} | |
31 | {/if} | |
32 | {if $receipt_date} | |
33 | {ts}Receipt Date{/ts}: {$receipt_date|truncate:10:''|crmDate} | |
34 | {/if} | |
35 | {if $formValues.paidBy and !$formValues.hidden_CreditCard} | |
36 | {ts}Paid By{/ts}: {$formValues.paidBy} | |
37 | {if $formValues.check_number} | |
38 | {ts}Check Number{/ts}: {$formValues.check_number} | |
39 | {/if} | |
40 | {/if} | |
41 | {if $formValues.trxn_id} | |
42 | {ts}Transaction ID{/ts}: {$formValues.trxn_id} | |
43 | {/if} | |
44 | ||
45 | {if $ccContribution} | |
46 | =========================================================== | |
47 | {ts}Billing Name and Address{/ts} | |
48 | ||
49 | =========================================================== | |
50 | {$billingName} | |
51 | {$address} | |
52 | ||
53 | =========================================================== | |
54 | {ts}Credit Card Information{/ts} | |
55 | ||
56 | =========================================================== | |
57 | {$credit_card_type} | |
58 | {$credit_card_number} | |
59 | {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:''|crmDate} | |
60 | {/if} | |
61 | {if $customGroup} | |
62 | {foreach from=$customGroup item=value key=customName} | |
63 | =========================================================== | |
64 | {$customName} | |
65 | =========================================================== | |
66 | {foreach from=$value item=v key=n} | |
67 | {$n}: {$v} | |
68 | {/foreach} | |
69 | {/foreach} | |
70 | {/if} | |
71 | {if $formValues.honor_first_name} | |
72 | ||
73 | =========================================================== | |
74 | {$formValues.honor_type} | |
75 | =========================================================== | |
76 | {$formValues.honor_prefix} {$formValues.honor_first_name} {$formValues.honor_last_name} | |
77 | {if $formValues.honor_email} | |
78 | {ts}Honoree Email{/ts}: {$formValues.honor_email} | |
79 | {/if} | |
80 | {/if} | |
81 | ||
82 | {if $formValues.product_name} | |
83 | =========================================================== | |
84 | {ts}Premium Information{/ts} | |
85 | ||
86 | =========================================================== | |
87 | {$formValues.product_name} | |
88 | {if $formValues.product_option} | |
89 | {ts}Option{/ts}: {$formValues.product_option} | |
90 | {/if} | |
91 | {if $formValues.product_sku} | |
92 | {ts}SKU{/ts}: {$formValues.product_sku} | |
93 | {/if} | |
94 | {if $fulfilled_date} | |
95 | {ts}Sent{/ts}: {$fulfilled_date|crmDate} | |
96 | {/if} | |
97 | {/if} |