0
Hello,
is it possible to have a difference between email and pdf format.
If i want to send an invoice by email, i want to write a text like "hello, here is your invoice for xxx...". But i dont want this text on the pdf invoice, you see.
So if i write this text in the template for email, that text show to the pdf format too.
Regards,
Frédéric
is it possible to have a difference between email and pdf format.
If i want to send an invoice by email, i want to write a text like "hello, here is your invoice for xxx...". But i dont want this text on the pdf invoice, you see.
So if i write this text in the template for email, that text show to the pdf format too.
Regards,
Frédéric
Responses (5)
-
Accepted Answer
-
Accepted Answer
1This question has been asked several times by customers, too bad this function still isn't available, not even in the latest version.
I figured it out myself, let me explain what i did so that you don't have to spend any more money fot custom coding.....
Open administrator/com_invoices/models/invoice.php with your favorite editor
scroll to line 960 and add :
$message = JText::_('BODY_FOR_EMAIL_WITH_PDF');
just below:
$styles = "" ;
$message = $styles . $message ;
now save this file to your server.
Go to your joomla adminstration page and go to Exentions -> Language -> Overrides
Create a new override for you language administrator site (not for your website, just administrator)
The language constant should be BODY_FOR_EMAIL_WITH_PDF
The Text should be the text you want to show up in your mail.
Hit Save and close and try to send a pdf by mail, this should do the trick!
Enjoy! -
Accepted Answer
-
Accepted Answer
Your Reply
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »