Numerous changes. Travel form, CSV report etc
This commit is contained in:
@@ -531,7 +531,11 @@ function booking_token_info() {
|
||||
$info['tokens']['booking']['travel-summary'] = array(
|
||||
'name' => t('Registration Travel Summary'),
|
||||
'description' => t('Summary of travel details from user registration.')
|
||||
);
|
||||
);
|
||||
$info['tokens']['booking']['travel-link'] = array(
|
||||
'name' => t('Travel form Link'),
|
||||
'description' => t('Link to the person\'s travel form.')
|
||||
);
|
||||
return $info;
|
||||
}
|
||||
|
||||
@@ -640,6 +644,7 @@ function booking_define_personspecific_tokens($node)
|
||||
$tokens['payment-transaction-desc'] = $node->nid . ' ' . $node->booking_lastname;
|
||||
$tokens['balance-payment-link'] = url('balance/' . $tempid, array('absolute' => TRUE));
|
||||
$tokens['confirm-payment-link'] = url('confirm/' . $tempid, array('absolute' => TRUE));
|
||||
$tokens['travel-link'] = url('travel/' . $tempid, array('absolute' => TRUE));
|
||||
$tokens['paypal-total-amount'] = _booking_amount_owing($node->nid, $amount_paid);
|
||||
$tokens['paypal-deposit-amount'] = _booking_deposit_amount();
|
||||
$tokens['regn-summary'] = _booking_details_email_summary($node);
|
||||
|
Reference in New Issue
Block a user