add age to studygroup CSV report
This commit is contained in:
@@ -50,7 +50,7 @@ function booking_studygroups_csv_report($group_id) {
|
||||
$data[$member->booking_session_id] = array();
|
||||
}
|
||||
// lookup the name and role for this entry in the study group session
|
||||
$text = array($member->booking_firstname, $member->booking_lastname);
|
||||
$text = array($member->booking_firstname, $member->booking_lastname, '[' . _booking_get_age_years($member->booking_dob) .']');
|
||||
//add their role if they're leading/helping etc
|
||||
if ($member->booking_studygroup_role > 0) {
|
||||
array_push($text, '(' . _booking_studygroup_role_lookup($member->booking_studygroup_role) . ')');
|
||||
|
Reference in New Issue
Block a user