Add travel info to booking node view
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
//load the node matching this id
|
||||
$node = node_load($nid);
|
||||
|
||||
watchdog('booking', 'Sending notification email to !first !last', array('!first' => $node->booking_firstname, '!last' => $node->booking_lastname));
|
||||
watchdog('booking', 'Sending registration email to !first !last', array('!first' => $node->booking_firstname, '!last' => $node->booking_lastname));
|
||||
|
||||
//waiting list has already been calculated, stored in node
|
||||
$waiting_list = $node->booking_status == 2 ? TRUE : FALSE;
|
||||
@@ -62,6 +62,8 @@
|
||||
global $event;
|
||||
global $user;
|
||||
$language = user_preferred_language($user);
|
||||
|
||||
watchdog('booking', 'Sending notification email to !first !last', array('!first' => $node->booking_firstname, '!last' => $node->booking_lastname));
|
||||
|
||||
//calculate the from email address
|
||||
$from = t('!event Registrations <!email>', array('!event' => $event->booking_eventname,
|
||||
|
Reference in New Issue
Block a user