add debug
This commit is contained in:
@@ -624,10 +624,12 @@ function booking_varietysessions_csv_report($timeslot_id) {
|
|||||||
} //loop through columns
|
} //loop through columns
|
||||||
$rows[] = $output;
|
$rows[] = $output;
|
||||||
//$row = implode($delimiter, $output) . "\n";
|
//$row = implode($delimiter, $output) . "\n";
|
||||||
//$csv .= $row;
|
//$csv .= $row;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
watchdog('booking_debug', "<pre>Variety session spreadsheet rows\n@info</pre>",
|
||||||
|
array('@info' => print_r( $rows, true)));
|
||||||
|
|
||||||
// Create headers for Excel spreadsheet
|
// Create headers for Excel spreadsheet
|
||||||
$filename = 'bookings-timeslot-' . $timeslot_id . '-variety-sessions-' . format_date(time(), 'custom', 'Y-m-d-His') . ".xlsx";
|
$filename = 'bookings-timeslot-' . $timeslot_id . '-variety-sessions-' . format_date(time(), 'custom', 'Y-m-d-His') . ".xlsx";
|
||||||
header('Content-disposition: attachment; filename="'.XLSXWriter::sanitize_filename($filename).'"');
|
header('Content-disposition: attachment; filename="'.XLSXWriter::sanitize_filename($filename).'"');
|
||||||
|
Reference in New Issue
Block a user