From f73716874ff39394ae822f2dc1e9c3a589276f04 Mon Sep 17 00:00:00 2001 From: sunsetsystems Date: Tue, 12 Sep 2006 22:33:10 +0000 Subject: [PATCH] added a couple of fitness attributes for sports teams --- interface/patient_file/summary/demographics.php | 4 +++- interface/reports/players_report.php | 6 ++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/interface/patient_file/summary/demographics.php b/interface/patient_file/summary/demographics.php index d11bf379a..f95b4cc67 100644 --- a/interface/patient_file/summary/demographics.php +++ b/interface/patient_file/summary/demographics.php @@ -187,7 +187,7 @@ echo $result{"postal_code"}?> // This stuff only applies to athletic team use of OpenEMR: if ($GLOBALS['athletic_team']) { // blue dk green yellow red orange - $fitcolors = array('#6677ff', '#00cc00', '#ffff00', '#ff3333', '#ff8800'); + $fitcolors = array('#6677ff', '#00cc00', '#ffff00', '#ff3333', '#ff8800', '#ffeecc', '#ffccaa'); $fitcolor = $fitcolors[0]; $fitness = $_POST['form_fitness']; if ($fitness) { @@ -206,6 +206,8 @@ echo $result{"postal_code"}?> + + diff --git a/interface/reports/players_report.php b/interface/reports/players_report.php index 6c4686798..b2381ae0b 100644 --- a/interface/reports/players_report.php +++ b/interface/reports/players_report.php @@ -21,10 +21,12 @@ 'Full Training', 'Restricted Training', 'Injured Out', - 'Rehabilitation' + 'Rehabilitation', + 'Illness', + 'International Duty' ); - $fitcolors = array('#6677ff', '#00cc00', '#ffff00', '#ff3333', '#ff8800'); + $fitcolors = array('#6677ff', '#00cc00', '#ffff00', '#ff3333', '#ff8800', '#ffeecc', '#ffccaa'); $alertmsg = ''; // not used yet but maybe later -- 2.11.4.GIT