Hi,
I edited the e-mail templates components/com_nbill/email_templates/invoice_email_mytheme_attach.php and invoice_email_mytheme.php.
I added some new definitions in email.nl_NL.php which I use in the e-mail templates.
Under Configuration -> Vendors -> Invoice E-mail Template I have selected the "invoice_email_mytheme"
However, when I create a new invoice and want to send it by e-mail the "old" e-mail template shows up. Not with the new definitions.
Any idea what goes wrong.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I added the following definitions in email.nl_NL.php
define("NBILL_EM_URL", "
http://www.some_url.nl/contact");
define("NBILL_EM_AUTO", "Dit bericht is automatisch gegenereerd en derhalve niet persoonlijk ondertekend.");
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I added the following lines in invoice_email_mytheme.php and invoice_email_mytheme_attach.php
<p><?php echo nbf_common::parse_translation($document->default_language, "email", 'NBILL_EM_URL'); ?></p>
<p><?php echo nbf_common::parse_translation($document->default_language, "email", 'NBILL_EM_AUTO'); ?></p>