Skip to content

Commit

Permalink
added a couple of fitness attributes for sports teams
Browse files Browse the repository at this point in the history
  • Loading branch information
sunsetsystems committed Sep 12, 2006
1 parent 326a485 commit f737168
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 3 additions & 1 deletion interface/patient_file/summary/demographics.php
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ function imdeleted() {
// 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) {
Expand All @@ -206,6 +206,8 @@ function imdeleted() {
<option value='3'<? if ($fitness == 3) echo ' selected' ?>><? xl('Restricted Training','e'); ?></option>
<option value='4'<? if ($fitness == 4) echo ' selected' ?>><? xl('Injured Out','e'); ?></option>
<option value='5'<? if ($fitness == 5) echo ' selected' ?>><? xl('Rehabilitation','e'); ?></option>
<option value='6'<? if ($fitness == 6) echo ' selected' ?>><? xl('Illness','e'); ?></option>
<option value='7'<? if ($fitness == 7) echo ' selected' ?>><? xl('International Duty','e'); ?></option>
</select>
</form>
<? } ?>
Expand Down
6 changes: 4 additions & 2 deletions interface/reports/players_report.php
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit f737168

Please sign in to comment.