Fix tshirt entry in email summary
This commit is contained in:
@@ -62,6 +62,7 @@
|
||||
global $event;
|
||||
global $user;
|
||||
$language = user_preferred_language($user);
|
||||
$tokens = booking_define_personspecific_tokens($node);
|
||||
|
||||
watchdog('booking', 'Sending notification email to !first !last', array('!first' => $node->booking_firstname, '!last' => $node->booking_lastname));
|
||||
|
||||
@@ -78,7 +79,9 @@
|
||||
else
|
||||
$params['subject'] = t('New Registration: !first !last', array('!first' => $node->booking_firstname, '!last' => $node->booking_lastname));
|
||||
|
||||
$params['body'] = _booking_details_email_summary($node);
|
||||
//$params['body'] = _booking_details_email_summary($node);
|
||||
$params['body'] = token_replace(variable_get('booking_email_notification_text'), $tokens);
|
||||
|
||||
drupal_mail('booking', 'registration_mail_notify', $to, $language, $params, $from);
|
||||
}
|
||||
|
||||
@@ -161,7 +164,7 @@ function _booking_balance_payment_email($nid)
|
||||
|
||||
//send the email
|
||||
drupal_mail('booking', 'registration_mail_bal_outstanding', $to, $language, $params, $from);
|
||||
$params['headers']['Bcc'] = "it@coadcorp.com";
|
||||
//$params['headers']['Bcc'] = "it@coadcorp.com";
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -201,7 +204,7 @@ function _booking_partialbalance_payment_email($nid)
|
||||
|
||||
//send the email
|
||||
drupal_mail('booking', 'registration_mail_bal_outstanding', $to, $language, $params, $from);
|
||||
$params['headers']['Bcc'] = "it@coadcorp.com";
|
||||
//$params['headers']['Bcc'] = "it@coadcorp.com";
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user