add debug
This commit is contained in:
@@ -625,9 +625,11 @@ function booking_varietysessions_csv_report($timeslot_id) {
|
||||
$rows[] = $output;
|
||||
//$row = implode($delimiter, $output) . "\n";
|
||||
//$csv .= $row;
|
||||
|
||||
}
|
||||
|
||||
watchdog('booking_debug', "<pre>Variety session spreadsheet rows\n@info</pre>",
|
||||
array('@info' => print_r( $rows, true)));
|
||||
|
||||
// Create headers for Excel spreadsheet
|
||||
$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).'"');
|
||||
|
Reference in New Issue
Block a user