Using nBill 2.0, haven't had time to upgrade to 2.1.1.
I would like to change my custom e-mailtemplate so that the following text appear in the mail:
"You can see all of your invoices online by logging in at %s (your username is %s). If you no longer wish to receive your invoices by e-mail, simply log in and click on `My Profile` in the `My Account` area to set your preferences."
(now this is the text: You can see all of your invoices online by logging in at %s. If you no longer wish to receive your invoices by e-mail, simply log in and click on `My Profile` in the `My Account` area to set your preferences)
I have to change the code in invoice_email_custom_attach.php from:
<p><?php echo sprintf(NBILL_EM_NEW_INVOICE_PAR_2, nbf_cms::$interop->live_site); ?></p>
to something like
<p><?php echo sprintf(NBILL_EM_NEW_INVOICE_PAR_2_USERNAME, nbf_cms::$interop->live_site, $username); ?></p>
But that doesn't make the username appear. I guess I have to do something more with the code, but what?