diff --git a/src/modules/Invoice/html_client/mod_invoice_invoice.html.twig b/src/modules/Invoice/html_client/mod_invoice_invoice.html.twig
index da090efea..76c2e6dbd 100644
--- a/src/modules/Invoice/html_client/mod_invoice_invoice.html.twig
+++ b/src/modules/Invoice/html_client/mod_invoice_invoice.html.twig
@@ -35,7 +35,7 @@
{% endif %}
@@ -298,27 +298,27 @@
{% if settings.prompt_subscription %}
if(supportsSubscription && invoiceSubscribable){
- document.getElementById('bodyText').textContent = "{{ 'The invoice you are paying and your chosen payment gateway both support subscription payments. What type of payment would you like to continue with?'|trans }}";
+ document.getElementById('bodyText').textContent = `{{ 'The invoice you are paying and your chosen payment gateway both support subscription payments. What type of payment would you like to continue with?'|trans }}`;
document.getElementById('subscription').hidden = false;
} else if (!invoiceSubscribable) {
- document.getElementById('bodyText').textContent = "{{ 'If you are happy with the selected payment gateway, please use the button below to continue with it.'|trans }}";
+ document.getElementById('bodyText').textContent = `{{ 'If you are happy with the selected payment gateway, please use the button below to continue with it.'|trans }}`;
document.getElementById('subscription').hidden = true;
} else {
if(canAnyGatewayDoSubs){
- document.getElementById('bodyText').textContent = "{{ 'If you are happy with the selected payment gateway, please use the button below to continue with it. Optionally, you may choose a different payment gateway if you wish to pay using a subscription.'|trans }}";
+ document.getElementById('bodyText').textContent = `{{ 'If you are happy with the selected payment gateway, please use the button below to continue with it. Optionally, you may choose a different payment gateway if you wish to pay using a subscription.'|trans }}`;
} else {
- document.getElementById('bodyText').textContent = "{{ 'If you are happy with the selected payment gateway, please use the button below to continue with it.'|trans }}";
+ document.getElementById('bodyText').textContent = `{{ 'If you are happy with the selected payment gateway, please use the button below to continue with it.'|trans }}`;
}
document.getElementById('subscription').hidden = true;
}
{% else %}
- document.getElementById('bodyText').textContent = "{{ 'If you are happy with the selected payment gateway, please use the button below to continue with it.'|trans }}";
+ document.getElementById('bodyText').textContent = `{{ 'If you are happy with the selected payment gateway, please use the button below to continue with it.'|trans }}`;
document.getElementById('subscription').hidden = true;
document.getElementById('single').hidden = true;
document.getElementById('pay-nondescript').hidden = false;
{% endif %}
- document.getElementById('paymentPromptLabel').textContent = "{{ 'Pay with'|trans }}".concat(" ", title);
+ document.getElementById('paymentPromptLabel').textContent = `{{ 'Pay with'|trans }}`.concat(` `, title);
document.getElementById('subscription').href = paymentLink;
document.getElementById('pay-nondescript').href = paymentLink;
paymentLink.searchParams.append('allow_subscription', 0);