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