@robert.down
There was a bug pointed out to me today.
On the past appointments, the comment for the first appointment is shown for all subsequent appointment making it look as though they all have the same comment.
is added (just before line 1840 (current dev code))…
unset($etitle);
}
if (isset($pres) && $res != null) {
When one or more appointments are displayed in the appointments widget and the last appointment displayed has a comment, then this comment will also appear in the first appointment (if present) in the Past Appointment widget.
both this issue and your issue can be fixed by adding the following line…
(that mirrors line 1653 in the Appointment widget code)
$etitle = xl('(Click to view)');
just before line 1831 (current dev code) in…
interface/patient_file/summary/demographics.php
lines 1831-1934 become…
$etitle = xl('(Click to view)');
if ($row['pc_hometext'] != "") {
$etitle = xl('Comments').": ".($row['pc_hometext'])."\r\n".$etitle;
}