Nevermind guys I found the issue. Under the order.php file (\includes\classes\order.php) the account number was nixed for some reason.
Original Code
PHP Code:
$email_order .= ($GLOBALS[$payment_class]->email_footer) ? $GLOBALS[$payment_class]->email_footer . "\n" . "Account: " . $this->info['account_name'] . "\n" . "PO #: " . $this->info['po_number'] . "\n\n" : '';
PHP Code:
if ($GLOBALS[$payment_class]->title == 'Purchase Order') {
$html_msg['PAYMENT_METHOD_FOOTER'] = (is_object($GLOBALS[$_SESSION['payment']]) ? $GLOBALS[$payment_class]->email_footer . "<br>" . "Account: " . $this->info['account_name'] . "<br>" . "PO #: " . $this->info['po_number'] : '');
My code
PHP Code:
$email_order .= ($GLOBALS[$payment_class]->email_footer) ? $GLOBALS[$payment_class]->email_footer . "\n" . "Company Name: " . $this->info['account_name'] . "\n" . "Account Number: " . $this->info['account_number'] . "\n" . "PO #: " . $this->info['po_number'] . "\n\n" : '';
PHP Code:
if ($GLOBALS[$payment_class]->title == 'Purchase Order') {
$html_msg['PAYMENT_METHOD_FOOTER'] = (is_object($GLOBALS[$_SESSION['payment']]) ? $GLOBALS[$payment_class]->email_footer . "<br>" . "Company Name: " . $this->info['account_name'] . "<br>" . "Account Number: ". $this->info['account_number'] . "<br>" . "PO #: " . $this->info['po_number'] : '');
I changed the "Account:" to "Company Name:" because it makes more sense for me. I also changed it under the defining PHP files so it would make more sense for our clients.
I can't believe I didn't see it two hours ago when I went over the damn code. Thanks anyway guys!
Bookmarks