Focus the search term on load
[openemr.git] / interface / billing / billing_report_xml.php
blobf00a8a1b86327eda7f514f25254d20cbfad6ef2c
1 <?php
2 include_once("../globals.php");
3 include_once("$srcdir/upload.inc");
5 include_once("$srcdir/patient.inc");
6 include_once("$srcdir/billrep.inc");
7 include_once("$srcdir/log.inc");
10 //global variables:
11 if (!isset($_POST["mode"])) {
12 if (!isset($_POST["from_date"])) {
13 $from_date=date("Y-m-d");
14 } else {
15 $from_date = $_POST["from_date"];
17 if (!isset($_POST["to_date"])) {
18 $to_date = date("Y-m-d");
19 } else {
20 $to_date = $_POST["to_date"];
22 if (!isset($_POST["code_type"])) {
23 $code_type="all";
24 } else {
25 $code_type = $_POST["code_type"];
27 if (!isset($_POST["unbilled"])) {
28 $unbilled = "on";
29 } else {
30 $unbilled = $_POST["unbilled"];
32 if (!isset($_POST["authorized"])) {
33 $my_authorized = "on";
34 } else {
35 $my_authorized = $_POST["authorized"];
37 } else {
38 $from_date = $_POST["from_date"];
39 $to_date = $_POST["to_date"];
40 $code_type = $_POST["code_type"];
41 $unbilled = $_POST["unbilled"];
42 $my_authorized = $_POST["authorized"];
48 <html>
49 <head>
50 <?php html_header_show();?>
53 <link rel="stylesheet" href="<?php echo $css_header;?>" type="text/css">
55 </head>
56 <body class="body_top">
59 <?php
60 if ($userauthorized) {
62 <a href="../main/main.php" target=Main><font class=title><?php xl('Billing Report','e')?></font><font class=more><?php echo $tback;?></font></a>
63 <?php } else {?>
64 <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>
65 <?php
68 <br>
69 <?php xl('No billing system is currently active','e')?><br />
71 <?php
73 print_r($_POST);
76 </body>
77 </html>