Added code to import study group data from CSV files

This commit is contained in:
2016-01-17 22:50:10 +11:00
parent a283320925
commit 7bbdf57238
3 changed files with 252 additions and 14 deletions

View File

@@ -699,13 +699,14 @@ function booking_csv_report() {
if (in_array($key, $fields_to_skip))
continue;
/*
//Replace headings for study group sessions and roles with the name of the study group rather than just sessionN and sessionN_role etc
if (array_key_exists($key, $studygroup_descriptions))
{
$header_array[] = $studygroup_descriptions[$key];
continue;
}
*/
$header_array[] = $key;
//add in a special column for a processed version of the date of birth
if (strcmp($key,"booking_dob") == 0)