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