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 | 6 | |
6a488035 TO |
7 | {if !$lineItem} |
8 | =========================================================== | |
9 | {ts}Membership Information{/ts} | |
10 | ||
11 | =========================================================== | |
12 | {ts}Membership Type{/ts}: {$membership_name} | |
13 | {/if} | |
14 | {if ! $cancelled} | |
15 | {if !$lineItem} | |
16 | {ts}Membership Start Date{/ts}: {$mem_start_date} | |
17 | {ts}Membership End Date{/ts}: {$mem_end_date} | |
18 | {/if} | |
19 | ||
e4784b29 | 20 | {if $formValues.total_amount OR $formValues.total_amount eq 0 } |
6a488035 TO |
21 | =========================================================== |
22 | {ts}Membership Fee{/ts} | |
23 | ||
24 | =========================================================== | |
25 | {if $formValues.contributionType_name} | |
26 | {ts}Financial Type{/ts}: {$formValues.contributionType_name} | |
27 | {/if} | |
28 | {if $lineItem} | |
29 | {foreach from=$lineItem item=value key=priceset} | |
30 | {capture assign=ts_item}{ts}Item{/ts}{/capture} | |
31 | {capture assign=ts_total}{ts}Fee{/ts}{/capture} | |
7cf82823 | 32 | {if $dataArray} |
79d001a2 PB |
33 | {capture assign=ts_subtotal}{ts}Subtotal{/ts}{/capture} |
34 | {capture assign=ts_taxRate}{ts}Tax Rate{/ts}{/capture} | |
35 | {capture assign=ts_taxAmount}{ts}Tax Amount{/ts}{/capture} | |
36 | {capture assign=ts_total}{ts}Total{/ts}{/capture} | |
37 | {/if} | |
6a488035 TO |
38 | {capture assign=ts_start_date}{ts}Membership Start Date{/ts}{/capture} |
39 | {capture assign=ts_end_date}{ts}Membership End Date{/ts}{/capture} | |
7cf82823 | 40 | {$ts_item|string_format:"%-30s"} {$ts_total|string_format:"%10s"} {if $dataArray} {$ts_subtotal|string_format:"%10s"} {$ts_taxRate|string_format:"%10s"} {$ts_taxAmount|string_format:"%10s"} {$ts_total|string_format:"%10s"} {/if} {$ts_start_date|string_format:"%20s"} {$ts_end_date|string_format:"%20s"} |
6a488035 TO |
41 | -------------------------------------------------------------------------------------------------- |
42 | ||
43 | {foreach from=$value item=line} | |
7cf82823 | 44 | {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"} {if $dataArray} {$line.unit_price*$line.qty|crmMoney:$currency|string_format:"%10s"} {if $line.tax_rate != "" || $line.tax_amount != ""} {$line.tax_rate|string_format:"%.2f"} % {$line.tax_amount|crmMoney:$currency|string_format:"%10s"} {else} {/if} {$line.line_total+$line.tax_amount|crmMoney|string_format:"%10s"} {/if} {$line.start_date|string_format:"%20s"} {$line.end_date|string_format:"%20s"} |
79d001a2 | 45 | {/foreach} |
6a488035 | 46 | {/foreach} |
79d001a2 | 47 | |
7cf82823 | 48 | {if $dataArray} |
79d001a2 PB |
49 | {ts}Amount before Tax{/ts}: {$formValues.total_amount-$totalTaxAmount|crmMoney:$currency} |
50 | ||
51 | {foreach from=$dataArray item=value key=priceset} | |
52 | {if $priceset} | |
7cf82823 | 53 | {$taxTerm} {$priceset|string_format:"%.2f"} %: {$value|crmMoney:$currency} |
79d001a2 | 54 | {elseif $priceset == 0} |
03b412ae | 55 | {ts}No{/ts} {$taxTerm}: {$value|crmMoney:$currency} |
79d001a2 | 56 | {/if} |
6a488035 | 57 | {/foreach} |
79d001a2 | 58 | {/if} |
6a488035 TO |
59 | -------------------------------------------------------------------------------------------------- |
60 | {/if} | |
79d001a2 | 61 | |
01604562 | 62 | {if isset($totalTaxAmount)} |
79d001a2 PB |
63 | {ts}Total Tax Amount{/ts}: {$totalTaxAmount|crmMoney:$currency} |
64 | {/if} | |
65 | ||
6a488035 TO |
66 | {ts}Amount{/ts}: {$formValues.total_amount|crmMoney} |
67 | {if $receive_date} | |
7bc6b5bb | 68 | {ts}Date Received{/ts}: {$receive_date|truncate:10:''|crmDate} |
6a488035 TO |
69 | {/if} |
70 | {if $formValues.paidBy} | |
71 | {ts}Paid By{/ts}: {$formValues.paidBy} | |
72 | {if $formValues.check_number} | |
011aeb62 | 73 | {ts}Check Number{/ts}: {$formValues.check_number} |
6a488035 TO |
74 | {/if} |
75 | {/if} | |
76 | {/if} | |
77 | {/if} | |
78 | ||
79 | {if $isPrimary } | |
80 | {if $contributeMode ne 'notify' and !$isAmountzero and !$is_pay_later } | |
81 | ||
82 | =========================================================== | |
83 | {ts}Billing Name and Address{/ts} | |
84 | ||
85 | =========================================================== | |
86 | {$billingName} | |
87 | {$address} | |
88 | {/if} | |
89 | ||
90 | {if $contributeMode eq 'direct' and !$isAmountzero and !$is_pay_later} | |
91 | =========================================================== | |
92 | {ts}Credit Card Information{/ts} | |
93 | ||
94 | =========================================================== | |
95 | {$credit_card_type} | |
96 | {$credit_card_number} | |
97 | {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:''|crmDate} | |
98 | {/if} | |
99 | {/if} | |
100 | ||
101 | {if $customValues} | |
102 | =========================================================== | |
103 | {ts}Membership Options{/ts} | |
104 | ||
105 | =========================================================== | |
106 | {foreach from=$customValues item=value key=customName} | |
107 | {$customName} : {$value} | |
108 | {/foreach} | |
109 | {/if} |