Add custom counts to admin page

This commit is contained in:
2014-05-14 19:06:42 +10:00
parent 6e2354efe6
commit c07605ab73
5 changed files with 20 additions and 8 deletions

View File

@@ -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;
}