Commit | Line | Data |
---|---|---|
6a488035 TO |
1 | {if $formValues.receipt_text_signup} |
2 | {$formValues.receipt_text_signup} | |
3 | {elseif $formValues.receipt_text_renewal} | |
4 | {$formValues.receipt_text_renewal} | |
2b3846c2 | 5 | {else}{ts}Thank you for your support.{/ts}{/if} |
6a488035 TO |
6 | |
7 | {if ! $cancelled}{ts}Please print this receipt for your records.{/ts} | |
8 | ||
9 | ||
10 | {/if} | |
11 | {if !$lineItem} | |
12 | =========================================================== | |
13 | {ts}Membership Information{/ts} | |
14 | ||
15 | =========================================================== | |
16 | {ts}Membership Type{/ts}: {$membership_name} | |
17 | {/if} | |
18 | {if ! $cancelled} | |
19 | {if !$lineItem} | |
20 | {ts}Membership Start Date{/ts}: {$mem_start_date} | |
21 | {ts}Membership End Date{/ts}: {$mem_end_date} | |
22 | {/if} | |
23 | {if $formValues.total_amount} | |
24 | =========================================================== | |
25 | {ts}Membership Fee{/ts} | |
26 | ||
27 | =========================================================== | |
28 | {if $formValues.contributionType_name} | |
29 | {ts}Contribution Type{/ts}: {$formValues.contributionType_name} | |
30 | {/if} | |
31 | {if $lineItem} | |
32 | {foreach from=$lineItem item=value key=priceset} | |
33 | {capture assign=ts_item}{ts}Item{/ts}{/capture} | |
34 | {capture assign=ts_qty}{ts}Qty{/ts}{/capture} | |
35 | {capture assign=ts_each}{ts}Each{/ts}{/capture} | |
36 | {capture assign=ts_total}{ts}Total{/ts}{/capture} | |
37 | {capture assign=ts_start_date}{ts}Membership Start Date{/ts}{/capture} | |
38 | {capture assign=ts_end_date}{ts}Membership End Date{/ts}{/capture} | |
39 | {$ts_item|string_format:"%-30s"} {$ts_qty|string_format:"%5s"} {$ts_each|string_format:"%10s"} {$ts_total|string_format:"%10s"} {$ts_start_date|string_format:"%20s"} {$ts_end_date|string_format:"%20s"} | |
40 | -------------------------------------------------------------------------------------------------- | |
41 | ||
42 | {foreach from=$value item=line} | |
43 | {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|string_format:"%10s"} {$line.line_total|crmMoney|string_format:"%10s"} {$line.start_date|string_format:"%20s"} {$line.end_date|string_format:"%20s"} | |
44 | {/foreach} | |
45 | {/foreach} | |
46 | -------------------------------------------------------------------------------------------------- | |
47 | {/if} | |
48 | ||
49 | {ts}Amount{/ts}: {$formValues.total_amount|crmMoney} | |
50 | {if $receive_date} | |
51 | {ts}Received Date{/ts}: {$receive_date|truncate:10:''|crmDate} | |
52 | {/if} | |
53 | {if $formValues.paidBy} | |
54 | {ts}Paid By{/ts}: {$formValues.paidBy} | |
55 | {if $formValues.check_number} | |
10824d34 | 56 | {ts}Check Number{/ts}: {$formValues.check_number} |
6a488035 TO |
57 | {/if} |
58 | {/if} | |
59 | {/if} | |
60 | {/if} | |
61 | ||
62 | {if $isPrimary } | |
63 | {if $contributeMode ne 'notify' and !$isAmountzero and !$is_pay_later } | |
64 | ||
65 | =========================================================== | |
66 | {ts}Billing Name and Address{/ts} | |
67 | ||
68 | =========================================================== | |
69 | {$billingName} | |
70 | {$address} | |
71 | {/if} | |
72 | ||
73 | {if $contributeMode eq 'direct' and !$isAmountzero and !$is_pay_later} | |
74 | =========================================================== | |
75 | {ts}Credit Card Information{/ts} | |
76 | ||
77 | =========================================================== | |
78 | {$credit_card_type} | |
79 | {$credit_card_number} | |
80 | {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:''|crmDate} | |
81 | {/if} | |
82 | {/if} | |
83 | ||
84 | {if $customValues} | |
85 | =========================================================== | |
86 | {ts}Membership Options{/ts} | |
87 | ||
88 | =========================================================== | |
89 | {foreach from=$customValues item=value key=customName} | |
90 | {$customName} : {$value} | |
91 | {/foreach} | |
92 | {/if} |