Reply To: Pre-populate the email notes field

#757
topsquirrel
Participant

I’m sorted now.

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