Hi All,
I’ve just upgraded from SI circa 2011 to the latest version. I’d hacked the code quite a bit previously but trying to do things the right way this time 🙂
I’ve seen I can create a biller signature and that will pre-populate the email notes field when sending an invoice. Ideally I want to do something like this…
`Dear ‘.$customer[‘attention’].”,<br><br>”.$_POST[’email_notes’].”<br><br>Kind regards<br>
<p>etc etc</p>’
I did hack /modules/invoices/email.php and
/modules/statement/email.php
saving the hacked files in
/custom/invoices/email.php and
/custom/statement/email.php
`Change from
$email->setBody($_POST[’email_notes’]);
Change to
$email->setBody(‘
Dear ‘.$customer[‘attention’].’,<br><br>’.$_POST[’email_notes’].'<br><br>Kind regards<br><p>etc etc</p>’);
Note that /custom/… overrides /modules/…
This reply was modified 4 years, 10 months ago by topsquirrel. Reason: code section got cut up by quotes
Author
Posts
Viewing 2 posts - 1 through 2 (of 2 total)
The topic ‘Pre-populate the email notes field’ is closed to new replies.
Recent Comments