Always assign taxTerm to templates
[civicrm-core.git] / tests / templates / message_templates / contribution_online_receipt_html.tpl
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml">
3 <head>
4 </head>
5 <body>
6 receive_date:::{$receive_date}
7 receipt_date:::{$receipt_date}
8 {if !empty($receipt_text)}
9 receipt_text:::{$receipt_text}
10 {/if}
11 is_pay_later:::{$is_pay_later}
12 financialTypeId:::{$financialTypeId}
13 financialTypeName:::{$financialTypeName}
14 contactID:::{$contactID}
15 contributionID:::{$contributionID}
16 amount:::{$amount}
17 {if !empty($amount_level)}
18 amount_level:::{$amount_level}
19 {/if}
20 {if !empty($pay_later_receipt)}
21 pay_later_receipt:::{$pay_later_receipt}
22 {/if}
23 {if !empty($headerstyle)}
24 headerStyle:::{$headerStyle}
25 {/if}
26 {if !empty($valueStyle)}
27 valueStyle:::{$valueStyle}
28 {/if}
29 {if !empty($labelStyle)}
30 labelStyle:::{$labelStyle}
31 {/if}
32 priceSetID:::{$priceSetID}
33 currency:::{$currency}
34 {if !empty($is_quick_config)}
35 is_quick_config:::{$is_quick_config}
36 {/if}
37 {if !empty($getTaxDetails)}
38 getTaxDetails:::{$getTaxDetails}
39 totalTaxAmount:::{$totalTaxAmount}
40 {/if}
41 {if !empty($is_monetary)}
42 is_monetary:::{$is_monetary}
43 {/if}
44 {if !empty($isShare)}
45 isShare:::{$isShare}
46 {/if}
47 honor_block_is_active:::{$honor_block_is_active}
48 {if $honor_block_is_active}
49 soft_credit_type:::{$soft_credit_type}
50 {/if}
51 {if !empty($is_recur)}
52 is_recur:::{$is_recur}
53 {/if}
54 {if !empty($trxn_id)}
55 trxn_id:::{$trxn_id}
56 {/if}
57 {if !empty($cancelSubscriptionUrl)}
58 cancelSubscriptionUrl:::{$cancelSubscriptionUrl}
59 updateSubscriptionBillingUrl:::{$updateSubscriptionBillingUrl}
60 updateSubscriptionUrl:::{$updateSubscriptionUrl}
61 {/if}
62 {if !empty($priceset)}
63 priceset:::{$priceset}
64 {/if}
65 taxTerm:::{$taxTerm}
66 {if !empty($pcpBlock)}
67 pcpBlock:::{$pcpBlock}
68 pcp_display_in_roll:::{$pcp_display_in_roll}
69 pcp_roll_nickname:::{$pcp_roll_nickname}
70 pcp_personal_note:::{$pcp_personal_note}
71 {/if}
72 {if !empty($onBehalfProfile_grouptitle)}
73 onBehalfProfile_grouptitle:::{$onBehalfProfile_grouptitle}
74 {/if}
75 email:::{$email}
76 {if !empty($contributionPageId)}
77 contributionPageId:::{$contributionPageId}
78 title:::{$title}
79 {/if}
80 {if !empty($isBillingAddressRequiredForPayLater)}
81 isBillingAddressRequiredForPayLater:::{$isBillingAddressRequiredForPayLater}
82 {/if}
83 billingName:::{$billingName}
84 address:::{$address}
85 {if !empty($credit_card_type)}
86 credit_card_type:::{$credit_card_type}
87 credit_card_number:::{$credit_card_number}
88 credit_card_exp_date:::{$credit_card_exp_date}
89 {/if}
90 {if !empty($selectPremium)}
91 selectPremium:::{$selectPremium}
92 product_name:::{$product_name}
93 option:::{$option}
94 sku:::{$sku}
95 {/if}
96 {if !empty($start_date)}
97 start_date:::{$start_date}
98 end_date:::{$end_date}
99 {/if}
100 {if !empty($is_deductible)}
101 is_deductible:::{$is_deductible}
102 {/if}
103 {if !empty($contact_email)}
104 contact_email:::{$contact_email}
105 {/if}
106 {if !empty($contact_phone)}
107 contact_phone:::{$contact_phone}
108 {/if}
109 {if !empty($price)}
110 price:::{$price}
111 {/if}
112 {if !empty($customPre_grouptitle)}
113 customPre_grouptitle:::{$customPre_grouptitle}
114 {/if}
115 {if !empty($customPost_grouptitle)}
116 customPost_grouptitle:::{$customPost_grouptitle}
117 {/if}
118 contributionStatus:::{$contributionStatus}
119 {if !empty($lineItem)}
120 {foreach from=$lineItem item=value key=priceset}
121 {foreach from=$value item=line}
122 line.html_type:::{$line.html_type}
123 line.label:::{$line.label}
124 line.field_title:::{$line.field_title}
125 line.description:::{$line.description}
126 line.qty:::{$line.qty}
127 line.unit_price:::{$line.unit_price}
128 {if !empty($line.tax_rate)}
129 line.tax_rate:::{$line.tax_rate}
130 line.tax_amount:::{$line.tax_amount}
131 {/if}
132 line.line_total:::{$line.line_total}
133 {/foreach}
134 {/foreach}
135 {/if}
136 {if !empty($dataArray)}
137 {foreach from=$dataArray item=value key=priceset}
138 dataArray: priceset:::$priceset
139 dataArray: value:::$value
140 {/foreach}
141 {/if}
142 {if !empty($honoreeProfile)}
143 {foreach from=$honoreeProfile item=value key=label}
144 honoreeProfile: label:::$label
145 honoreeProfile: value:::$value
146 {/foreach}
147 {/if}
148 {if !empty($softCreditTypes)}
149 {foreach from=$softCreditTypes item=softCreditType key=n}
150 softCreditType:::$softCreditType
151 {foreach from=$softCredits.$n item=value key=label}
152 softCredits: label:::$label
153 softCredits: value:::$value
154 {/foreach}
155 {/foreach}
156 {/if}
157 {if !empty($onBehalfProfile)}
158 {foreach from=$onBehalfProfile item=onBehalfValue key=onBehalfName}
159 onBehalfName:::$onBehalfName
160 onBehalfValue:::$onBehalfValue
161 {/foreach}
162 {/if}
163 {if !empty($customPre)}
164 {foreach from=$customPre item=customValue key=customName}
165 customPre: customName:::$customName
166 customPre: customValue:::$customValue
167 {/foreach}
168 {/if}
169 {if !empty($customPost)}
170 {foreach from=$customPost item=customValue key=customName}
171 customPost: customName:::$customName
172 customPost: customValue:::$customValue
173 {/foreach}
174 {/if}
175 {if !empty($trackingFields)}
176 {foreach from=$trackingFields item=trackingValue key=trackingName}
177 trackingName:::$trackingName
178 trackingValue:::$trackingValue
179 {/foreach}
180 {/if}
181
182 </body>
183 </html>