Skip to content
Snippets Groups Projects

Fix/edit email templates

Merged konykon requested to merge fix/edit-email-templates into dev
@@ -26,7 +26,27 @@
<p>Hello,</p>
<p>Thank you for filling out the form and request to join the Community.</p>
<p>In the coming weeks we will contact you to indicate the next steps</p>
<p>Here is a copy of the data we received:</p>
<div id="field_list_div" style="font-family: 'Lucica Grande', Ubuntu, Arial, Verdana, sans-serif; font-size: 10px; color: rgb(34, 34, 34); background-color: #FFF; ">
<p> - Request to join: ${object.company_id.name}</p>
<p> - Firstname: ${object.firstname}</p>
<p> - Lastname: ${object.lastname}</p>
<p> - VAT: ${object.vat}</p>
<p> - Address: ${object.address}</p>
<p> - Zip code: ${object.zip_code}</p>
<p> - City: ${object.city}</p>
<p> - Country: ${object.country_id.name}</p>
<p> - Email: ${object.email}</p>
<p> - Phone: ${(object.phone or '')}</p>
<p> - Gender: ${dict(object.fields_get(allfields=['gender'])['gender']['selection'])[object.gender]}</p>
<p> - Birthdate: ${object.birthdate}</p>
<p> - Language: ${dict(object.fields_get(allfields=['lang'])['lang']['selection'])[object.lang]}</p>
<p> - Initial share amount: ${object.subscription_amount}</p>
% if object.payment_mode_id.payment_method_id.code == 'sepa_direct_debit':
<p> - Bank account: ${object.iban}</p>
<p> - I authorize bank receipts to be sent to this account: ${object.mandate_approved and 'SI' or 'NO'}</p>
% endif
</div>
<br />
<p>We keep in touch for any questions.</p>
<p>Yours faithfully,</p>
@@ -229,7 +249,30 @@
<p>Hello,</p>
<p>Thank you for filling out the form and request to join the Community.</p>
<p>In the coming weeks we will contact you to indicate the next steps</p>
<p>Here is a copy of the data we received:</p>
<div id="field_list_div" style="font-family: 'Lucica Grande', Ubuntu, Arial, Verdana, sans-serif; font-size: 10px; color: rgb(34, 34, 34); background-color: #FFF; ">
<p> - Request to join: ${object.company_id.name}</p>
<p> - Company Name: ${object.company_name}</p>
<p> - Company Email: ${object.company_email}</p>
<p> - VAT: ${object.vat}</p>
<p> - Address: ${object.address}</p>
<p> - Zip code: ${object.zip_code}</p>
<p> - City: ${object.city}</p>
<p> - Country: ${object.country_id.name}</p>
<p> - Firstname: ${object.firstname}</p>
<p> - Lastname: ${object.lastname}</p>
<p> - Function: ${object.contact_person_function}</p>
<p> - Email: ${object.email}</p>
<p> - Phone: ${(object.phone or '')}</p>
<p> - Gender: ${dict(object.fields_get(allfields=['gender'])['gender']['selection'])[object.gender]}</p>
<p> - Birthdate: ${object.birthdate}</p>
<p> - Language: ${dict(object.fields_get(allfields=['lang'])['lang']['selection'])[object.lang]}</p>
<p> - Initial share amount: ${object.subscription_amount}</p>
% if object.payment_mode_id.payment_method_id.code == 'sepa_direct_debit':
<p> - Bank account: ${object.iban}</p>
<p> - I authorize bank receipts to be sent to this account: ${object.mandate_approved and 'SI' or 'NO'}</p>
% endif
</div>
<br />
<p>We keep in touch for any questions.</p>
<p>Yours faithfully,</p>
Loading