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 | 4 | |
6a488035 TO |
5 | |
6 | =========================================================== | |
7 | {ts}Contribution Information{/ts} | |
8 | ||
9 | =========================================================== | |
10 | {ts}Financial Type{/ts}: {$formValues.contributionType_name} | |
11 | {if $lineItem} | |
12 | {foreach from=$lineItem item=value key=priceset} | |
13 | --------------------------------------------------------- | |
14 | {capture assign=ts_item}{ts}Item{/ts}{/capture} | |
15 | {capture assign=ts_qty}{ts}Qty{/ts}{/capture} | |
16 | {capture assign=ts_each}{ts}Each{/ts}{/capture} | |
7cf82823 | 17 | {if $getTaxDetails} |
79d001a2 PB |
18 | {capture assign=ts_subtotal}{ts}Subtotal{/ts}{/capture} |
19 | {capture assign=ts_taxRate}{ts}Tax Rate{/ts}{/capture} | |
20 | {capture assign=ts_taxAmount}{ts}Tax Amount{/ts}{/capture} | |
21 | {/if} | |
6a488035 | 22 | {capture assign=ts_total}{ts}Total{/ts}{/capture} |
7cf82823 | 23 | {$ts_item|string_format:"%-30s"} {$ts_qty|string_format:"%5s"} {$ts_each|string_format:"%10s"} {if $getTaxDetails} {$ts_subtotal|string_format:"%10s"} {$ts_taxRate} {$ts_taxAmount|string_format:"%10s"} {/if} {$ts_total|string_format:"%10s"} |
6a488035 TO |
24 | ---------------------------------------------------------- |
25 | {foreach from=$value item=line} | |
01604562 | 26 | {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"} {if $getTaxDetails}{$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} {/if} {$line.line_total+$line.tax_amount|crmMoney:$currency|string_format:"%10s"} |
6a488035 TO |
27 | {/foreach} |
28 | {/foreach} | |
29 | {/if} | |
30 | ||
7cf82823 PB |
31 | {if $getTaxDetails && $dataArray} |
32 | {ts}Amount before Tax{/ts} : {$formValues.total_amount-$totalTaxAmount|crmMoney:$currency} | |
79d001a2 PB |
33 | |
34 | {foreach from=$dataArray item=value key=priceset} | |
7cf82823 | 35 | {if $priceset || $priceset == 0 || $value != ''} |
3f7bb5e2 | 36 | {$taxTerm} {$priceset|string_format:"%.2f"}% : {$value|crmMoney:$currency} |
7cf82823 PB |
37 | {else} |
38 | {ts}No{/ts} {$taxTerm} : {$value|crmMoney:$currency} | |
79d001a2 PB |
39 | {/if} |
40 | {/foreach} | |
41 | {/if} | |
42 | ||
01604562 | 43 | {if isset($totalTaxAmount) && $totalTaxAmount !== 'null'} |
7cf82823 | 44 | {ts}Total Tax Amount{/ts} : {$totalTaxAmount|crmMoney:$currency} |
79d001a2 | 45 | {/if} |
7cf82823 | 46 | {ts}Total Amount{/ts} : {$formValues.total_amount|crmMoney:$currency} |
6a488035 | 47 | {if $receive_date} |
7bc6b5bb | 48 | {ts}Date Received{/ts}: {$receive_date|truncate:10:''|crmDate} |
6a488035 TO |
49 | {/if} |
50 | {if $receipt_date} | |
51 | {ts}Receipt Date{/ts}: {$receipt_date|truncate:10:''|crmDate} | |
52 | {/if} | |
53 | {if $formValues.paidBy and !$formValues.hidden_CreditCard} | |
54 | {ts}Paid By{/ts}: {$formValues.paidBy} | |
55 | {if $formValues.check_number} | |
56 | {ts}Check Number{/ts}: {$formValues.check_number} | |
57 | {/if} | |
58 | {/if} | |
59 | {if $formValues.trxn_id} | |
60 | {ts}Transaction ID{/ts}: {$formValues.trxn_id} | |
61 | {/if} | |
62 | ||
63 | {if $ccContribution} | |
64 | =========================================================== | |
65 | {ts}Billing Name and Address{/ts} | |
66 | ||
67 | =========================================================== | |
68 | {$billingName} | |
69 | {$address} | |
70 | ||
71 | =========================================================== | |
72 | {ts}Credit Card Information{/ts} | |
73 | ||
74 | =========================================================== | |
75 | {$credit_card_type} | |
76 | {$credit_card_number} | |
77 | {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:''|crmDate} | |
78 | {/if} | |
79 | {if $customGroup} | |
80 | {foreach from=$customGroup item=value key=customName} | |
81 | =========================================================== | |
82 | {$customName} | |
83 | =========================================================== | |
84 | {foreach from=$value item=v key=n} | |
85 | {$n}: {$v} | |
86 | {/foreach} | |
87 | {/foreach} | |
88 | {/if} | |
6a488035 | 89 | |
1421174e | 90 | {if $softCreditTypes and $softCredits} |
91 | {foreach from=$softCreditTypes item=softCreditType key=n} | |
6a488035 | 92 | =========================================================== |
33a1c5c8 | 93 | {$softCreditType} |
6a488035 | 94 | =========================================================== |
1421174e | 95 | {foreach from=$softCredits.$n item=value key=label} |
96 | {$label}: {$value} | |
97 | {/foreach} | |
98 | {/foreach} | |
6a488035 TO |
99 | {/if} |
100 | ||
101 | {if $formValues.product_name} | |
102 | =========================================================== | |
103 | {ts}Premium Information{/ts} | |
104 | ||
105 | =========================================================== | |
106 | {$formValues.product_name} | |
107 | {if $formValues.product_option} | |
108 | {ts}Option{/ts}: {$formValues.product_option} | |
109 | {/if} | |
110 | {if $formValues.product_sku} | |
111 | {ts}SKU{/ts}: {$formValues.product_sku} | |
112 | {/if} | |
113 | {if $fulfilled_date} | |
114 | {ts}Sent{/ts}: {$fulfilled_date|crmDate} | |
115 | {/if} | |
116 | {/if} |