SimpleInvoices Group Forum › Forums › Fearless359 SimpleInvoices Discussion Group › Pre-populate the email notes field › Reply To: Pre-populate the email notes field
January 17, 2020 at 9:25 am
#757
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, 7 months ago by
topsquirrel. Reason: code section got cut up by quotes
Recent Comments