debug booking_confirm_page
This commit is contained in:
@@ -33,6 +33,8 @@ function booking_confirm_page() {
|
||||
if ($person) {
|
||||
//load all the fields
|
||||
$node = node_load($person->nid);
|
||||
watchdog('booking_debug', 'booking_confirm_page node: <pre>@info</pre>', array('@info' => print_r( $node, true)));
|
||||
|
||||
//maximum length for invoice id is 127 characters
|
||||
$invoiceid = $person->nid . '_' . $node->booking_eventid . '_' . $node->booking_lastname . '-' . $node->booking_firstname;
|
||||
$invoiceid = substr($invoiceid, 0, 126);
|
||||
|
Reference in New Issue
Block a user