I'm guessing that this might take care of it:
In the po.php payment module, around line 98, you have the before_process() function. Try inserting this line, as shown:
Code:
function before_process() {
$this->email_footer = sprintf($this->email_footer, $_POST['account_name'], $_POST['account_number'], $_POST['po_number']);
return false;
}
And then make sure your order.php class file has these two lines set back to the defaults, like this:
Code:
$email_order .= ($GLOBALS[$payment_class]->email_footer) ? $GLOBALS[$payment_class]->email_footer . "\n\n" : '';
and this:
Code:
$html_msg['PAYMENT_METHOD_FOOTER'] = (is_object($GLOBALS[$_SESSION['payment']]) && $GLOBALS[$payment_class]->email_footer != '') ? nl2br($GLOBALS[$payment_class]->email_footer) : $this->info['cc_type'];
I also suggest that you convert the <br> tags in your language file to \n carriage returns so that your text-only emails show up properly:
Code:
define('MODULE_PAYMENT_PO_TEXT_EMAIL_FOOTER', 'with the following information: ' . "\n" . ' Account name: %s ' . "\n" . ' Account number: %s' . "\n" . ' PO Number: %s' . "\n");