Merge pull request #22888 from civicrm/5.47
[civicrm-core.git] / tests / templates / message_templates / event_online_receipt_text.tpl
1 {assign var="greeting" value="{contact.email_greeting}"}{if $greeting}{$greeting},{/if}
2
3 contactID:::{$contactID}
4 {if !empty($event.confirm_email_text)}
5 event.confirm_email_text:::{$event.confirm_email_text}
6 {/if}
7 {if isset($isOnWaitlist)}
8 isOnWaitlist:::{$isOnWaitlist}
9 {/if}
10 {if isset($isRequireApproval)}
11 isRequireApproval:::{$isRequireApproval}
12 {/if}
13 participant_status:::{$participant_status}
14 {if isset($pricesetFieldsCount)}
15 pricesetFieldsCount:::{$pricesetFieldsCount}
16 {/if}
17 {if !empty($isPrimary)}
18 isPrimary:::{$isPrimary}
19 {/if}
20 {if isset($conference_sessions)}
21 conference_sessions:::{$conference_sessions}
22 {/if}
23 {if isset($is_pay_later)}
24 is_pay_later:::{$is_pay_later}
25 {/if}
26 {if isset($isAmountzero)}
27 isAmountzero:::{$isAmountzero}
28 {/if}
29 {if isset($isAdditionalParticipant)}
30 isAdditionalParticipant:::{$isAdditionalParticipant}
31 {/if}
32 {if isset($pay_later_receipt)}
33 pay_later_receipt:::{$pay_later_receipt}
34 {/if}
35 event.event_title:::{$event.event_title}
36 event.event_start_date:::{$event.event_start_date|date_format:"%A"}
37 event.event_end_date:::{$event.event_end_date|date_format:"%Y%m%d"}
38 {if isset($event.is_monetary)}
39 event.is_monetary:::{$event.is_monetary}
40 {/if}
41 {if !empty($event.fee_label)}
42 event.fee_label:::{$event.fee_label}
43 {/if}
44 {if !empty($conference_sessions)}
45 conference_sessions:::{$conference_sessions}
46 {/if}
47 {if !empty($event.participant_role)}
48 event.participant_role::{$event.participant_role}
49 defaultRole:::{$defaultRole}
50 {/if}
51 {if !empty($isShowLocation)}
52 isShowLocation:::{$isShowLocation}
53 location.address.1.display:::{$location.address.1.display}
54 location.phone.1.phone:::{$location.phone.1.phone}
55 location.phone.1.phone_type_display:::{$location.phone.1.phone_type_display}
56 location.phone.1.phone_ext:::{$location.phone.1.phone_ext}
57 location.email.1.email:::{$location.email.1.email}
58 {/if}
59 {if !empty($event.is_public)}
60 event.is_public:::{$event.is_public}
61 {/if}
62 {if !empty($payer.name)}
63 payer.name:::{$payer.name}
64 {/if}
65 lineitem:::{if !empty($lineItem)}
66 {foreach from=$lineItem item=value key=priceset}
67 {foreach from=$value item=line}
68 line.html_type:::{$line.html_type}
69 line.label:::{$line.label}
70 line.field_title:::{$line.field_title}
71 line.description:::{$line.description}
72 line.qty:::{$line.qty}
73 line.unit_price:::{$line.unit_price}
74 {if isset($line.tax_rate)}
75 line.tax_rate:::{$line.tax_rate}
76 line.tax_amount:::{$line.tax_amount}
77 {/if}
78 line.line_total:::{$line.line_total}
79 {/foreach}
80 {/foreach}
81 {/if}
82
83 {if !empty($part)}
84 part:::{foreach from=$part item=value key=key}
85 {$key}{$value}
86 {/foreach}
87 {/if}
88
89 {if !empty($dataArray)}
90 dataArray:::{$dataArray}
91 {/if}
92
93 {if isset($totalTaxAmount)}
94 totalTaxAmount:::{$totalTaxAmount}
95 {/if}
96 {if !empty($amounts)}
97 {foreach from=$amounts item=amountValue key=amountKey}
98 amounts:::$amountKey $amountValue
99 {/foreach}
100 {/if}
101 register_date:::{$register_date|crmDate}
102 {if !empty($receive_date)}
103 receive_date:::{$receive_date|crmDate}
104 {/if}
105 {if !empty($financialTypeName)}
106 financialTypeName:::{$financialTypeName}
107 {/if}
108 {if !empty($trxn_id)}
109 trxn_id:::{$trxn_id}
110 {/if}
111 {if !empty($paidBy)}
112 paidBy:::{$paidBy}
113 {/if}
114 {if isset($checkNumber)}
115 checkNumber:::{$checkNumber}
116 {/if}
117 {if isset($billingName)}
118 billingName:::{$billingName}
119 {/if}
120 {if isset($credit_card_type)}
121 credit_card_type:::{$credit_card_type}
122 credit_card_number:::{$credit_card_number}
123 address:::{$address}
124 credit_card_exp_date:::{$credit_card_exp_date}
125 {/if}
126 {if !empty($customPre)}
127 {foreach from=$customPre item=customValue key=customName}
128 customPre: customName:::$customName
129 customPre: customValue:::$customValue
130 {/foreach}
131 {/if}
132 {if !empty($customPost)}
133 {foreach from=$customPost item=customValue key=customName}
134 customPost: customName:::$customName
135 customPost: customValue:::$customValue
136 {/foreach}
137 {/if}