Skip to content

Commit

Permalink
Update patient.inc.php to add fax number to the first page of the rep…
Browse files Browse the repository at this point in the history
…ort (openemr#7878)

* Update patient.inc.php

* Update patient.inc.php
  • Loading branch information
moussa854 authored Feb 4, 2025
1 parent 539898e commit 4d0df0f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion library/patient.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,11 @@ function genFacilityTitle($repname = '', $facid = 0, $logo = "")
}

if (preg_match('/[1-9]/', ($r['phone'] ?? ''))) {
$s .= "<br />" . text($r['phone']) . "\n";
$s .= "<br />Phone: " . text($r['phone']) . "\n";
}

if (preg_match('/[1-9]/', ($r['fax'] ?? ''))) {
$s .= "<br />Fax: " . text($r['fax']) . "\n";
}
}

Expand Down

0 comments on commit 4d0df0f

Please sign in to comment.