debug booking_confirm_page
This commit is contained in:
@@ -32,7 +32,9 @@ function booking_confirm_page() {
|
|||||||
|
|
||||||
if ($person) {
|
if ($person) {
|
||||||
//load all the fields
|
//load all the fields
|
||||||
$node = node_load($person->nid);
|
$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
|
//maximum length for invoice id is 127 characters
|
||||||
$invoiceid = $person->nid . '_' . $node->booking_eventid . '_' . $node->booking_lastname . '-' . $node->booking_firstname;
|
$invoiceid = $person->nid . '_' . $node->booking_eventid . '_' . $node->booking_lastname . '-' . $node->booking_firstname;
|
||||||
$invoiceid = substr($invoiceid, 0, 126);
|
$invoiceid = substr($invoiceid, 0, 126);
|
||||||
|
Reference in New Issue
Block a user