From 02dd19a477da84865f01996192fac0dd3e4be3c2 Mon Sep 17 00:00:00 2001 From: jacob Date: Thu, 5 Apr 2012 15:42:30 +0000 Subject: [PATCH] Added emergency contact e-mail as a usable report field. --- admin/reports_students.inc.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/admin/reports_students.inc.php b/admin/reports_students.inc.php index da0f362..da92141 100644 --- a/admin/reports_students.inc.php +++ b/admin/reports_students.inc.php @@ -755,6 +755,13 @@ $report_students_fields = array( 'table' => "CONCAT(emergencycontact.phone1, ' ', emergencycontact.phone2, ' ', emergencycontact.phone3, ' ', emergencycontact.phone4)", 'components' => array('emergencycontacts')), + 'emerg_email' => array( + 'name' => 'Emergency Contact -- Email', + 'header' => 'Email', + 'width' => 1, + 'table' => "emergencycontact.email", + 'components' => array('emergencycontacts')), + /* Tour Information */ 'tour_assign_name' => array( 'start_option_group' => 'Tour Information',