forked from openemr/openemr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
billing_report_xml.php
78 lines (63 loc) · 1.57 KB
/
billing_report_xml.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<?php
include_once("../globals.php");
include_once("$srcdir/upload.inc");
include_once("$srcdir/patient.inc");
include_once("$srcdir/billrep.inc");
include_once("$srcdir/log.inc");
//global variables:
if (!isset($_POST["mode"])) {
if (!isset($_POST["from_date"])) {
$from_date=date("Y-m-d");
} else {
$from_date = $_POST["from_date"];
}
if (!isset($_POST["to_date"])) {
$to_date = date("Y-m-d");
} else {
$to_date = $_POST["to_date"];
}
if (!isset($_POST["code_type"])) {
$code_type="all";
} else {
$code_type = $_POST["code_type"];
}
if (!isset($_POST["unbilled"])) {
$unbilled = "on";
} else {
$unbilled = $_POST["unbilled"];
}
if (!isset($_POST["authorized"])) {
$my_authorized = "on";
} else {
$my_authorized = $_POST["authorized"];
}
} else {
$from_date = $_POST["from_date"];
$to_date = $_POST["to_date"];
$code_type = $_POST["code_type"];
$unbilled = $_POST["unbilled"];
$my_authorized = $_POST["authorized"];
}
?>
<html>
<head>
<?php html_header_show();?>
<link rel="stylesheet" href="<?php echo $css_header;?>" type="text/css">
</head>
<body class="body_top">
<?php
if ($userauthorized) {
?>
<a href="../main/main.php" target=Main><font class=title><?php xl('Billing Report','e')?></font><font class=more><?php echo $tback;?></font></a>
<?php } else {?>
<a href="../main/onotes/office_comments.php" target=Main><font class=title><?php xl('Billing Report','e')?></font><font class=more><?php echo $tback;?></font></a>
<?php
}
?>
<br>
<?php xl('No billing system is currently active','e')?><br />
<?php
print_r($_POST);
?>
</body>
</html>