Add custom counts to admin page
This commit is contained in:
@@ -510,6 +510,8 @@ function booking_csv_report() {
|
||||
|
||||
//each record
|
||||
foreach ($result as $record) {
|
||||
|
||||
//watchdog('booking', "CSV raw data entry: @info", array('@info' => var_export($record, TRUE)));
|
||||
|
||||
$output = array();
|
||||
//each keypair in the record
|
||||
@@ -558,7 +560,7 @@ function booking_csv_report() {
|
||||
$output[] = $value;
|
||||
//this is really hacky since it does another database query for each person
|
||||
//$output[] = _booking_amount_owing($value, 0, FALSE);
|
||||
//$output[] = _booking_amount_owing($value);
|
||||
$output[] = _booking_amount_owing($record);
|
||||
continue;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user