1421174e |
1 | {if $formValues.receipt_text} |
2 | {$formValues.receipt_text} |
2b3846c2 |
3 | {else}{ts}Thank you for your support.{/ts}{/if} |
1421174e |
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 | |
72 | {if $softCreditTypes and $softCredits} |
73 | {foreach from=$softCreditTypes item=softCreditType key=n} |
74 | =========================================================== |
33a1c5c8 |
75 | {$softCreditType} |
1421174e |
76 | =========================================================== |
77 | {foreach from=$softCredits.$n item=value key=label} |
78 | {$label}: {$value} |
79 | {/foreach} |
80 | {/foreach} |
81 | {/if} |
82 | |
83 | {if $formValues.product_name} |
84 | =========================================================== |
85 | {ts}Premium Information{/ts} |
86 | |
87 | =========================================================== |
88 | {$formValues.product_name} |
89 | {if $formValues.product_option} |
90 | {ts}Option{/ts}: {$formValues.product_option} |
91 | {/if} |
92 | {if $formValues.product_sku} |
93 | {ts}SKU{/ts}: {$formValues.product_sku} |
94 | {/if} |
95 | {if $fulfilled_date} |
96 | {ts}Sent{/ts}: {$fulfilled_date|crmDate} |
97 | {/if} |
98 | {/if} |