7 * @link http://www.open-emr.org
8 * @author Brady Miller <brady.g.miller@gmail.com>
9 * @copyright Copyright (c) 2019 Brady Miller <brady.g.miller@gmail.com>
10 * @license https://github.com/openemr/openemr/blob/master/LICENSE GNU General Public License 3
14 require_once(dirname(__FILE__
) . '/../../globals.php');
15 require_once($GLOBALS["srcdir"] . "/api.inc.php");
17 function fee_sheet_report($pid, $encounter, $cols, $id)
20 $data = formFetch("form_fee_sheet", $id);
23 foreach ($data as $key => $value) {
24 if ($key == "id" ||
$key == "pid" ||
$key == "user" ||
$key == "groupname" ||
$key == "authorized" ||
$key == "activity" ||
$key == "date" ||
$value == "" ||
$value == "0000-00-00 00:00:00") {
32 $key = ucwords(str_replace("_", " ", $key));
33 print "<td><span class='bold'>" . attr($key) . ": </span><span class='text'>" . text($value) . "</span></td>";
35 if ($count == $cols) {
42 print "</tr></table>";