Merge pull request #21744 from civicrm/5.42
[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 isset($amount_level)}
18 amount_level:::{$amount_level}
19 {/if}
20 {if isset($pay_later_receipt)}
21 pay_later_receipt:::{$pay_later_receipt}
22 {/if}
23 {if isset($headerstyle)}
24 headerStyle:::{$headerStyle}
25 {/if}
26 {if isset($valueStyle)}
27 valueStyle:::{$valueStyle}
28 {/if}
29 {if isset($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 isset($is_monetary)}
42 is_monetary:::{$is_monetary}
43 {/if}
44 {if isset($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 isset($is_recur)}
52 is_recur:::{$is_recur}
53 {/if}
54 {if isset($trxn_id)}
55 trxn_id:::{$trxn_id}
56 {/if}
57 {if isset($cancelSubscriptionUrl)}
58 cancelSubscriptionUrl:::{$cancelSubscriptionUrl}
59 updateSubscriptionBillingUrl:::{$updateSubscriptionBillingUrl}
60 updateSubscriptionUrl:::{$updateSubscriptionUrl}
61 {/if}
62 {if isset($priceset)}
63 priceset:::{$priceset}
64 {/if}
65 {if isset($taxTerm)}
66 taxTerm:::{$taxTerm}
67 {/if}
68 {if !empty($pcpBlock)}
69 pcpBlock:::{$pcpBlock}
70 pcp_display_in_roll:::{$pcp_display_in_roll}
71 pcp_roll_nickname:::{$pcp_roll_nickname}
72 pcp_personal_note:::{$pcp_personal_note}
73 {/if}
74 {if isset($onBehalfProfile_grouptitle)}
75 onBehalfProfile_grouptitle:::{$onBehalfProfile_grouptitle}
76 {/if}
77 email:::{$email}
78 {if isset($contributionPageId)}
79 contributionPageId:::{$contributionPageId}
80 title:::{$title}
81 {/if}
82 {if isset($isBillingAddressRequiredForPayLater)}
83 isBillingAddressRequiredForPayLater:::{$isBillingAddressRequiredForPayLater}
84 {/if}
85 {if isset($billingName)}
86 billingName:::{$billingName}
87 address:::{$address}
88 {/if}
89 {if isset($credit_card_type)}
90 credit_card_type:::{$credit_card_type}
91 credit_card_number:::{$credit_card_number}
92 credit_card_exp_date:::{$credit_card_exp_date}
93 {/if}
94 {if isset($selectPremium)}
95 selectPremium:::{$selectPremium}
96 product_name:::{$product_name}
97 option:::{$option}
98 sku:::{$sku}
99 {/if}
100 {if isset($start_date)}
101 start_date:::{$start_date}
102 end_date:::{$end_date}
103 {/if}
104 {if isset($is_deductible)}
105 is_deductible:::{$is_deductible}
106 {/if}
107 {if isset($contact_email)}
108 contact_email:::{$contact_email}
109 {/if}
110 {if isset($contact_phone)}
111 contact_phone:::{$contact_phone}
112 {/if}
113 {if isset($price)}
114 price:::{$price}
115 {/if}
116 {if isset($customPre_grouptitle)}
117 customPre_grouptitle:::{$customPre_grouptitle}
118 {/if}
119 {if isset($customPost_grouptitle)}
120 customPost_grouptitle:::{$customPost_grouptitle}
121 {/if}
122 contributionStatus:::{$contributionStatus}
123 {if isset($lineItem)}
124 {foreach from=$lineItem item=value key=priceset}
125 {foreach from=$value item=line}
126 line.html_type:::{$line.html_type}
127 line.label:::{$line.label}
128 line.field_title:::{$line.field_title}
129 line.description:::{$line.description}
130 line.qty:::{$line.qty}
131 line.unit_price:::{$line.unit_price}
132 {if isset($line.tax_rate)}
133 line.tax_rate:::{$line.tax_rate}
134 line.tax_amount:::{$line.tax_amount}
135 {/if}
136 line.line_total:::{$line.line_total}
137 {/foreach}
138 {/foreach}
139 {/if}
140 {if !empty($dataArray)}
141 {foreach from=$dataArray item=value key=priceset}
142 dataArray: priceset:::$priceset
143 dataArray: value:::$value
144 {/foreach}
145 {/if}
146 {if !empty($honoreeProfile)}
147 {foreach from=$honoreeProfile item=value key=label}
148 honoreeProfile: label:::$label
149 honoreeProfile: value:::$value
150 {/foreach}
151 {/if}
152 {if !empty($softCreditTypes)}
153 {foreach from=$softCreditTypes item=softCreditType key=n}
154 softCreditType:::$softCreditType
155 {foreach from=$softCredits.$n item=value key=label}
156 softCredits: label:::$label
157 softCredits: value:::$value
158 {/foreach}
159 {/foreach}
160 {/if}
161 {if !empty($onBehalfProfile)}
162 {foreach from=$onBehalfProfile item=onBehalfValue key=onBehalfName}
163 onBehalfName:::$onBehalfName
164 onBehalfValue:::$onBehalfValue
165 {/foreach}
166 {/if}
167 {if !empty($customPre)}
168 {foreach from=$customPre item=customValue key=customName}
169 customPre: customName:::$customName
170 customPre: customValue:::$customValue
171 {/foreach}
172 {/if}
173 {if !empty($customPost)}
174 {foreach from=$customPost item=customValue key=customName}
175 customPost: customName:::$customName
176 customPost: customValue:::$customValue
177 {/foreach}
178 {/if}
179 {if !empty($trackingFields)}
180 {foreach from=$trackingFields item=trackingValue key=trackingName}
181 trackingName:::$trackingName
182 trackingValue:::$trackingValue
183 {/foreach}
184 {/if}
185
186 </body>
187 </html>