mirror of
https://github.com/bitwarden/server
synced 2025-12-30 07:03:42 +00:00
* changes to implement the email * Refactoring and fix the unit testing * refactor the code and remove used method * Fix the failing test * Update the email templates * remove the extra space here * Refactor the descriptions * Fix the wrong subject header * Add the in the hyperlink rather than just Help center
41 lines
1.5 KiB
Handlebars
41 lines
1.5 KiB
Handlebars
{{#>BasicTextLayout}}
|
|
{{#if (eq CollectionMethod "send_invoice")}}
|
|
Your subscription will renew soon
|
|
|
|
On {{date DueDate 'MMMM dd, yyyy'}} we'll send you an invoice with a summary of the charges including tax.
|
|
{{else}}
|
|
Your subscription will renew on {{date DueDate 'MMMM dd, yyyy'}}
|
|
|
|
{{#if HasPaymentMethod}}
|
|
To avoid any interruption in service, please ensure your {{PaymentMethodDescription}} can be charged for the following amount:
|
|
{{else}}
|
|
To avoid any interruption in service, please add a payment method that can be charged for the following amount:
|
|
{{/if}}
|
|
|
|
{{usd AmountDue}}
|
|
{{/if}}
|
|
{{#if Items}}
|
|
{{#unless (eq CollectionMethod "send_invoice")}}
|
|
|
|
Summary Of Charges
|
|
------------------
|
|
{{#each Items}}
|
|
{{this}}
|
|
{{/each}}
|
|
{{/unless}}
|
|
{{/if}}
|
|
|
|
{{#if (eq CollectionMethod "send_invoice")}}
|
|
To avoid any interruption in service for you or your clients, please pay the invoice by the due date, or contact Bitwarden Customer Support to sign up for auto-pay.
|
|
|
|
Contact Bitwarden Support: {{{ContactUrl}}}
|
|
|
|
For assistance managing your subscription, please visit the **Help center** (https://bitwarden.com/help/update-billing-info) or **contact Bitwarden Customer Support** (https://bitwarden.com/contact/).
|
|
{{else}}
|
|
|
|
{{/if}}
|
|
|
|
{{#unless (eq CollectionMethod "send_invoice")}}
|
|
For assistance managing your subscription, please visit the **Help center** (https://bitwarden.com/help/update-billing-info) or **contact Bitwarden Customer Support** (https://bitwarden.com/contact/).
|
|
{{/unless}}
|
|
{{/BasicTextLayout}} |