Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
3948 Näkymät

Adapt Invoice Due Date Format to DD/MM/YYYY instead of YYYY/DD/MM in Email Templates



Avatar
Hylkää
Tekijä Paras vastaus

If you want to add the invoice due date in your email template, you will need to generate and use dynamic placeholders.

First, make sure the developer mode is active. Then, search for your email templates in Settings / Technical / Email / Templates, and open the template you wish to adapt (in my case Invoice: Send by Email)



Generate your due date placeholder and copy/paste it in your email body.



Though your date format settings are set up properly in your language settings, you see that the standard format for this placeholder is YYYY-MM-DD.

In order to use the DD-MM-YYYY format, you will need to use the following placeholder: ${object.invoice_date_due.strftime('%d/%m/%Y')}



Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
1
heinäk. 21
3015
1
lokak. 22
4724
1
huhtik. 24
1990
2
jouluk. 23
2023
3
lokak. 23
8254