rename booking_event_id in booking_person table

This commit is contained in:
2016-05-03 22:49:45 +10:00
parent 80cd8d157a
commit 3ce77ebea6
14 changed files with 51 additions and 43 deletions

View File

@@ -35,7 +35,7 @@ function booking_confirm_page() {
//load all the fields
$node = node_load($person->nid);
//maximum length for invoice id is 127 characters
$invoiceid = $person->nid . '_' . $node->booking_event_id . '_' . $node->booking_lastname . '-' . $node->booking_firstname;
$invoiceid = $person->nid . '_' . $node->booking_eventid . '_' . $node->booking_lastname . '-' . $node->booking_firstname;
$invoiceid = substr($invoiceid, 0, 126);
} else {
drupal_set_message("Unable to find matching session ID " . arg(1), 'error', FALSE);